Usage Statistics
get_usage_statsRetrieve token counts and usage costs for a chosen time period to monitor API consumption.
Instructions
Get usage statistics for a time period. Shows token counts and costs (when pricing configured).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period for stats | today |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| startDate | Yes | ||
| endDate | Yes | ||
| totals | Yes | ||
| usage | Yes | ||
| costByProvider | No |