Sitecore API catalog/Agent API//
- List personalization variants by page
Create a personalization variant
List personalization condition templates
Retrieve a personalization condition template
Update a personalization variant for a page
Hide a component on the default page variant
Create a personalization variant
List personalization variants by page
List personalization vari...
Retrieves all personalization variants defined for a specific page, including IDs, names, creation dates, and associated variants.
Security
HTTPBearer
The unique identifier of the page for which to retrieve personalization versions. To get this ID, use List pages of a site.
Example:3f2504e0-4f89-11d3-9a0c-0305e82c3301
- Production serverhttps://edge-platform.sitecorecloud.io/stream/ai-agent-api/api/v2/personalization/by-page/{pageId}
- 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/v2/personalization/by-page/3f2504e0-4f89-11d3-9a0c-0305e82c3301?language=en' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-job-id: job-1234'Successful response
Array []
The unique identifier of the page.
Example:"3f2504e0-4f89-11d3-9a0c-0305e82c3301"
The name of the audience targeted by the variant.
Example:"Returning Visitors"
Response
- string
- null
[ { "page_id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301", "variant_name": "Variant A", "audience_name": "Returning Visitors", "template": "Default Template", "condition_groups": [] } ]