- Retrieve the page by live URL
Resolves a public live URL to its corresponding page in Sitecore. Use this endpoint when you know the URL of a published page and need to identify the page behind it.
Whether to search the site's published routes when the standard lookup cannot find the page. Set to true when a page you know exists is returned as not found, for example when its public URL differs from its item name in Sitecore. This lookup can take significantly longer.
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/path-by-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/path-by-url?live_url=https%3A%2F%2Fwww.sitecore.com%2Fsitecore%2Fcontent%2FVerticals%2FSkatePark%2FHome&deep=false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
The unique identifier of the page.
The language in which the page was resolved. For locale-prefixed URLs, such as /fr/..., this reflects the language identified from the URL. Use the returned language value in subsequent requests to read or update the page’s field values for the correct language version; otherwise, the request may default to English.
{ "itemId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "Home", "hasPresentation": true, "template": { "templateId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "Full Width Page" }, "insertOptions": [ { … } ], "language": "en" }