Response structure and objects

The following table describes the objects and keys that might be included in the response:

ItemDescription
tsThe timestamp of the server in milliseconds.
dtThe response processing time in milliseconds.
ridThe generated unique string for the response ID.
query2idUnique ID of the query string sent in each type of query.
request_forContains a modified keyphrase if a suggestion parameter is added in the request.
facetAvailable facets or attributes. The following key is related to facet
- determines the order of the returned facets.
filterAny filters selected in the request.
suggestionSuggestions for the types provided.
appearanceHTML or CSS templates and variables for rendering a widget.
redirect_urlURL that the search redirects to, depending on the keyphrase. This is query.keyphrase related.
contentThe result items for different types requested. The followings keys are related to content
- number of content items reported.total_item - total number of content items available.page_number - current page number of the content results.total_page - number of content pages available.url - URL that represents the search request.
widgetThe widget used to generate the response. The following keys are related to widget
- unique experiment identifier for the split test entity in the Customer Engagement Console (CEC).experiment_bucket - unique generated string representing a bucket that the user is assigned to.variation_id - unique identifier that represents the variation in the CEC.
batchA list of response keys or values that are specific to corresponding batched requests. It is a list of objects that you can use to override response-specific parameters.
errorsReturned if any errors were encountered while processing the request. A list of all such errors, with a message, description, severity level, and code for each of them is returned.
context_valuesReturns any context values requested in the request.
If you have suggestions for improving this article, let us know!