Skip to main content
GET
Get 30-day usage histogram for a company

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Query Parameters

from_date
string

Start date for the billing window (ISO yyyy-mm-dd). Scopes both days and total_cost to this window — without it, days covers the last 30 days.

to_date
string

End date for the billing window (ISO yyyy-mm-dd, inclusive). Scopes both days and total_cost.

Response

currency
string
required

ISO 4217 code applied to all price values in the response

days
object[]
required

One entry per day in the requested window, oldest first

total_cost
string<decimal>
required

Cumulative cost across all days in the response currency