AI Gateway Usage
GET /ai/usage/summary
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)
project_idinteger
Filter by project ID (deployment-token usage; instance administrators only)
Response
Usage summary for the time range
Changes
- info
added the required property
priced_requeststo the response with the status
- info
- info
added the required property
unpriced_requeststo the response with the status
- info