v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-014589156.1 KB
Usage

Get usage metrics

Returns infrastructure cost and compute-minute summaries for the caller's user over a date range, plus per-bucket chart data. Granularity is hourly (≤24h window) or daily. Use POST /usage/metrics if you need richer body params; this endpoint takes query params only.

get/usage/metrics

Query parameters

start_datestring date-time required

start of reporting window (RFC3339)

start of reporting window (RFC3339)

end_datestring date-time required

end of reporting window (RFC3339)

end of reporting window (RFC3339)

granularity'hourly' | 'daily'

bucket resolution

bucket resolution

timezonestring

IANA timezone for bucketing periods (e.g., America/Los_Angeles)

IANA timezone for bucketing periods (e.g., America/Los_Angeles)

Response

OK

granularitystring required
period_endstring date-time required
period_startstring date-time required