Skip to main content
PATCH
Update conversational Agent

Authorizations

X-API-Key
string
header
required

Authenticate every request by passing your API key in the X-API-Key header. To get your key, go to Dashboard → API Keys and create or copy your Production API key.

Path Parameters

agentId
string
required

Unique identifier of the agent to update.

Body

application/json

Request body for updating an existing conversational agent, including its start node, runtime settings, and workflow nodes.

agentName
string

Human-readable name of the agent used to identify it in the dashboard and APIs.

Maximum string length: 128
Example:

"Auralis"

startNodeName
string

The name of the node where the agent workflow starts. Must contain only letters, numbers, and underscores.

Maximum string length: 128
Pattern: ^[a-zA-Z0-9_]+$
Example:

"Welcome"

agentSettings
object

Request body for updating an existing AI agent, including its instructions, welcome message configuration, runtime settings, and available tools.

nodes
object[]

The complete list of nodes that define the agent's conversational workflow. This list replaces the agent's existing nodes: nodes with a nodeId are updated, nodes without a nodeId are created, and any existing node omitted from the list is deleted.

Sends a response to the user before continuing to the next node in the workflow.

Response

OK

agentId
string

The unique identifier of the agent within the system.

Example:

"SPIlVscbB0kkXBvZ"

agentName
string

Human-readable name of the agent used to identify it in the dashboard and APIs.

Example:

"Auralis"

startNodeName
string

The name of the node where the agent workflow starts.

Example:

"Welcome"

startNodeId
string

The unique identifier of the node where the agent workflow starts.

Example:

"node_01HXYZ123"

agentSettings
object

Configuration settings that define the agent’s runtime behavior, including voice, llm model and other operational settings.

nodes
object[]

Sends a response to the user before continuing to the next node in the workflow.