Read the current billing subscription

View as Markdown
Return sanitized Essential, AI Plus, AI Pro, or Unlimited subscription, entitlement, monthly allowance usage, and additional usage spent and available.

Authentication

AuthorizationBearer

User bearer token: Clerk session JWT, Clerk OAuth access token, or Clerk API key

Response headers

X-RateLimit-Limitinteger

Requests allowed per client IP in the current rate-limit window.

X-RateLimit-Remaininginteger

Requests left before the tightest applicable rate-limit bucket rejects.

X-RateLimit-Resetinteger

Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.

Response

OK
additionalUsageobject

Opt-in metered usage past the monthly allowance: settings, spend this UTC month, prepaid credit, and unbilled usage.

allowanceobject
cancelAtPeriodEndboolean
entitledboolean
statusenum
tierenum
Allowed values:
periodEnddatetime or nullOptional
periodStartdatetime or nullOptional
planenum or nullOptional
Canonical paid billing plan offered by aVenture.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
406
Not Acceptable Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error