Skip to main content
GET
Export organization usage and cost rows.

Authorizations

Authorization
string
header
required

Read-only reporting token for usage reporting endpoints (Authorization: Bearer rpt-<reporting_token>)

Path Parameters

org_id
string<uuid>
required

Organization ID

Query Parameters

start_time
string

Inclusive RFC3339 start timestamp. Defaults to 366 days before the effective end_time.

end_time
string

Inclusive RFC3339 end timestamp. Defaults to the request time. The effective range must not exceed 366 days.

source
enum<string>

Usage source to export. Defaults to all.

Available options:
all,
inference,
service
workspace_id
string<uuid>

Filter by workspace ID.

api_key_id
string<uuid>

Filter by API key ID.

model
string

Filter inference rows by model name.

inference_type
string

Filter inference rows by inference type.

service_name
string

Filter service rows by platform service name.

limit
integer<int32>

Maximum rows to return. Defaults to 100 and must not exceed 1000.

Required range: x >= 0
cursor
string

Opaque cursor returned by the previous export page.

Response

Usage export page

data
object[]
required
next_cursor
string | null