Chatbot Settings
Update Chatbot Settings - Advanced
Update advanced settings of the chatbot
PATCH
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
advanced
Authorization
Path
Body
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/advanced \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"creativity": "conservative",
"temperature": 1,
"topK": 3,
"webhookUrl": "https://example.com",
"webhookToken": "abc123"
}'
{
"success": true,
"message": "Updated advanced settings of the chatbot successfully",
"data": {}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
chatbotId
string
requiredId of the chatbot
Body
application/json
creativity
enum<string>
Options of the creativity for the chatbot
Available options:
restricted
, conservative
, creative
, custom
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 - application/json
success
boolean
Indicates whether this is success response or error response
message
string
Overall message regarding the operation performed
data
object | null
Data returned from the server
Was this page helpful?
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/advanced \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"creativity": "conservative",
"temperature": 1,
"topK": 3,
"webhookUrl": "https://example.com",
"webhookToken": "abc123"
}'
{
"success": true,
"message": "Updated advanced settings of the chatbot successfully",
"data": {}
}