---
title: "Update Chatbot Settings - Advanced"
method: PATCH
path: "/v0/chatbots/{chatbotId}/settings/advanced"
tags: ["Chatbot Settings"]
---

# Update Chatbot Settings - Advanced

`PATCH /v0/chatbots/{chatbotId}/settings/advanced`

## Request

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

Update advanced settings of the chatbot

## Path parameters

- `chatbotId` string, required

## Request body

- object: Request Body
  - `creativity` 'restricted' | 'conservative' | 'creative' | 'custom': Options of the creativity for the chatbot
  - `temperature` number: Creativity meter of the chatbot. This is valid only when creativity of the chatbot is custom
  - `topK` integer: Number of relevant chunks to be fetched for answering the question
  - `webhookUrl` string: All messages are sent to this global webhook url if webhook url is not configured at thread level
  - `webhookToken` string: This is the global webhook token that is sent in header in the calls made to the above webhook url for all messages if token is not configured at thread level

## 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)
