Update Bot

Update bot

post
/v1/bot/{botId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

botIdstring* Required

Request Body * Required

Request Body Schema: application/json

namestring

The name of the bot

descriptionstring

The description of the bot

backstorystring

The backstory of the bot

modelstring

The model of the bot

datasetIdstring

The id of the dataset the bot is using

skillsetIdstring

The id of the skillset the bot is using

visibilitystring

The bot visibility

metaobject

Meta data information

curl -X POST "https://api.chatbotkit.com/v1/bot/{botId}/update" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"name":"string",
"description":"string",
"backstory":"string",
"model":"string",
"datasetId":"string",
"skillsetId":"string",
"visibility":"string",
"meta":"object"
}
EOF
{
"id":"string"
}
The bot was updated successfully