Features & Usage
Check Usage Limit (Deprecated)
Deprecated. Use credits/balance + credits/consume instead.
POST
Returns the tenant’s current usage for a metric and whether they’re within the limit defined by their plan.
Request Body
The external tenant ID
The metric to check (e.g.,
api_calls, storage_gb)Scope the check to a specific product’s subscription. Required for multi-product orgs.
Authentication
Requires a secret key (Authorization: Bearer sk_live_...) or public key (x-public-key).