---
title: "List Agents"
method: GET
path: "/api/v1/agent"
---

# List Agents

`GET /api/v1/agent`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/agent`
- Auth: none declared

The workspace's agent runs, newest first. `status` keeps one status,
`model` one model's runs (as runs name it, e.g. `openai:gpt-5.4-mini`),
`since` / `until` the runs made from / before a date or date-time.

## Query parameters

- `limit` integer
- `cursor` string, nullable
- `status` string, nullable
- `model` string, nullable
- `since` string, nullable
- `until` string, nullable

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Response `200`

Successful Response

- AgentList
  - `data` AgentSummary[], required
    - `id` string, required
    - `prompt` string, required
    - `status` string, required
    - `model` string, required
    - `steps` integer, required
    - `threadId` string
    - `continuesRunId` string, nullable
    - `continuedBy` string, nullable
    - `followsRunId` string, nullable
    - `followedBy` string, nullable
    - `creditsUsed` integer, required
    - `error` string, required
    - `createdAt` string, nullable
    - `startedAt` string, nullable
    - `finishedAt` string, nullable
  - `next` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mesharc/apis/mesharc-api.md) · [All operations](https://skmtc.dev/mesharc/apis/mesharc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mesharc/apis/mesharc-api/revisions/d63cc02dfec2?raw)
