Update AI mode for the authenticated user.
AI
Update AI Mode
Switch between managed and BYOK AI mode.
PUT
Update AI mode for the authenticated user.
In managed mode, Rigbox injects API keys server-side and tracks credit usage. In BYOK mode, you provide your own provider keys.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
200 - application/json
Updated AI mode
Free bucket balance (resets to 250 each month, unused expires).
Pro bucket balance (active pro_managed gets +2000/month, rolls over).
Total spendable credits = free + pro.
Credits granted this cycle (the monthly entitlement: 250 free, plus 2000
for an active pro_managed subscriber). May be below remaining when pro
credits have rolled over from prior months.