Skip to main content
GET
/api/v1/billing/usage-history

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de consulta

currency
enum<string>

Filter by consumable currency

Opciones disponibles:
USD,
DIEM,
BUNDLED_CREDITS
Ejemplo:

"USD"

cursor
string

Opaque continuation token from a previous response's nextCursor. The cursor carries the filters of the walk it continues, so no filter parameters may be sent alongside it.

Maximum string length: 512
Pattern: ^[A-Za-z0-9_-]+$
Ejemplo:

"AZq3fK9tXhIVDm2j4vN8cQwYt1sB6uEoLxRgPzKaJdHfM5nC7yW0K3w"

endTimestamp
string<date-time>

Exclusive upper bound on entry timestamps (ISO 8601 UTC, "Z" suffix). Must be later than startTimestamp; consecutive windows sharing a boundary walk the history without gaps or overlaps. Carried forward by the cursor.

Maximum string length: 40
Ejemplo:

"2026-07-01T00:00:00.000Z"

pageSize
integer
predeterminado:1000

Number of entries per page. Carried forward by the cursor.

Rango requerido: 10 <= x <= 1000
Ejemplo:

1000

startTimestamp
string<date-time>

Inclusive lower bound on entry timestamps (ISO 8601 UTC, "Z" suffix). First page only: a continuation resumes from the cursor position instead.

Maximum string length: 40
Ejemplo:

"2026-06-01T00:00:00.000Z"

Respuesta

Successful response

The response schema for the billing usage history endpoint

data
object[]
requerido

Usage entries in ascending timestamp order

Maximum array length: 1000
nextCursor
string | null
requerido

Continuation token for the next page, to be sent as the cursor query parameter. null means this is the last page.

Maximum string length: 512
Pattern: ^[A-Za-z0-9_-]+$