Skip to main content
GET
/
subscriptions
/
{subscriptionId}
/
product
/
billable-metrics
/
List subsciption billable metrics and their quotas with curent usage
curl --request GET \
  --url https://provider.api.nadles.com/v0/subscriptions/{subscriptionId}/product/billable-metrics/ \
  --header 'nadles-provider-key: <api-key>'
{
  "data": [
    {
      "name": "<string>",
      "label": "<string>",
      "quotas": [
        {
          "quota": 123,
          "usage": 123,
          "period": {
            "unit": "<string>",
            "value": 123
          },
          "end": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}

Authorizations

nadles-provider-key
string
header
required

API key provided in the admin portal

Path Parameters

subscriptionId
string
required

The ID of the subscription.

Query Parameters

expand
enum<string>
Available options:
currentUsage

Response

200 - application/json

OK

data
object[]