Skip to main content
GET
Get a company's spend for the open billing period

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Response

currency
string
required

ISO 4217 code applied to every cost in the response

period_start
string<date>
required

First day of the billing period now open (UTC)

next_period_start
string<date>
required

First day of the next billing period — when this period's invoice is issued

total_cost
string<decimal>
required

Sum of by_feature, in currency

by_feature
object[]
required

Per-feature breakdown, highest cost first. Features with no usage are omitted, so an unused period returns an empty list and a total_cost of 0