Skip to main content
PUT
Set the Chat Mode

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

chat_id
string
required

Conversation to change

chat_mode
enum<string>
required

edit and plan require a workspace, and are refused with 403 for a non-staff caller outside the Site builder conversation

Available options:
ask,
edit,
plan

Response

200 - application/json

Mode saved

The response is of type object.