Get usage summary
Aggregates billable events over a period and returns one row per dimension. Defaults to the current calendar month (UTC) when neither start nor end is supplied.
Query Parameters
start?|
ISO-8601 start of period. Defaults to start of current calendar month UTC.
end?|
ISO-8601 end of period (exclusive). Defaults to now.
dimension?string
Restrict to a single dimension. Omit to return all dimensions.
Value in
"llm_tokens_input" | "llm_tokens_output" | "stt_seconds" | "tts_characters" | "voice_session_seconds" | "interview_runs" | "analyses" | "evaluations" | "webhook_deliveries" | "api_requests" | "storage_bytes"Response Body
application/json
curl -X GET "https://loading/api/v1/usage"{
"object": "usage_summary",
"period_start": "2019-08-24T14:15:22Z",
"period_end": "2019-08-24T14:15:22Z",
"data": [
{
"dimension": "llm_tokens_input",
"unit": "string",
"quantity": 0,
"provider_cost_micros": 0
}
]
}