Sitecore API catalog/Agent API//
- Retrieve the page template by ID
Create a page
Add a language version to a page
Add a component to a page
Retrieve components on a page
Set the component datasource
Search for pages on a site
Retrieve the page by live URL
Retrieve the screenshot of a page
Retrieve the page HTML
Retrieve the page preview URL
Retrieve the page details
List allowed components for a placeholder
Move a component on a page
Remove component on page
Retrieve the page templat...
Retrieves the details of a specific page template, including its fields and settings. Use this endpoint to understand the structure and available fields of a template before creating a page.
Security
HTTPBearer
The unique identifier of the page template. To get this ID, you can use the List templates of a site endpoint.
Example:templateId=2341ef32-42f4-4537-98d8-9ef741008eab
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v1/pages/template-by-id
- 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/pages/template-by-id?templateId=2341ef32-42f4-4537-98d8-9ef741008eab' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
Response
{ "templateId": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "name": "Full Width Page", "fields": [ { … } ] }