Check customer entitlement
Whether the customer may consume requested more of a feature right now, given their
entitlement, the hard budgets that count the feature’s usage, and their prepaid credit.
Boolean features answer from their enabled state; config features grant access and return
their value. An ALLOW limit never refuses: in_overage tells when the requested units go
beyond it. Sliding windows send no threshold webhooks. Pass the group as
group[<property>]=<value>: it is required when the entitlement is grouped. Pass
subscription_id when the usage belongs to one subscription, so that a hard budget on another
subscription does not refuse it.
The answer reflects usage up to as_of: typically less than a minute old, and less than 10
seconds old once near_limit is true. A hard limit can therefore be exceeded by the usage of
those few seconds. While near_limit is true, check before every request with its actual
requested and do not cache the answer; retry_after_ms says when to check again. Use the
check to gate access, not to bill.
Beta: the request and response shapes of this endpoint may change before general availability.
Authorizations
Path Parameters
Query Parameters
Response
Whether the customer may consume the requested units
Whether a customer may consume more of a feature now.
When to check again, in milliseconds. After a refusal by a limit whose period ends within
24 hours: the time until it ends (a smaller requested may still be allowed sooner);
absent after a refusal by a sliding window, whose usage leaves it gradually. While
near_limit is true and access is granted: 1000.