Skip to main content
POST
Fetch usage
For the complete error reference, see Error Guide.

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

The parent appId to which the subscription is linked.

Body

application/json
usePreviousBillingCycle
boolean

Indicates whether the usage from the previous billing cycle should be retrieved.

If set to false, the usage for the current cycle will be fetched.

If set to true, the usage from the previous cycle will be fetched.

Response

200 - application/json

Updated App

data
object