Request

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.

Security
HTTPBearer
Query
live_urlstring, (uri), [ 1 .. 2083 ] characters(Live Url)required

The full public URL of the page to resolve. The URL must be absolute and include the page path.

Example:live_url=https://www.sitecore.com/sitecore/content/Verticals/SkatePark/Home
deepboolean(Deep)

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.

Default:false
Example:deep=false
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/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'

Responses

Successful response

Bodyapplication/json
itemIdstring, (uuid)(Itemid)

The unique identifier of the page.

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

The name of the page.

Example:"Home"
hasPresentationboolean(Haspresentation)

Whether the page has presentation details.

Example:true
templateobject(PagePathTemplateModel)

The template details of the page.

insertOptionsArray of objects(Insertoptions)

Insert options for the page.

languagestring(Language)

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.

Default:"en"
Example:"en"
Response
{ "itemId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "Home", "hasPresentation": true, "template": { "templateId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "Full Width Page" }, "insertOptions": [ { … } ], "language": "en" }