cURL
curl --request GET \ --url https://api.rigbox.dev/api/users/me/credits \ --header 'Authorization: Bearer <token>'
{ "mode": "<string>", "remaining": 123, "total": 123 }
Get the authenticated user’s AI credit balance and mode (managed or BYOK).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
AI credit balance