Get Billing Entitlement
Changed onFetch internal per-org entitlement state for billing/paywall decisions.
The optional plan_slug query param is sent by the frontend (derived from Clerk's has({ plan })). When it differs from the stored plan_slug we trigger an immediate Clerk sync so credit limits update without waiting for the nightly job.
get/api/billing/entitlement
Request
- Base URL: https://api.every.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.every.ai/api/billing/entitlement
- Auth: none declared
Query parameters
plan_slugstring nullable
freshboolean
user_idstring
org_idstring
Response
Successful Response
Changes
- info
the
response's property default value changed from1000000to10000000for the status
- info
- info
added the optional property
to the response with the status
- info