v1

latestOpenAPI 3.1.02026-08-06221222240.7 KB
Billing
billing

Get Subscription Status

Fast status check - queries DynamoDB only (no Stripe API calls). Use this for polling and subscription guards.

HasActiveSubscription includes BypassSubscriptionCheck so the frontend can rely on this single field for access decisions.

NOTE: This is def (not async def) because it only does synchronous PynamoDB I/O. FastAPI automatically runs def handlers in a thread pool, so they don't block the event loop or other concurrent requests.

get/v1/billing/subscription-status

Response

Successful Response

HasActiveSubscriptionboolean required
OrgExistsboolean