Sitecore API catalog/Agent API//
- Retrieve the component details
Create a component datasource
Search for component datasources
List components
Retrieve the component de...
Retrieves the details of a specific component, including its ID, name, and datasource options.
Security
HTTPBearer
The unique identifier of the component. To get this ID, use List components of a page.
Example:86a03271-dff4-470a-92bd-b68c67de2e25
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/components/{componentId}
- 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/components/86a03271-dff4-470a-92bd-b68c67de2e25 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
The unique identifier of the component.
Example:"86a03271-dff4-470a-92bd-b68c67de2e25"
Example:"9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f"
Any of:
The template ID for the component's datasource. May be None if the component has no datasource template.
string (uuid)
A list of locations for the component's datasource.
Example:
[ "query:$site/*[@@name='Data']/*[@@templatename='Promo Folder']" ]
The path to the datasource template.
Default:""
Example:"Feature/JSS Experience Accelerator/Page Content/Promo"
Whether the datasource is auto-generated.
Example:false
Response
{ "id": "86a03271-dff4-470a-92bd-b68c67de2e25", "name": "Promo", "datasourceTemplateId": "9f8c7e6d-5b4a-4c3d-8e7f-1a2b3c4d5e6f", "datasourceLocations": [ "query:$site/*[@@name='Data']/*[@@templatename='Promo Folder']" ], "datasourceTemplatePath": "Feature/JSS Experience Accelerator/Page Content/Promo", "datasourceFields": [ { … } ], "datasourceAutoGenerated": false, "datasourceRequired": true, "hasDynamicPlaceholder": true }