---
title: "Update Chatbot Settings - Chat Mode"
method: PATCH
path: "/v0/chatbots/{chatbotId}/settings/chat-mode"
tags: ["Chatbot Settings"]
---

# Update Chatbot Settings - Chat Mode

`PATCH /v0/chatbots/{chatbotId}/settings/chat-mode`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/chat-mode`
- Auth: HTTP bearer

Update chat-mode settings of the chatbot

## Path parameters

- `chatbotId` string, required

## Request body

- object: Request Body
  - `chatMode` 'AI' | 'AGENT': Mode of the chat

## Response `200`

OK

- object: Success Response
  - `success` boolean: Indicates whether this is success response or error response
  - `message` string: Overall message regarding the operation performed
  - `data` object, nullable: Data returned from the server

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
