v1

latestOpenAPI 3.0.02026-08-063524105.9 KB
Agents

List agents

List all agents in a workspace. Soft-deleted agents are excluded by default. Use includeDeleted=true to include them. Returns 404 for unauthorized workspace access.

get/v1/agents

Query parameters

workspaceIdstring uuid required

Filter agents by workspace ID (required)

Example:789e4567-e89b-12d3-a456-426614174000
includeDeletedstring

Include soft-deleted agents (default: false)

Example:false

Response

Array of agents in the workspace

idstring uuid required

Unique agent identifier

workspaceIdstring uuid required

Workspace ID that owns this agent

namestring required

Agent name

promptstring nullable required

System prompt for the agent

voiceConfigobject nullable required

Voice configuration settings (JSON)

widgetConfigobject nullable required

Widget appearance settings (JSON)

languagestring nullable required

Agent language code

createdAtstring date-time required

Agent creation timestamp

updatedAtstring date-time required

Agent last update timestamp

deletedAtstring date-time nullable required

Soft delete timestamp (null if active)

Example response

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "workspaceId": "789e4567-e89b-12d3-a456-426614174000",
    "name": "Customer Support Agent",
    "prompt": "You are a helpful customer support assistant...",
    "voiceConfig": {
      "provider": "elevenlabs",
      "voiceId": "voice_123"
    },
    "widgetConfig": {
      "primaryColor": "#007bff",
      "position": "bottom-right"
    },
    "language": "en",
    "createdAt": "2025-12-11T12:00:00Z",
    "updatedAt": "2025-12-11T12:00:00Z"
  }
]