Logo
The Agent API v2.0 release and endpoint updates page has loaded.

SitecoreAI Changelog

Learn more about new versions, changes and improvements for SitecoreAI

Agent API v2.0 release and endpoint updates

SitecoreAISitecoreAI
New featureImprovementAction required

The Agent REST API v2.0 introduces new endpoints for experiments, personalization, briefs, and flow definitions, along with deprecated v1.0 personalization endpoints and a breaking change to the brief generation path.

New endpoints

Experiments

Use these endpoints to create and update component-level A/B/n tests.

  • POST /api/v1/experiments/flows - create a new component A/B/n test.

  • PUT /api/v1/experiments/{flowId} - update a component A/B/n test.

Personalization

Use these endpoints to create, list, and update personalization variants for a page.

  • POST /api/v2/personalization/{pageId}/versions - create a personalization variant (v2.0).

  • GET /api/v2/personalization/{pageId}/versions - list personalization variants (v2.0).

  • PUT /api/v1/personalization/{pageId}/versions/{variantId} - update a personalization variant.

Flow definitions

Use these endpoints to retrieve and configure flow definitions (personalizations and A/B/n tests).

  • GET /api/v1/flows/by-page/{pageId} - list all flow definitions (A/B tests and personalization) for a page.

  • GET /api/v1/flows/{flowId} - retrieve flow definition details by ID.

  • GET /api/v1/flows/{flowId}/variants/{variantId} - retrieve a specific flow definition variant.

  • POST /api/v1/flows/{flowId}/variants/{variantId} - configure a flow definition variant.

Briefs

Use these endpoints to retrieve and update briefs and brief type definitions.

  • GET /api/v1/brief/brief-types/{brief_type_id} - retrieve a brief type by ID.

  • GET /api/v1/brief List briefs - retrieve all available briefs.

  • GET /api/v1/brief/{brief_id} - retrieve a brief by ID.

  • PUT /api/v1/brief/{brief_id} - update a brief.

Breaking change

The brief generation endpoint path has changed to keep make the brief endpoint structure consistent.

Old: POST /api/v1/briefs/generate
New: POST /api/v1/brief/generate

Required action: Update all hardcoded references to the new endpoint. Existing integrations using the old path will break.

Deprecated V1 endpoints

The following personalization v1.0 endpoints are deprecated and will be removed on August 4, 2026.

  • GET /api/v1/personalization/by-page/{pageId}

  • POST /api/v1/personalization/{pageId}/versions

Migration guidance: Use the v2.0 personalization endpoints moving forward.