---
title: "List a workspace's agent runs"
description: "The chats-sidebar projection: every run visible to the caller in the workspace, newest activity first, capped at 100 rows."
api_method: GET
api_path: "/v1/workspaces/{workspaceId}/agent-runs"
canonical_url: https://wiblo.app/docs/developers/api/agent-runs/list-agent-runs
last_updated: 2026-07-28T17:31:44+02:00
md_url: https://wiblo.app/docs/developers/api/agent-runs/list-agent-runs.md
---

# List a workspace's agent runs

`GET /v1/workspaces/{workspaceId}/agent-runs`

The chats-sidebar projection: every run visible to the caller in the workspace, newest activity first, capped at 100 rows. `title` and `provider` come from each run's default (earliest) thread. Cross-tenant probes and unknown workspaces collapse onto the same 404 `WORKSPACE_NOT_FOUND` envelope. Per-user rate-limited at 120/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | `string` | Yes |  |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/workspaces/{workspaceId}/agent-runs \
  -H "Authorization: Bearer $WIBLO_TOKEN"
```

**TypeScript**

```ts
import { createSdk, listAgentRuns } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await listAgentRuns({
  client: sdk,
  path: { workspaceId: "..." },
})
```

## Responses

**`200`** — The workspace's runs, newest activity first. Returns `ListAgentRunsResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `runs` | `array<AgentRunSummary>` | Yes |  |

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — Caller has no active membership in the workspace, or it does not exist (`WORKSPACE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed UUID validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.

### The AgentRunSummary object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes |  |
| `workspaceId` | `string` | Yes |  |
| `status` | `"pending" \| "running" \| "idle" \| "awaiting_approval" \| "awaiting_input" \| "completed" \| ...` | Yes |  |
| `provider` | `object` | Yes |  |
| `model` | `string \| null` | Yes |  |
| `title` | `string \| null` | Yes |  |
| `createdAt` | `string` | Yes |  |
| `updatedAt` | `string` | Yes |  |
