Endpoint
Query Parameters
The start of the reporting window in ISO 8601 format (e.g.
2024-04-01). Defaults to 30 days before today.The end of the reporting window in ISO 8601 format (e.g.
2024-04-30). Defaults to today.Filter results to a single model ID (e.g.
llama3.2:3b). When omitted, the response includes usage across all models.Example Request
cURL
Response
The total number of API calls made during the requested period.
The total number of tokens consumed (prompt plus completion) across all requests in the period.
A per-model breakdown of activity. Each entry in the array corresponds to one model that received at least one request during the period.
Example response