Sitecore API catalog/Agent API//
- Retrieve the site details
List sites
List pages of a site
Retrieve a site ID from an item ID
Retrieve the site details
Retrieves the details of a specific site including its ID, name, and root path.
Security
HTTPBearer
The unique identifier of the site. To get this ID, use List sites.
Example:3f2504e0-4f89-11d3-9a0c-0305e82c3301
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/sites/{siteId}
- 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/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 item.
Example:"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
Information about the brand associated with the site.
Example:"Skate park brand guidelines"
A list of page locations (pages and page folders) associated with the site. The is_page_folder flag helps identify which ones are pages and which ones are page folders.
Response
{ "itemId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "skate-park", "brand_information": "Skate park brand guidelines", "rootPath": "/sitecore/content/SkatePark", "page_locations": [ { … } ], "non_visual_content_locations": [ { … } ] }