analytics
Read bounded workspace usage, spend (settledMicros, heldMicros, byKey, byTag), and per-model/route reliability and latency cohorts (p50Ms, p95Ms) over a date window up to 31 days. Read-only (requires read scope).
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": "analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | No | Optional API key ID filter. | |
| since | No | Optional inclusive ISO-8601 UTC start timestamp (default last 7 days, max 31-day window). | |
| until | No | Optional exclusive ISO-8601 UTC end timestamp (default now). | |
| status | No | Optional generation status filter. | |
| modelId | No | Optional exact model ID filter. | |
| project | No | Optional private metadata.project filter. | |
| operation | No | Optional generation operation filter. | |
| providerId | No | Optional serving provider ID filter. | |
| deploymentId | No | Optional regional deployment ID filter. | |
| endpointRegion | No | Optional endpoint region filter. |