Skip to main content
GET
Get credit balance for current user's organization

Authorizations

X-API-Key
string
header
required

API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY

Example:

Authorization
string
header
required

JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN

Example:

Response

Credit balance retrieved successfully

Credit balance for an organization (M1: grants only, no usage yet).

credits_granted
integer
required

Total credits granted to organization

credits_remaining
integer
required

Credits remaining (same as granted for M1)

organization_id
string<uuid>
required
credits_consumed
integer
default:0

Credits consumed (always 0 for M1)