cURL
curl --request PUT \ --url https://api.rigbox.dev/api/users/me/ai-mode \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "mode": "<string>" } '
{ "mode": "<string>", "remaining": 123, "total": 123 }
Switch between managed and BYOK AI mode.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Updated AI mode