Administration
AI Operations

Returns every application-recorded model purpose, status, token count, and estimated gateway cost from the model-call ledger. Model-call rows use bounded offset pagination without changing full-period aggregates. Cost values remain estimates, not provider invoices.

get/api/v1/admin/ai/usage

Query parameters

fromstring date-time
tostring date-time
limitinteger
modelstring
productIdinteger
modelCallsOffsetinteger nullable

Cookies

billing_sessionstring

Response

Model usage and call metadata.

coverage'all_model_calls' | 'primary_agent_turns_only' required
generatedAtstring date-time required
provenance'mixed_gateway_estimate' required

Changes

No recorded changes to this endpoint across all 1 revision of this API.