Skip to main content
An agent is a deployed conversational AI, owned by a project. What the agent actually does is defined by its versions — exactly one version is live at a time, referenced by the agent’s live_version_id.

Create an agent

cURL

POST /management/v1/projects/{projectId}/agents

name
string
required
Agent name — 2 to 50 characters, and not only whitespace.
New agents start without a live version — create and publish a version to make the agent answer.

List agents

GET /management/v1/projects/{projectId}/agents

Lists the project’s agents as a paginated list.
name
string
Case-insensitive substring match on the agent name.

Get an agent

GET /management/v1/agents/{agentId}

Returns one agent, including which version is currently live (live_version_id).

Rename an agent

PATCH /management/v1/agents/{agentId}

name
string
The new agent name — 2 to 50 characters, and not only whitespace.
Renaming is the only update here — to change which version is live, publish a version instead.

Delete an agent

DELETE /management/v1/agents/{agentId}

Deletes the agent and all of its versions. This cannot be undone. Returns 204.

Agent usage

GET /management/v1/agents/{agentId}/usage

Usage metrics for this agent — see Usage.