get_usage
Retrieve account usage statistics, including message, call, and webhook volumes. Get a summary or daily/monthly breakdown to track activity over time.
Instructions
Get account usage statistics. By default returns a summary with number usage plus message, call, and webhook volume. Use breakdown='daily' or 'monthly' for time-series data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to look back (only used with breakdown='daily') | |
| months | No | Number of months to look back (only used with breakdown='monthly') | |
| breakdown | No | 'summary' for number usage and totals, 'daily' for per-day breakdown, 'monthly' for per-month breakdown | summary |