Skip to main content
POST

Authorizations

Authorization
string
header
default:<auth-token>
required

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

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

Response

Agent created and its first version deployed.

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.

playgroundUrl
string

Opens the new agent in the playground, signed in with the token you called with. Returned on create only.

Example:

"https://playground.videosdk.live/cli?token=eyJhbGciOi…&agentId=ag_7f2c91"