Skip to main content
PATCH
Turn the AI agent on or off for a chat, or switch it

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
status
enum<string>

ACTIVE or DISABLED. Required without agentId; with it, the chat keeps its status when absent (ACTIVE for a chat that had no agent).

Available options:
ACTIVE,
DISABLED
agentId
string

Switches the chat to this agent of the project. The chat's current agent only changes the status.

Minimum string length: 1

Response

No content