---
title: "List the run's workspace repos"
description: "Every git checkout directly under the run's sandbox root (WIBLO-131), scanned live: folder, credential-free remote, branch, HEAD commit, dirty flag."
api_method: GET
api_path: "/v1/agent-runs/{runId}/repos"
canonical_url: https://wiblo.app/docs/developers/api/agent-run-repos/list-agent-run-repos
last_updated: 2026-07-28T17:31:44+02:00
md_url: https://wiblo.app/docs/developers/api/agent-run-repos/list-agent-run-repos.md
---

# List the run's workspace repos

`GET /v1/agent-runs/{runId}/repos`

Every git checkout directly under the run's sandbox root (WIBLO-131), scanned live: folder, credential-free remote, branch, HEAD commit, dirty flag. Wiblo-managed remotes are redacted (managed handles are internal). Requires a live sandbox session. Per-user rate-limited at 60/60s.

## Path parameters

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

## Request

**curl**

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

**TypeScript**

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

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

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

## Responses

**`200`** — The workspace repo listing. Returns `AgentReposListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `runId` | `string` | Yes |  |
| `repos` | `array<AgentRepoEntry>` | Yes |  |

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

**`404`** — No run visible to the caller with this id (`AGENT_RUN_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`409`** — No live sandbox session holds the worktree (`AGENT_SANDBOX_UNAVAILABLE`). 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 AgentRepoEntry object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `folder` | `string` | Yes |  |
| `remote` | `string \| null` | No | Defaults to `null`. |
| `branch` | `string \| null` | No | Defaults to `null`. |
| `commit` | `string \| null` | No | Defaults to `null`. |
| `dirty` | `boolean` | Yes |  |
