Object ID of the item for which to get recommendations.
number
required
Threshold for the recommendations’ confidence score (between 0 and 100).
Only recommendations with a score greater than the threshold are returned.
object
Search parameters to use as fallback when there are no recommendations,
except: page, hitsPerPage, offset, length.
integer
Maximum number of recommendations to retrieve.
Depending on the available recommendations and the other request parameters, the actual number may be lower.
If maxRecommendations isn’t provided or set to 0,
all matching recommendations are returned,
and no fallback request is performed.
object
Search parameters for filtering the recommendations,
except: page, hitsPerPage, offset, length.
Response
object[]
List of results in the order they were submitted, one per query.Example:
The confidence score of the recommended item.
The closer it is to 100, the more relevant.
Response as JSON
This section shows the JSON response returned by the API.
Each API client wraps this response in language-specific objects, so the structure may vary.
To view the response, use the getLogs method.
Don’t rely on the order of properties—JSON objects don’t preserve key order.