Skip to main content
GET
Get subscription usage

Authorizations

Authorization
string
header
required

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

Path Parameters

subscription_id
string<MeteroidId>
required

Subscription ID

Example:

"sub_7n42DGM5Tflk9n8mt7Fhc7"

Query Parameters

start_date
string<date>
end_date
string<date>
metric_id
string<MeteroidId>
Example:

"bm_7n42DGM5Tflk9n8mt7Fhc7"

Response

Subscription usage data

period_end
string<date>
required
period_start
string<date>
required
usage
object[]
required