# 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

## Path parameters:

  - `siteName` (string, required)
    The unique name of the site. To get this name, use List sites.
    Example: "skate-park"

## Query parameters:

  - `language` (string)
    The language code for filtering pages.
    Example: "en"

## 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.
    Example: "job-1234"

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


