Composite Recommendation
Composite Recommendation returns both a source entity (e.g., an Item or Item Segment) and a list of related recommendations in a single response.
It is ideal for use cases such as personalized homepage sections (Articles from <category>), Because You Watched <movie>, or Artists Related to Your Favorite Artist <artist>.
See detailed examples and configuration guidance in the Composite Scenarios documentation.
Structure
The endpoint operates in two stages:
- Recommends the source (e.g., an Item Segment or item) to the user.
- Recommends results (items or Item Segments) related to that source.
For example, Articles from <category> can be decomposed into:
- Recommend Item Segments To User to find the category.
- Recommend Items To Item Segment to recommend articles from that category.
Since the first step uses Recommend Item Segments To User, you must include the userId parameter in the Composite Recommendation request.
Each Composite Recommendation counts as a single recommendation API request for billing.
Stage-specific Parameters
Additional parameters can be supplied via sourceSettings and resultSettings. In the example above:
- sourceSettings may include any parameter valid for Recommend Item Segments To User (e.g., filter, booster).
- resultSettings may include any parameter valid for Recommend Items To Item Segment.
See this example for more details.
Path parameters
ID of your database.
Request body
Response
Successful operation.
Changes
No recorded changes to this endpoint across all 1 revision of this API.