Sitecore API catalog/Agent API//
- Retrieve a site ID from an item ID
List sites
Retrieve the site details
List pages of a site
Retrieve a site ID from a...
Retrieves the site ID associated with a specific item ID. This is useful for determining which site an item belongs to.
Security
HTTPBearer
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/sites/site-id-from-item/{itemId}
- 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/sites/site-id-from-item/3f2504e0-4f89-11d3-9a0c-0305e82c3301 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
The unique identifier of the site root item.
Example:"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
The display name of the site root.
Example:"Skate Park"
Response
{ "siteRootItemId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "siteRootDisplayName": "Skate Park", "siteRootName": "Skate Park" }