/usageLifetime totals across every metered resource, plus a per-bucket request count.
Get Usage Summary
Lifetime totals across every metered resource on this account. Returns request counts, token totals, audio seconds, and a per-resource-type breakdown.Field semantics. total_request_duration_ms is HTTP wall-clock and applies only to synchronous resources (agent_chat, tts, transcription); voice calls are not HTTP requests, so their length appears under total_voice_seconds (agent-active time, captured at end-of-call). total_audio_seconds is the broader sum across every resource type that records audio. by_resource_type is keyed by resource bucket (voice_call, transcription, tts, agent_chat) with per-bucket request counts.Requires the usage:read scope.
Path & Query
1api_key_idstring (uuid)optionalRestrict the figures to usage logged against this one API key. Always scoped to your workspace: a key id belonging to another tenant, or one that does not exist, returns zeros rather than an error.
Errors
2Missing or invalid API key.
Send X-API-Key: '<'api_key'>' with a key that has the usage:read scope.
API key lacks the usage:read scope.
Issue a new key with usage:read (and usage:write if you also need to manage triggers).
