Skip to main content
Base path: /agents

Types


Create a new agent

Default Model Config (applied when modelConfig is omitted):
Default Memory Config (applied when memoryConfig is omitted):
Status Codes:
Response:

List all agents

Status Codes:
Response:

Get a single agent by ID

Status Codes:

Update an agent

Status Codes:
Response:

Soft delete an agent

Status Codes:

Activate a draft agent

Status Transitions: Status Codes:

Archive an active agent

Status Transitions: Status Codes:

Restore an archived agent back to active status

Status Transitions: Status Codes:

Test an agent in playground mode

If the agent has a knowledgeBaseConfig, RAG retrieval is performed against the linked knowledge base before generating the response. Status Codes:
Response:

Agent Status Lifecycle

Transitions: Constraints:
  • Only active agents can be used in CONNECT_AGENT call flow nodes
  • Only active agents can start new conversations
  • Deleting an agent is a soft delete (sets deletedAt timestamp)
  • Soft-deleted agents are excluded from all list endpoints

Supported Models


Credit Costs

See Credit API for detailed pricing.