Request

Retrieves the details of a specific site including its ID, name, and root path.

Security
HTTPBearer
Path
siteIdstring, (uuid)(Siteid)required

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

Example:3f2504e0-4f89-11d3-9a0c-0305e82c3301
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/3f2504e0-4f89-11d3-9a0c-0305e82c3301 \
  -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 item.

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

The name of the site.

Example:"skate-park"
brand_informationstring(Brand Information)

Information about the brand associated with the site.

Example:"Skate park brand guidelines"
rootPathstring(Rootpath)

The root path of the site.

Example:"/sitecore/content/SkatePark"
page_locationsArray of objects(Page Locations)

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.

non_visual_content_locationsArray of objects(Non Visual Content Locations)

A list of non-visual content locations associated with the site.

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": [ { … } ] }