AI Providers

Update an AI provider

Updates an AI provider configuration

patch/v1/projects/{project_id}/ai-providers/{ai_provider_id}

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/ai-providers/{ai_provider_id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Path parameters

ai_provider_idstring required

AI Provider ID

Request body

namestring
provider'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'vertex' | 'gateway' | 'custom' | 'naturali'

LLM provider

default_modelstring
secret_idstring nullable
base_urlstring
configobject

Example request

{
  "provider": "openai"
}

Response

AI provider updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.