Skip to main content
PUT
/
api
/
v1
/
agents
Create Agent
curl --request PUT \
  --url https://evals.voker.ai/api/v1/api/v1/agents \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_name": "<string>",
  "description": "<string>"
}
'
{
  "agent_name": "<string>",
  "agent_number": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "deprecated_at": "2023-11-07T05:31:56Z"
}

Headers

Authorization
string
required
Example:

"Bearer 123"

Body

application/json

Create an agent.

See Creating an Agent for more information.

agent_name
string
required

Unique identifier for the agent.

description
string | null

Response

Successful Response

Represents an agent.

See Agents for more information.

agent_name
string
required

Unique identifier for the agent.

agent_number
integer
required

Unique number assigned to the agent.

created_at
string<date-time>
required
description
string | null
deprecated_at
string<date-time> | null