usage
Get global usage by date and model
Changed onget/admin/v1/usage/by-date-model
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/usage/by-date-model
- Auth: HTTP bearer
Query parameters
start_datestring nullable
Start date (YYYY-MM-DD)
end_datestring nullable
End date (YYYY-MM-DD)
record_typestring nullable
Hadrian Extension: Filter by record type: "model" (LLM requests) or "tool" (server-side tool invocations). Omit to include both.
Response
Daily usage breakdown by model
Changes
- info
added the new optional
queryrequest parameterrecord_type
- info
- info
endpoint added
- info