Usage

Get daily aggregates

Changed on

Returns flat daily token/cost/carbon rows for the requested date range, optionally scoped to a project. Supply startDate + endDate (YYYY-MM-DD, together, max 366 days) for a custom period; they take precedence over range.

get/api/v1/usage/daily

Request

Query parameters

range'7d' | '30d' | '90d' | '365d'
startDatestring
endDatestring
projectIdstring uuid

Response

Daily aggregates

successtrue required

Changes