Sazabi
APIBilling

List plans

GET
/billing/plans

List the self-serve credit plans available for checkout, including the current plan.

Query Parameters

organizationId?string

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/billing/plans"
{  "billingModel": "string",  "currentPlanSlug": "string",  "hasActiveStripeBilling": true,  "plans": [    {      "slug": "string",      "billingModel": "string",      "name": "string",      "description": "string",      "bestFor": "string",      "price": "string",      "currency": "string",      "targetCreditBalance": "string",      "logsIncludedBytes": "string",      "aiTokensIncluded": "string"    }  ]}