Access token Authentication
the context object used for dynamic data
Context used to exclude specific items by id
The pathname of the page
The query string of the page
The recently viewed items
Example how to pass dynamic context - The dynamic gender context
Successful response
The render data object - includes the recommendations and the element details
The element details
The element's name
The element's hook - the element used to render the recommendations
The element's html
The element's JavaScript'
The element's CSS
The element's id
Can the element be previewed
Whether the element is enabled. If "true" the element is published and can be used live.
The localization settings for the element - this is where you can set language specific content
The maximum number of recommendations to return
The minimum number of recommendations to return
Whether to return no recommendations
The preview links used to preview the element
An inactive ruleset
The SEML version used to render the element
The template type used to render the element
The TTS settings used for a search element. This only applies to search elements.
Primary search enabled
Trigger type for primary search
The value of the trigger for primary search
Whether TTS is enabled
Trigger type for TTS
The value of the trigger for TTS
The predictions array
Bad request
Unauthorized
Forbidden
Internal server error