This API retrieves the metadata associated with a specific recommendation setup using its unique ID. The metadata can include the recommendation name, model type, status, creation and update time, and so on.
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
This parameter indicates the unique identifier associated with the recommendation created in the recommendation module.
You can obtain the recommendation_id from the recommendation you created on the recommendation page.
Indicates that the request is successful and a recommendation is fetched.
It is the unique recommendation ID.
This is your workspace name.
It represents the type of recommendations from which the results will be fetched.
The supported values are: user_action, item_attribute, similar_item, frequently_viewed_together, frequently_bought_together, trending_item, user_personalization.
This field represents the name of the recommendation for which you want to fetch the details.
This field describes the recommendation given at the time of its creation.
This is the unique identifier of the catalog assigned to the requested recommendation.
The recommendation's status indicates whether it is active or archived.
This field shows the timestamp when a recommendation was created.
This field shows the timestamp when a recommendation setting was last modified.
This key represents whether all user actions are being considered to find the most recently interacted item. If this is true, the most recently interacted ID from any of the user action set-ups will be considered to find the related items as per the recommendation type.
Note: This key is available with the similar_item, frequently_viewed_together, and frequently_bought_together recommendation types.
This key defines the customization applied to the recommendation results as per the recommendation setup. Currently, you can apply the user action and item attribute filters over recommendations.
This key defines the sorting logic based on which recommendation results will be ordered. This object's value provides the attributes' details and sorting order.
Note: This key is available with the user_action and item_attribute recommendation types.
This key defines the trend type for trending_item recommendations and the duration of trend computation.
Note: This key is available with the trending_item recommendation type.
{
"trend_type": "most_viewed",
"duration_days": 7
}