v1

latestOpenAPI 3.1.02026-07-2691819.8 KB

Create Agent

Create an agent.

put/api/v1/agents

Headers

Authorizationstring required
Example:Bearer 123

Request body

agent_namestring required

Unique identifier for the agent.

descriptionstring nullable

Example request

{
  "agent_name": "customer-support-agent",
  "description": "An agent that helps customers with their inquiries."
}

Response

Successful Response

agent_namestring required

Unique identifier for the agent.

descriptionstring nullable
agent_numberinteger required

Unique number assigned to the agent.

created_atstring date-time required
deprecated_atstring date-time nullable

Example response

{
  "agent_name": "customer-support-agent",
  "agent_number": 1,
  "created_at": "2023-01-01T00:00:00Z",
  "description": "An agent that helps customers with their inquiries."
}
All 9 operations