Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Max number of results that should be returned
1 <= x <= 100
Cursor that indicates where the next page of results should start.
Body
The usage query to run
A window_size of "day" or "hour" will return the usage for the specified period segmented into daily or hourly aggregates. A window_size of "none" will return a single usage aggregate for the entirety of the specified period.
hour
, day
, none
, HOUR
, DAY
, NONE
, Hour
, Day
, None
If true, will return the usage for the current billing period. Will return an error if the customer is currently uncontracted or starting_on and ending_before are specified when this is true.