Skip to main content
GET
Get balance

Authorizations

Authorization
string
header
required

varg API key (varg_...). Get one at app.varg.ai or run bunx vargai login. App sessions may alternatively send a Supabase JWT.

Response

200 - application/json

Balance

subscription_balance
integer
Example:

5000

subscription_expires
string | null
rollover_balance
integer
Example:

2000

rollover_expires
string | null
onetime_balance
integer
Example:

1500

reserved
integer
Example:

300

available
integer
Example:

8200

total_balance
integer
Example:

8500