get_usage_events
Retrieve granular per-request usage events including model, token counts, costs, and chargeable status. Filter by user email and date range to analyze team spending.
Instructions
Get granular per-request usage events with model, token counts, costs, and whether the request was chargeable. Supports filtering by user email and date range.
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_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| No | Filter by user email | ||
| endDate | No | End date as Unix timestamp in milliseconds | |
| pageSize | No | Results per page (default: 500, max: 500) | |
| startDate | No | Start date as Unix timestamp in milliseconds |