Skip to main content
GET
/
api
/
users
/
me
/
credits
Get AI credit balance for the authenticated user.
curl --request GET \
  --url https://api.rigbox.dev/api/users/me/credits \
  --header 'Authorization: Bearer <token>'
{
  "mode": "<string>",
  "remaining": 123,
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

AI credit balance

mode
string
required
remaining
integer<int32>
required
total
integer<int32>
required