Skip to main content
GET
Confirm your deployment before running this request. This page describes an API contract; a published reference does not establish hosted availability. Check the dated host report and obtain your deployment URL and credentials. Replace the example host if your provisioned service uses a different URL.
Daily cost / token / job-count trend. Returns a zero-filled per-day rollup so dashboards can render a sparkline without client-side gap-filling. Always uses UTC calendar days; same-day usage records are aggregated regardless of when in the day they landed.

Query parameters

string
Window length. One of 7d / 30d / 90d.

Response

UsageTrendResponse
string
required
The window queried (‘7d’, ‘30d’, ‘90d’).
string
required
string
required
UsageTrendBucket[]
required
Day-by-day rollup, oldest first, with zero-filled rows for dates that had no activity. Length always equals the period in days.

Status codes

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on September 21, 2026