Skip to main content
POST
Get Subscription Usage

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

The idempotency key that will be used to ensure the request is only performed once

Path Parameters

company_id
string
required

The company ID with the prefix 'cmp_'.

id
string
required

The resource ID

Body

application/json
product_metric_pricing_id
string
required

The specific product metric pricing for which usage is being requested

period
object

The start date to end date range for the subscription usage

Response

200 - application/json

OK

metric
object
product_metric_pricing
object
usage
object[] | null