List daily usage
List daily deployment resource cost data. Enterprise+ tier only.
- A given usage date
D(UTC) typically becomes available the following day,D+1, in the early morning UTC, not the same day. - The first time
Dappears, itscostandqtyvalues aren’t necessarily final and can still change on a later sync. - Restatements are usually limited to the last 4 days. Corrections further back are possible, but uncommon.
startDate a few days before endDate to catch late-arriving rows.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the Organization to retrieve cost data for.
Query Parameters
Start of the date range (YYYY-MM-DD).
End of the date range (YYYY-MM-DD). Range must not exceed 12 months.
Filter by workspace ID. At most 1000.
Filter by deployment ID. At most 1000.
Response shape.
astronomer, focus The number of results to skip before returning values (offset mode; ignored when pageToken/pageSize is set).
x >= 0The maximum number of results to return (offset mode). Maximum: 1000.
1 <= x <= 1000Fields to sort by, formatted as <fieldName>:asc or <fieldName>:desc. Applies to offset and cursor mode.
id:asc, id:desc, date:asc, date:desc, organizationId:asc, organizationId:desc, workspaceId:asc, workspaceId:desc, deploymentId:asc, deploymentId:desc, resource:asc, resource:desc, cost:asc, cost:desc, qty:asc, qty:desc, unit:asc, unit:desc Cursor page size.
1 <= x <= 1000Opaque cursor page token.
Response
OK
- astronomer
- focus
Discriminates this response from the FOCUS-format variant when multiple are valid oneOf choices (e.g. an empty items page).
astronomer, focus "astronomer"
The list of deployment resource costs in the current page.
The maximum number of results in one page.
20
Cursor mode (AIP-158) fields. NextPageToken is empty string on the last page (per spec — do not use omitempty). PageSize echoes the effective page size when the caller opted into cursor mode.
The offset of the current page of results.
0
The total number of deployment resource cost rows matching the query.
15196