Billing

Subscription, billing state and effective plan of an organization

Owner/billing members (browser) or any API key of the organization (read-only). billing_state: free (no paid subscription), active, canceling (ends at period end, then free limits), grace (payment overdue, workspaces unaffected), restricted (grace ended: new opens/resumes answer 402 entitlement_required).

get/v1/organizations/{organization_id}/billing/subscription

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/organizations/{organization_id}/billing/subscription
  • Auth: HTTP bearer

Path parameters

organization_idstring uuid required

UUIDv7, lowercase canonical form.

Response

Default Response

organization_idstring uuid required

UUIDv7, lowercase canonical form.

restrictionsobject required
purchase_availableboolean required

Checkout/portal are configured in this environment.

Changes

No recorded changes to this operation across all 1 revision of this API.