Skip to main content
PATCH
Patches An Agent Settings

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

agent_id
string
required

The id of an agent. This is returned on agent creation.

Example:

"agent_3701k3ttaq12ewp8b7qv5rfyszkz"

Query Parameters

branch_id
string | null

The ID of the branch to use

Example:

"agtbrch_0901k4aafjxxfxt93gd841r7tv5t"

Body

application/json
conversation_config
ConversationalConfigAuthoringPatch · object | null

Conversation configuration for an agent

Example:
platform_settings
Platform Settings · object | null

Platform settings for the agent are all settings that aren't related to the conversation orchestration and content.

workflow
AgentWorkflowRequestModel · object

Workflow for the agent. This is used to define the flow of the conversation and how the agent interacts with tools.

Example:
name
string | null

A name to make the agent easier to find

Example:

"My agent"

tags
string[] | null

Tags to help classify and filter the agent

Example:
version_description
string | null

Description for this version when publishing changes (only applicable for versioned agents)

procedures
Procedures · object | null

Procedure versions to publish, keyed by procedure_id. When provided, this map replaces the procedures from the current draft or branch tip. When omitted or null, unpublished procedure edits are used if present; otherwise, the branch tip's procedures are retained. Pass an empty object to remove all procedures.

Response

Successful Response

agent_id
string
required

The ID of the agent

name
string
required

The name of the agent

conversation_config
ConversationalConfigAPIModel · object
required

The conversation configuration of the agent

metadata
AgentMetadataResponseModel · object
required

The metadata of the agent

platform_settings
AgentPlatformSettingsResponseModel · object

The platform settings of the agent

phone_numbers
(GetPhoneNumberManagedPSTNResponseModel · object | GetPhoneNumberSIPTrunkResponseModel · object)[]

The phone numbers of the agent

Example:
whatsapp_accounts
GetWhatsAppAccountResponse · object[]

WhatsApp accounts assigned to the agent

workflow
AgentWorkflowResponseModel · object

The workflow of the agent

Example:
access_info
ResourceAccessInfo · object | null

The access information of the agent for the user

Example:
tags
string[]

Agent tags used to categorize the agent

version_id
string | null

The ID of the version the agent is on

branch_id
string | null

The ID of the branch the agent is on

main_branch_id
string | null

The ID of the main branch for this agent