List a customer's usage costs over time
A customer’s usage of one billable metric and what it costs, per hour, day or month, optionally
split by an event property, summed across the subscriptions that bill it. Buckets are cut at UTC
boundaries and only cover the customer’s billing periods. Per-unit and matrix pricing give exact
costs. For pricing that depends on the whole period’s usage (tiered, volume, package, capacity),
a bucket’s cost is what it adds to the period’s price so far and exact is false. The range is
at most 93 days.
Beta: the request and response shapes of this endpoint may change before general availability.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Customer ID or alias
Query Parameters
Billable metric, by ID or code.
Event property to split the usage by.
HOUR, DAY, MONTH Start of the range, inclusive.
End of the range, exclusive. At most 93 days after from.
Response
Usage and cost per bucket