usage_endpoints
List per-endpoint usage rows with request and credit totals for the authenticated principal over a selected UTC range. Use usage_overview for the billing snapshot or usage_timeseries for changes over time.
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": "usage_endpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom upper bound (RFC3339) when range=custom. | |
| from | No | Custom lower bound (RFC3339) when range=custom. | |
| limit | No | Maximum endpoints to return (clamps to 100). | |
| range | No | Time range preset: period, day, week, month, or custom. Defaults to the current billing period. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |