Getting basic recommendations
The most basic request for recommendations is to send Sitecore Search an empty recommendations.content object. This gets recommendations based on what an administrator configured in Search, in the recipe of the recommendation widget.
To avoid duplicate items on your page, bucket deduplication processes widgets in the order they appear in the request's widget.items array. The first widget has the highest priority. In each round, each widget selects up to its bucket size, skipping items already selected by higher-priority widgets. Search repeats the process until selection is complete. For a single widget, Search still removes duplicate items from its results.
For the complete data model, see the Search and Recommendation API reference.
Here's a sample request to get 5 recommendations for the content entity:
Here's a sample response: