Skip to main content
POST
Activate version

Authorizations

Authorization
string
header
default:<auth-token>
required

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

Path Parameters

agentId
string
required
versionId
string
required

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.