Bots

Update Bot

Update an existing bot's configuration.

patch/v1/bots/{uid}

Path parameters

uidstring required

The unique identifier of the bot

Request body

namestring required

Name of the bot (max 255 characters)

promptstring required

System prompt for the bot

first_messagestring

Initial message the bot will send

knowledge_base_idinteger

ID of the knowledge base to use

voice_provider'OpenAI' | 'ElevenLabs' | 'Deepgram'

Voice synthesis provider

voicestring

Voice ID or name

voice_modelstring

Voice model to use

voice_speednumber

Speech speed multiplier

llm_model_namestring

Large language model to use

llm_model_temperaturenumber

Temperature setting for the LLM

llm_max_tokensinteger

Maximum tokens for LLM response

stt_provider'Deepgram'

Speech-to-text provider

stt_modelstring

Speech-to-text model

auto_end_callboolean

Whether to automatically end calls

Response

Bot updated successfully

uidstring required

Unique identifier of the bot

namestring required

Name of the bot

promptstring required

System prompt for the bot

first_messagestring

Initial message the bot will send

knowledge_base_idinteger

ID of the knowledge base

voice_provider'OpenAI' | 'ElevenLabs' | 'Deepgram'

Voice synthesis provider

voicestring

Voice ID or name

voice_modelstring

Voice model being used

voice_speednumber

Speech speed multiplier

llm_model_namestring

Large language model being used

llm_model_temperaturenumber

Temperature setting for the LLM

llm_max_tokensinteger

Maximum tokens for LLM response

stt_provider'Deepgram'

Speech-to-text provider

stt_modelstring

Speech-to-text model

auto_end_callboolean

Whether calls are automatically ended

created_atstring date-time required

Bot creation timestamp

updated_atstring date-time required

Bot last update timestamp

Changes