AI Gateway Usage
GET /ai/usage/top-models
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
fromstring
ISO 8601 start time (defaults to 24h ago)
tostring
ISO 8601 end time (defaults to now)
limitinteger
Max results (defaults to 10)
project_idinteger
Filter by project ID (deployment-token usage; instance administrators only)
Response
Top models by request count
Changes
- info
added the required property
items/estimated_cost_microcentsto 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
1 more change in this revision
- breaking