v1
latestOpenAPI 3.1.02026-07-241765501.1 MBRetrieve by intent
Retrieves AI powered product discovery suggestions based on conversational free-form text. Returns results in small batches using a real time Server-sent Events stream for a dynamic user experience.
Path parameters
The query provided by the user as free-form text.
The query provided by the user as free-form text.
Query parameters
The key of the index to use.
The key of the index to use.
A unique identifier for the conversation thread. This ID links multiple requests to the same conversation.
A unique identifier for the conversation thread. This ID links multiple requests to the same conversation.
A URL-encoded JSON string containing filters (inaccessible to end users) used to narrow the result set. Applied before filters accessible to end users. Does not affect facet counts. Only results that match the filters are returned. More details on https://docs.constructor.com/reference/shared-pre-filter-expressions
A URL-encoded JSON string containing filters (inaccessible to end users) used to narrow the result set. Applied before filters accessible to end users. Does not affect facet counts. Only results that match the filters are returned. More details on https://docs.constructor.com/reference/shared-pre-filter-expressions
The domain specifying a set of specific instructions for processing the intent, e.g., 'recipes', 'sportsgear'.
The domain specifying a set of specific instructions for processing the intent, e.g., 'recipes', 'sportsgear'.
Enable or disable the moderation check.
Enable or disable the moderation check.
The maximum number of result events to return.
The maximum number of result events to return.
Deprecated. Please, use num_results_per_event instead.
Deprecated. Please, use num_results_per_event instead.
The maximum number of results to return per search_result event.
The maximum number of results to return per search_result event.
An object containing options to format different aspects of the response.
A URL-encoded JSON string. More details on https://docs.constructor.com/reference/search-search-results#using-the-qs-parameter
A URL-encoded JSON string. More details on https://docs.constructor.com/reference/search-search-results#using-the-qs-parameter
The id of the client and version that the request is coming from, such as cio-js-2.90.
The id of the client and version that the request is coming from, such as cio-js-2.90.
A customer defined context (such as vip-club-member) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple us arguments.
A customer defined context (such as vip-club-member) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple us arguments.
A customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps constructor to tie multiple client and session ID's together to form a behavioral data profile across devices.
A customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps constructor to tie multiple client and session ID's together to form a behavioral data profile across devices.
An integer representing the users session number (starting with 1), incremented after a 30 minute period of inactivity.
An integer representing the users session number (starting with 1), incremented after a 30 minute period of inactivity.
A globally unique identifier for the user browser (or mobile application instance) making the request.
A globally unique identifier for the user browser (or mobile application instance) making the request.
Response
SSE stream containing a series of events with discovered items or AI generated textual messages.