Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string
required

ID of the account.

Example:

"acct_01j9a43avnfqzbjfch6pygv1td"

Query Parameters

start_time
string<date-time>
required

Inclusive start of the window. Must be a whole UTC minute.

Example:

"2026-04-09T15:03:00Z"

end_time
string<date-time>
required

Exclusive end of the window. Must be a whole UTC minute.

Example:

"2026-04-09T16:03:00Z"

Response

Priced usage for the window

Priced usage for an account over a requested window.

end_time
string<date-time>
required

Exclusive end of the window, in UTC.

line_items
object[]
required
start_time
string<date-time>
required

Inclusive start of the window, in UTC.

total
string
required

Formatted USD total, such as "$1.25".