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. Pass the window and granularity as query params.
Authorizations
Customer API key (axl_ prefix).
Query Parameters
start of reporting window (RFC3339)
end of reporting window (RFC3339)
bucket resolution
hourly, daily IANA timezone for bucketing periods (e.g., America/Los_Angeles)
Response
OK
Usage metrics summary returned by the metrics endpoint.
Compute time metrics.
CostByProduct splits the period's usage spend (sessions vs inference).
Data resolution (hourly or daily).
hourly, daily Daily inference spend series.
Infrastructure cost metrics.
End of the reporting period.
Beginning of the reporting period.
Per-product daily spend series for charting.