Get Usage Trend V1
Daily cost / token / job-count trend. Returns a zero-filled per-day rollup so dashboards can render a sparkline without client-side gap-filling…
GET
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.