cURL
curl --request POST \ --url https://your-instance.example.com/api/ai-models/organization/{organizationId}/api-key \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider": "anthropic", "apiKey": "<string>", "isEnabled": true } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
anthropic
openai
google
API key updated
Generic response envelope. Endpoint-specific fields are intentionally open.