Request

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

Security
HTTPBearer
Path
siteNamestring(Sitename)required

The unique name of the site. To get this name, use List sites.

Example:skate-park
Query
languagestring(Language)

The language code for filtering pages.

Default:"en"
Example:language=en
Headers
x-sc-job-idany(X-Sc-Job-Id)

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
curl -i -X GET \
  'https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/sites/skate-park/pages?language=en' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-sc-job-id: job-1234'

Responses

Successful response

Bodyapplication/json
Array [
idstring, (uuid)(Id)

The unique identifier of the page.

Example:"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
pathstring(Path)

The path to the page.

Example:"/content/pages/3f2504e0-4f89-11d3-9a0c-0305e82c3301"
]
Response
[ { "id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "path": "/content/pages/3f2504e0-4f89-11d3-9a0c-0305e82c3301" } ]