Sitecore Experience Edge for XM Preview GraphQL endpoint

Current version: 20.x

The Sitecore Experience Edge for XM Preview GraphQL endpoint is a GraphQL endpoint based on the Sitecore GraphQL API. The endpoint mirrors the schema and behavior of Sitecore Experience Edge for XM. It enables preview, editing, and local development without publishing to Experience Edge.

The following topics describe how to use the Preview GraphQL endpoint:

Important

We do not support extending the mirrored schema on your Sitecore CM and CD roles. Extending the schema would break compatibility with Experience Edge. If you want custom schemas, use the Sitecore GraphQL API.

When performing search queries using the Preview endpoint, there are additional fields available compared to querying the Experience Edge endpoint. Therefore, for search queries against the Experience Edge endpoint, use only the fields described in the Experience Edge documentation.

Do you have some feedback for us?

If you have suggestions for improving this article,