Type alias GraphQLPersonalizeServiceConfig

GraphQLPersonalizeServiceConfig: CacheOptions & {
    apiKey: string;
    endpoint: string;
    fetch?: typeof fetch;
    scope?: string;
    timeout?: number;
}

Type declaration

  • apiKey: string

    The API key to use for authentication

  • endpoint: string

    Your Graphql endpoint

  • Optional fetch?: typeof fetch

    Override fetch method. Uses 'GraphQLRequestClient' default otherwise.

  • Optional scope?: string

    Optional Sitecore Personalize scope identifier allowing you to isolate your personalization data between XM Cloud environments

  • Optional timeout?: number

    Timeout (ms) for the Personalize request. Default is 400.

Generated using TypeDoc