v1

latestOpenAPI 3.1.02026-07-2691819.8 KB

Create Agent Version

Create an agent version for a given agent.

See Creating an Agent Version for more information.

put/api/v1/agents/{agent_name}/agent-versions

Path parameters

agent_namestring required
Example:customer-support-agent

Headers

Authorizationstring required
Example:Bearer 123

Request body

agent_version_namestring required

Unique identifier for the agent version within its agent.

descriptionstring nullable

Example request

{
  "agent_version_name": "v1",
  "description": "The first version of the customer support agent."
}

Response

Successful Response

agent_version_namestring required

Unique identifier for the agent version within its agent.

descriptionstring nullable
agent_version_numberinteger required

Unique number assigned to the agent version within its agent.

created_atstring date-time required
deprecated_atstring date-time nullable

Example response

{
  "agent_version_name": "v1",
  "agent_version_number": 1,
  "created_at": "2023-01-01T00:00:00Z",
  "description": "The first version of the customer support agent."
}