---
title: "List a thread's turns"
description: "Returns the thread's turns (projected from the event log), oldest first."
api_method: GET
api_path: "/v1/agent-runs/{runId}/threads/{threadId}/turns"
canonical_url: https://wiblo.app/docs/developers/api/agent-threads/list-agent-turns
last_updated: 2026-07-28T17:31:44+02:00
md_url: https://wiblo.app/docs/developers/api/agent-threads/list-agent-turns.md
---

# List a thread's turns

`GET /v1/agent-runs/{runId}/threads/{threadId}/turns`

Returns the thread's turns (projected from the event log), oldest first. Cross-tenant probes and unknown ids collapse onto the same 404 `AGENT_THREAD_NOT_FOUND` envelope. Per-user rate-limited at 120/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `runId` | `string` | Yes |  |
| `threadId` | `string` | Yes |  |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/agent-runs/{runId}/threads/{threadId}/turns \
  -H "Authorization: Bearer $WIBLO_TOKEN"
```

**TypeScript**

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

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

const { data, error } = await listAgentTurns({
  client: sdk,
  path: { runId: "...", threadId: "..." },
})
```

## Responses

**`200`** — The thread's turns. Returns `TurnListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `turns` | `array<AgentTurn>` | Yes |  |

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

**`404`** — No thread visible to the caller with this id in this run (`AGENT_THREAD_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 AgentTurn object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes |  |
| `threadId` | `string` | Yes |  |
| `runId` | `string` | Yes |  |
| `status` | `"running" \| "completed" \| "aborted" \| "awaiting_approval" \| "awaiting_input" \| "error"` | Yes |  |
| `startedSeq` | `integer` | Yes |  |
| `createdAt` | `string` | Yes |  |
| `completedAt` | `string \| null` | Yes |  |
