GET /ai/usage/recent
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Query parameters
Page size (defaults to 20, max 50)
Number of results to skip for pagination (defaults to 0)
Filter by provider name
Filter by model name
Filter by project ID (deployment-token usage; instance administrators only)
Filter by HTTP status code (exact match)
Cost greater-than-or-equal, in microcents
Cost strictly greater-than, in microcents
Cost less-than-or-equal, in microcents
Cost strictly less-than, in microcents
Total tokens greater-than-or-equal
Total tokens strictly greater-than
Total tokens less-than-or-equal
Total tokens strictly less-than
Response
Page of recent usage log entries
Changes
- info
added the required property
entries/items/unpricedto the response with the status
- info
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
- breaking