Metering: current UTC-day bucket ({window, as_of, currency, total, by_model, by_key}), raw token split + derived spend_micros
Changed onget/api/v1/admin/usage
Request
- The document declares no server URL.
- Auth: one of:
- API key in header x-admin-token
- HTTP bearer
Query parameters
windowstring
A PAST UTC-day bucket start epoch (default: current bucket). The response is always ONE bucket; spend_micros is a read-time estimate; bill from the raw token split, never store spend_micros as a ledger charge
Response
OK
Changes
- info
api operation id
GetUsagewas added - info
added the non-success response with the status
- info
added the non-success response with the status
- info