admin
Get usage breakdown by period
GET
Error
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Number of days (default 30)
Start date (YYYY-MM-DD)
End date (YYYY-MM-DD)
Grouping interval: daily, weekly, monthly, yearly (default daily)
Filter by exact model name
Filter by provider name or provider type
Filter by request label (exact match)
Filter by tracked user path subtree
Cache mode filter: uncached, cached, all (default uncached)
Response
OK
Provider prompt-cache split of the period's input, folded per row from raw_data (same source as the summary). Zero when the storage layer does not populate them.
Previous
/admin/usage/labelsReturns per-label token and cost aggregates. Requests carrying
several labels count once per label, so rows overlap and do
not sum to the period totals. Unlabelled requests are omitted.
Next
Error