Skip to main content
GET
/
billing
/
pricing
Get billing pricing
curl --request GET \
  --url https://api.superserve.ai/billing/pricing \
  --header 'X-API-Key: <api-key>'
{
  "plan_key": "payg",
  "plan_name": "Pay-as-you-go",
  "currency": "USD",
  "rates": [
    {
      "unit": "second",
      "price_usd": 0.000014,
      "price_usd_hourly": 0.0504,
      "effective_from": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Response

Active pricing plan and rates

plan_key
string
required

Active pricing plan key. Authenticated pricing is team-specific; public pricing returns the public PAYG plan.

Example:

"payg"

plan_name
string
required

Human-readable plan name.

Example:

"Pay-as-you-go"

currency
string
required

ISO 4217 currency code for all returned rates.

Example:

"USD"

rates
object[]
required