Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

invoice_id
string
required

invoice_id is the unique ID of the invoice (billing period) whose daily usage is returned.

Query Parameters

pagination.page
string
pagination.limit
integer<int32>
pagination.as_of_time
string<date-time>
pagination.sort_order
enum<string>
  • ASC: Sort in ascending order. This is the default unless otherwise specified.
  • DESC: Sort in descending order.
Available options:
ASC,
DESC

Response

A successful response.

ListInvoiceDailyUsageResponse is the output of the ListInvoiceDailyUsage RPC. Invoice-level details (billing period, totals) are available from GetInvoice.

usage_items
object[]
required

usage_items contains the daily usage rows for this page. By default, usage rows are sorted by usage date and then by cluster, with adjustment rows on the final pages. In descending order, adjustment rows appear first, followed by usage rows from newest to oldest.

pagination
object