Skip to main content
PUT

Authorizations

Authorization
string
header
default:<auth-token>
required

Your API token, sent raw (no Bearer prefix).

Path Parameters

agentId
string
required

Body

application/json
name
string
required
Example:

"Support Agent"

languages
object
required

Keyed by language name (english, hindi, …). Holds everything that varies by language.

Example:
defaultLanguage
string

A language name, any casing.

Example:

"english"

voiceProcessing
object

Shared by every language.

knowledgeBaseIds
string[]

Ids of the knowledge bases the agent answers from. An update replaces the list, so leaving it out removes them all.

callSummary
object
tools
string[]

Ids of the tools the agent can call. An update replaces the list, so leaving it out removes them all.

advanced
object
versionName
string
default:Updated via API

Label for the new version.

Response

The new version.

agentId
string
Example:

"ag_7f2c91"

name
string
Example:

"Support Agent"

status
enum<string>

active once deployed. A new agent stays inactive only if its first deploy couldn't run, for example when the account has no active API key. Call Deploy agent yourself then.

Available options:
inactive,
active
Example:

"active"

deploymentId
string
Example:

"dp_44b1e0"

createdAt
string<date-time>
updatedAt
string<date-time>
versionId
string
Example:

"cm_31d0ba"

config
object

The config as stored, with names resolved.