AI

Update AI Settings

Updates the AI assistant configuration. Admin access required.

patch/ai

Request

  • Base URL: https://docs.nexterm.dev/api
  • URL: https://docs.nexterm.dev/api/ai
  • Auth: HTTP bearer

Request body

enabledboolean

Enabled

provider'openai' | 'openai_codex' | 'anthropic' | 'google' | 'groq' | 'mistral' | 'deepseek' | 'xai' | 'openrouter' | 'openai_compatible' | 'ollama' nullable

Provider (allowed values: openai, openai_codex, anthropic, google, groq, mistral, deepseek, xai, openrouter, openai_compatible, ollama)

modelstring nullable

Model (maximum 100 characters)

apiKeystring nullable

Api key

apiUrlstring nullable

Api url

authMethod'api_key' | 'subscription'

Auth method (allowed values: api_key, subscription)

requireConfirmationboolean

Require confirmation

Response

Updated AI settings

object required

Changes

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