cURL
curl --request PUT \ --url https://api.agentixx.io/api/settings/ai \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: <api-key>' \ --cookie better-auth.session_token= \ --data ' { "defaultProvider": "openai", "defaultModel": "gpt-4.1-mini", "temperature": 0.7 } '
{ "ok": true }
Update AI model configuration, API keys, or budgets. Admin only.
Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Update AI model configuration
openai
anthropic
1
x >= 0
0 <= x <= 2
AI settings updated