Skip to main content
GET
List daily usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

The ID of the Organization to retrieve cost data for.

Query Parameters

startDate
string
required

Start of the date range (YYYY-MM-DD).

endDate
string
required

End of the date range (YYYY-MM-DD). Range must not exceed 12 months.

workspaceId
string[]

Filter by workspace ID. At most 1000.

deploymentId
string[]

Filter by deployment ID. At most 1000.

format
enum<string>
default:astronomer

Response shape.

Available options:
astronomer,
focus
offset
integer
default:0

The number of results to skip before returning values.

Required range: x >= 0
limit
integer
default:20

The maximum number of results to return.

Required range: 0 <= x <= 1000
sorts
string[]

Fields to sort by, formatted as <fieldName>:asc or <fieldName>:desc.

Response

OK

format
enum<string>
required

Discriminates this response from FocusDailyUsagesPaginated when both are valid oneOf variants (e.g. an empty items page).

Available options:
astronomer,
focus
Example:

"astronomer"

items
object[]
required

The list of deployment resource costs in the current page.

limit
integer
required

The maximum number of results in one page.

Example:

20

offset
integer
required

The offset of the current page of results.

Example:

0

totalCount
integer
required

The total number of deployment resource cost rows matching the query.

Example:

15196