Skip to Content
Docs

Global usage: time-bucketed series, totals, spend, latency, top users

GET
/api/admin/usage

Every bucket carries both tokens and USD cost. Quota policies have always been settable in dollars; until now nothing showed the spend they were capping.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/admin/usage'
Example Response200
Empty