This section describes how to work with the GraphQL API used in the Optimizely querying service, for retrieving content in Optimizely solutions.
How it works
GraphQL APIs are organized in terms of types and fields, and data can be accessed from a single endpoint. GraphQL uses types to ensure querying applications only ask for what is available.
The GraphQL API generates a schema based on the content that has been synchronized from the site. A "public key" is needed to access the schema and content. When generating a service account, you will receive the public key.
Published content will be available near real-time for searches and queries. The content is normally available within a minute after it has been published.

Related topics
Last updated: Jan 04, 2021