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

Autorisierungen

Authorization
string
header
erforderlich

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

Abfrageparameter

currency
enum<string>

Filter by consumable currency

Verfügbare Optionen:
USD,
DIEM,
BUNDLED_CREDITS
Beispiel:

"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_-]+$
Beispiel:

"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
Beispiel:

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

pageSize
integer
Standard:1000

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

Erforderlicher Bereich: 10 <= x <= 1000
Beispiel:

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
Beispiel:

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

Antwort

Successful response

The response schema for the billing usage history endpoint

data
object[]
erforderlich

Usage entries in ascending timestamp order

Maximum array length: 1000
nextCursor
string | null
erforderlich

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_-]+$