---
title: "List the workspace's managed repos"
description: "Every repo in the workspace registry (WIBLO-155): display name, purpose (site or the base agent project), status, default branch, and the REAL clone URL..."
api_method: GET
api_path: "/v1/workspaces/{workspaceId}/repos"
canonical_url: https://wiblo.app/docs/developers/api/repos/list-workspace-repos
last_updated: 2026-07-28T17:31:44+02:00
md_url: https://wiblo.app/docs/developers/api/repos/list-workspace-repos.md
---

# List the workspace's managed repos

`GET /v1/workspaces/{workspaceId}/repos`

Every repo in the workspace registry (WIBLO-155): display name, purpose (site or the base agent project), status, default branch, and the REAL clone URL once the repo is ready — the discovery surface behind `wiblo repos list` and native `git clone` inside a sandbox. The sandbox's per-session workspace key (`wbl_ephem_ws_*`) is an expected bearer. Per-user rate-limited at 60/60s.

## Path parameters

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

## Request

**curl**

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

**TypeScript**

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

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

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

## Responses

**`200`** — The workspace repo registry. Returns `WorkspaceRepoListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `repos` | `array<WorkspaceRepoSummary>` | Yes |  |

**`401`** — No valid session, `wbl_*` bearer, or run token was present. Returns `ApiErrorEnvelope`.

**`404`** — Workspace not visible to the caller (`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 WorkspaceRepoSummary object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes |  |
| `display_name` | `string` | Yes |  |
| `purpose` | `"site" \| "agent-base" \| "app" \| "other"` | Yes |  |
| `status` | `"provisioning" \| "ready" \| "failed" \| "archived"` | Yes |  |
| `default_branch` | `string` | Yes |  |
| `clone_url` | `string \| null` | Yes |  |
| `created_at` | `string` | Yes |  |
| `updated_at` | `string` | Yes |  |
