This endpoint is deprecated. It still answers from the customer’s credit balance, but it has no product scoping and no idempotent counterpart. Use GET /api/public/credits/balance to read remaining credits and POST /api/public/credits/consume to deduct them.
Returns the tenant’s current usage for a metric and whether they’re within the limit defined by their plan.
Request Body
string
required
The external tenant ID
string
required
The metric to check (e.g., api_calls, storage_gb)
string
Scope the check to a specific product’s subscription. Required for multi-product orgs.
Authentication
Requires a secret key (Authorization: Bearer sk_live_...).