Balance
Credits API
Balance
Check your credit balance
GET
Balance
Returns the current credit balance for the authenticated API key.
Authentication
Requires a valid API key viaAuthorization: Bearer YOUR_API_KEY.
- User API keys return the user’s credit balance.
- Organization API keys return the organization’s provider balance (revenue).
Response
Response Fields
| Field | Type | Description |
|---|---|---|
balance | string | Formatted dollar balance |
Example
Check Sufficiency
UsePOST /v1/credits/check to verify you have enough balance before making an API call:
