Enterprise admins can also set API key caps and member limits. API key caps apply to API key traffic. Member limits apply to signed-in app usage. Either can block a request even when the workspace still has usage left.
Check the balance
0 credits if they are using included usage instead of a credit balance.
Check current period usage
periodStart, periodEnd, requests, tts, and credits.
When usage is unavailable
The API returns402 when a request cannot be covered by the workspace setup. Common causes are exhausted credits, exhausted included usage, a member limit, an API key cap, a workspace credit cap, or missing billing configuration.
Credit-balance workspaces can buy more credit packs in the app under Billing -> Credits.