Search Items
Personalized search. The results are based on the provided searchQuery and also on the user's past interactions (purchases, ratings, etc.) with the items (items more suitable for the user are preferred in the results).
All the string and set item properties are indexed by the search engine.
This endpoint should be used in a search box on your website/app. It can be called multiple times as the user is typing the query in order to get the most viable suggestions based on the current state of the query, or once after submitting the whole query.
The returned items are sorted by relevance (the first item being the most relevant).
Besides the recommended items, also a unique recommId is returned in the response. It can be used to:
- Let Recombee know that this search was successful (e.g., user clicked one of the recommended items). See Reported metrics.
- Get subsequent search results when the user scrolls down or goes to the next page. See Recommend Next Items.
It is also possible to use GET HTTP method - body parameters then become query parameters.
Request
- Base URLhttp://Based on the region of your database (see https://docs.recombee.com/regions).
- URLhttp://Based on the region of your database (see https://docs.recombee.com/regions)./{databaseId}/search/users/{userId}/items/
- Authnone declared
Path parameters
ID of your database.
ID of the user for whom personalized search will be performed.
Request body
Response
Successful operation.
Changes
No recorded changes to this operation across all 3 revisions of this API.