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

# List agents

`GET /agents`

Lists non-deleted agents in a workspace.

## Query parameters

- `workspaceId` integer
- `search` string
- `max` integer
- `offset` integer

## Response `200`

OK

- ListAgentsResponse
  - `agents` AgentDbDto[]
    - `agentInstructions` string
    - `agentInstructionsTemplateId` string, nullable
    - `createdBy` integer
    - `dateCreated` string, date-time
    - `description` string, nullable
    - `id` string
    - `lastUpdated` string, date-time
    - `name` string
    - `status` 'active' | 'inactive' | 'deleted'
    - `updatedBy` integer
    - `workspaceId` integer
  - `totalSize` integer

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

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