List a subscription's usage costs over time
The subscription’s usage of one billable metric and what it costs, as for a customer but counting only the events the subscription bills (see its usage filter) and only its own billing periods. 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
Subscription ID
"sub_7n42DGM5Tflk9n8mt7Fhc7"
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