---
title: Read one website
description: One site with its address and its published version.
api_method: GET
api_path: "/v1/workspaces/{workspaceId}/sites/{siteId}"
canonical_url: https://wiblo.app/docs/developers/api/sites/get-workspace-site
last_updated: 2026-09-28T10:47:20+02:00
md_url: https://wiblo.app/docs/developers/api/sites/get-workspace-site.md
---

# Read one website

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

One site with its address and its published version. A site of another workspace collapses onto the same 404 `SITE_NOT_FOUND` as a missing id. Per-user rate-limited at 60/60s.

## Path parameters

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

## Request

**curl**

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

**TypeScript**

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

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

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

## Responses

**`200`** — The site. Returns `SiteSummary`.

| 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 |  |

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

**`404`** — Workspace not visible to the caller (`WORKSPACE_NOT_FOUND`), or no site with that id in it (`SITE_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`.
