---
title: "List Agents"
method: GET
path: "/agents"
---

# List Agents

`GET /agents`

Return a flat list of agent sessions for the web GUI grid.

When ``TaskStore.agents`` is empty (e.g. only mock adapters spawned and
they never heartbeat) we fall back to synthesising one entry per
claimed/in-progress task, marked with ``"synthetic": true``. That keeps
the GUI grid populated during demos and avoids the dreaded "0 sessions"
empty state when work is obviously in flight.

## Response `200`

Successful Response

- object[]

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/versions/86f514b4e920/schema)
