Usage Statistics
get_usage_statsRetrieve token usage and costs for today, 7 days, 30 days, or all time to monitor resource 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 |
|---|---|---|---|
| usage | Yes | ||
| period | Yes | ||
| totals | Yes | ||
| endDate | Yes | ||
| startDate | Yes | ||
| costByProvider | No |