Bot
Edit an existing bot
PATCH
/
api
/v1
/bot
/edit
/{botId}
Authorization
Authorization
Required<token>
Please enter a valid access token
In: header
Request Body
application/json
OptionalThe updated bot data
createdAt
string
Format:
"date-time"
updatedAt
string
Format:
"date-time"
name
string | null
icon
string | null
avatarUrl
string | null
description
string | null
hideUserAvatar
boolean
hideUserName
boolean
alignUserMessagesLeft
boolean
modelId
string | null
systemPrompt
string | null
starterPrompts
array | null
chunkLimit
integer
Format:
"int32"
chatMemory
integer
Format:
"int32"
maxTokens
integer
Format:
"int32"
temperature
number
Format:
"double"
topP
number
Format:
"double"
frequencyPenalty
number
Format:
"double"
presencePenalty
number
Format:
"double"
stopSequences
string | null
welcomeMessage
string | null
placeholder
string | null
peekMessage
string | null
peekMessageDelay
integer
Format:
"int32"
headerText
string | null
headerSubtext
string | null
position
integer
Format:
"int32"
Value in: 0 | 1 | 2 | 3
hideBranding
boolean
primaryColor
string | null
secondaryColor
string | null
accentColor
string | null
backgroundColor
string | null
textColor
string | null
headerColor
string | null
headerTextColor
string | null
system
integer
Format:
"int32"
Value in: 0 | 1 | 2
Path Parameters
botId
Requiredstring
The ID of the bot to edit
OK