Skip to main content
GET
Get account balance
This endpoint requires an Account key. Inference keys are not accepted.

Request

Response

Balance values use units of 0.0001 credits. For example, 500000 equals 50 credits.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Account balance

user_id
string<uuid>
required

Authenticated user ID

total_balance
integer
required

Total balance in units of 0.0001 credits

Example:

500000

available_balance
integer
required

Available balance in units of 0.0001 credits

Example:

500000

hold_balance
integer
required

Held balance in units of 0.0001 credits

Example:

0