---
title: "PATCH /clinic-config/ai - Update AI settings"
method: PATCH
path: "/clinic-config/ai"
tags: ["ClinicConfig"]
---

# PATCH /clinic-config/ai - Update AI settings

`PATCH /clinic-config/ai`

## Request body

- AiSettingsDto — AI feature settings
  - `patientSummariesEnabled` boolean
  - `chartNotesGenerationEnabled` boolean
  - `defaultSummaryTemplate` string
  - `displayAiLabels` boolean
  - `displayConfidenceScores` boolean
  - `aiEmailResponsesEnabled` boolean
  - `publicPortalChatbotEnabled` boolean
  - `chatbotPersona` string
  - `aiLabAnalysisEnabled` boolean
  - `aiRadiologyAnalysisEnabled` boolean
  - `anonymizeForAiProcessing` boolean
  - `shareAnonymizedDataGlobalMcp` boolean
  - `requireDoctorReviewForAi` boolean
  - `ga4ClarityEnabled` boolean
  - `triageModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `assistantModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `vipModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `soapNotesModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `dischargeDocsModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `widgetChatbot` WidgetChatbotConfigDto — B.O.N.D. (Best Optimal Needs Determination) Widget Chatbot configuration
    - `enabled` boolean
    - `welcomeMessage` string, nullable
    - `schedulingEnabled` boolean
    - `medicationRefillEnabled` boolean
    - `triageEnabled` boolean
    - `intakeEnabled` boolean
    - `requireVerificationForScheduling` boolean
    - `maxConversationTurns` union
      - integer
      - string, int32
    - `autoEscalateEmergencies` boolean
    - `model` AiModelConfigDto — Configuration for an AI model (provider + model ID)
      - `provider` string — AI provider: "openai" or "anthropic"
      - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.

## Response `200`

OK

- AiSettingsDto — AI feature settings
  - `patientSummariesEnabled` boolean
  - `chartNotesGenerationEnabled` boolean
  - `defaultSummaryTemplate` string
  - `displayAiLabels` boolean
  - `displayConfidenceScores` boolean
  - `aiEmailResponsesEnabled` boolean
  - `publicPortalChatbotEnabled` boolean
  - `chatbotPersona` string
  - `aiLabAnalysisEnabled` boolean
  - `aiRadiologyAnalysisEnabled` boolean
  - `anonymizeForAiProcessing` boolean
  - `shareAnonymizedDataGlobalMcp` boolean
  - `requireDoctorReviewForAi` boolean
  - `ga4ClarityEnabled` boolean
  - `triageModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `assistantModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `vipModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `soapNotesModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `dischargeDocsModel` AiModelConfigDto — Configuration for an AI model (provider + model ID)
    - `provider` string — AI provider: "openai" or "anthropic"
    - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.
  - `widgetChatbot` WidgetChatbotConfigDto — B.O.N.D. (Best Optimal Needs Determination) Widget Chatbot configuration
    - `enabled` boolean
    - `welcomeMessage` string, nullable
    - `schedulingEnabled` boolean
    - `medicationRefillEnabled` boolean
    - `triageEnabled` boolean
    - `intakeEnabled` boolean
    - `requireVerificationForScheduling` boolean
    - `maxConversationTurns` union
      - integer
      - string, int32
    - `autoEscalateEmergencies` boolean
    - `model` AiModelConfigDto — Configuration for an AI model (provider + model ID)
      - `provider` string — AI provider: "openai" or "anthropic"
      - `modelId` string — Model identifier (e.g., "claude-sonnet-4-6", "gpt-5.4-mini"). Empty = use the infra-configured default. Model ids live in the ModelCatalog config, not hardcoded.

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
