---
title: "List pages (slug, path, block counts)"
method: GET
path: "/api/v1/sites/{subdomain}/pages"
tags: ["sites"]
---

# List pages (slug, path, block counts)

`GET /api/v1/sites/{subdomain}/pages`

## Request

- Base URL: `https://slatehut.com`
- URL: `https://slatehut.com/api/v1/sites/{subdomain}/pages`
- Auth: HTTP bearer

Returns a lightweight summary per page. Full `SitePageDef` is available via `GET …/pages/{pagePath}`.

## Response `200`

Page summaries

- SitePageListResponse
  - `pages` SitePageSummary[], required
    - `slug` string, required
    - `path` string, required
    - `title` string
    - `blockCount` integer, required
    - `templateBlockCount` integer
    - `hasDynamic` boolean, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Not allowed for this resource
- `404`: Resource not found

---

[API](https://skmtc.dev/slatehut/apis/slatehut-api.md) · [All operations](https://skmtc.dev/slatehut/apis/slatehut-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slatehut/apis/slatehut-api/revisions/32dae277550c?raw)
