---
title: "List the workspace's websites"
description: "Every site of the workspace: the display name from its repo, the slug, the region, the status, the live URL, the published version number, and the newest version's number or status."
api_method: GET
api_path: "/v1/workspaces/{workspaceId}/sites"
canonical_url: https://wiblo.app/docs/developers/api/sites/list-workspace-sites
last_updated: 2026-09-28T10:47:20+02:00
md_url: https://wiblo.app/docs/developers/api/sites/list-workspace-sites.md
---

# List the workspace's websites

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

Every site of the workspace: the display name from its repo, the slug, the region, the status, the live URL, the published version number, and the newest version's number or status. The source of `wiblo sites list`. Every active member may call it, and a run's workspace key is an expected bearer. No Vercel id ever crosses the wire. 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}/sites \
  -H "Authorization: Bearer $WIBLO_TOKEN"
```

**TypeScript**

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

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

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

## Responses

**`200`** — The workspace's sites. Returns `SiteListResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `sites` | `array<SiteSummary>` | 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 SiteSummary object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes |  |
| `repo_id` | `string \| null` | Yes |  |
| `display_name` | `string` | Yes |  |
| `slug` | `string` | Yes |  |
| `region` | `"iad1" \| "sfo1" \| "cpt1" \| "syd1" \| "lhr1"` | Yes |  |
| `status` | `"provisioning" \| "ready" \| "failed" \| "archived"` | Yes |  |
| `live_url` | `string \| null` | Yes |  |
| `published_version` | `integer \| null` | Yes | The number of the version the live URL serves; null while nothing is published. |
| `latest_version` | `object \| null` | Yes | The newest version that is `queued`, `building`, `ready`, or `error`, with its `number` and its `status`. The `number` is null until that version is first ready. An `error` version whose deployment is gone keeps the number it had. Null when the site has no such version. |
| `latest_version.number` | `integer \| null` | Yes |  |
| `latest_version.status` | `string` | Yes |  |
| `created_at` | `string` | Yes |  |
| `updated_at` | `string` | Yes |  |
