User APIs
subscriptions
Get User Plan
Get all active subscription plans for the current user's client.
Returns all subscriptions with active status (active/trialing/past_due). If no active subscriptions exist, returns an empty list.
All data is sourced from:
- StripeSubscription model columns
- meta_data field (custom Stripe metadata)
- raw field (full Stripe subscription object)
- daily_token_limit column
Returns: List[ClientPlanDetails]: List of all active subscription plans for the client
get/api/v1/subscriptions/plan
Request
- Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
- URL: https://carbonarc.ai/api/v1/subscriptions/plan
- Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)
Response
Successful Response
Changes
No recorded changes to this operation across all 4 revisions of this API.