# List pages of a site

Retrieves a list of pages for a specific site, including each page's ID and path. You can optionally filter the pages by language.

Endpoint: GET /api/v1/sites/{siteName}/pages
Version: v2.0
Security: HTTPBearer

## Security:

  - `HTTPBearer` (unknown)
    http bearer JWT

## Path parameters:

  - `siteName` (string, required)
    The unique name of the site. To get this name, use [List sites](#operation/sites-get_sites_list).

## Query parameters:

  - `language` (string)
    The language code for filtering pages.

## Header parameters:

  - `x-sc-job-id` (any)
    A unique identifier for the job, used to trace, audit, and revert actions performed by an AI agent through the Agent API.

## Response 200:

  - `200` (unknown)
    Successful response

## Response 200 fields (application/json):

  - `id` (string)
    The unique identifier of the page.
    Example: 3f2504e0-4f89-11d3-9a0c-0305e82c3301

  - `path` (string)
    The path to the page.
    Example: /content/pages/3f2504e0-4f89-11d3-9a0c-0305e82c3301

## Response 422:

  - `422` (unknown)
    Unprocessable entity

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array)
    The location of the error in the request.

  - `detail.msg` (string)
    The error message.

  - `detail.type` (string)
    The type of error.

  - `detail.input` (any)
    The input that caused the error.

  - `detail.ctx` (object)
    The context in which the error occurred.

