Usage
Per-day spend over a trailing window (compute + inference segments)
Display aggregation for the dashboard spend chart. Buckets the org's usage-record cost (clamped per UTC day) and drained inference debits by calendar day, with per-product segments. Read-only: rides the same pricing iterator as settlement and the deploy gate, never re-prices.
Command line
The orl CLI wraps this endpoint:
orl usage daily getAuthorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
In: header
Path Parameters
orgId*string
Query Parameters
days?integer
Range
1 <= value <= 90Default
7Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/usage/daily"{ "daily": [ { "date": "string", "cents": 0, "segments": [ { "key": "string", "cents": 0 } ] } ], "previousCents": 0, "previousSegments": [ { "key": "string", "cents": 0 } ]}