---
title: "List agents"
method: GET
path: "/v1/agents"
tags: ["Agents"]
---

# List agents

`GET /v1/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.

## Query parameters

- `workspaceId` string, uuid, required — Filter agents by workspace ID (required)
- `includeDeleted` string — Include soft-deleted agents (default: false)

## Response `200`

Array of agents in the workspace

- Agent[]
  - `id` string, uuid, required — Unique agent identifier
  - `workspaceId` string, uuid, required — Workspace ID that owns this agent
  - `name` string, required — Agent name
  - `prompt` string, nullable, required — System prompt for the agent
  - `voiceConfig` object, nullable, required — Voice configuration settings (JSON)
  - `widgetConfig` object, nullable, required — Widget appearance settings (JSON)
  - `language` string, nullable, required — Agent language code
  - `createdAt` string, date-time, required — Agent creation timestamp
  - `updatedAt` string, date-time, required — Agent last update timestamp
  - `deletedAt` string, date-time, nullable, required — Soft delete timestamp (null if active)

## Other responses

- `400` — Validation error - missing or invalid workspaceId
- `401` — Missing or invalid API key
- `404` — Workspace not found (includes unauthorized access for security)

---

[API](https://skmtc.net/nedzo/apis/nedzo-api.md) · [All operations](https://skmtc.net/nedzo/apis/nedzo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nedzo/nedzo-api/revisions/f2607cdb56fa/schema)
