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.
The API request will be authenticated through Basic Authentication.
It encodes a 'username:password' string in Base64 and appends the encoded string with 'Basic '. This string is included in the Authorization header.
You can obtain the username and password details from the MoEngage Dashboard:
This is the workspace ID (earlier APP ID) of your MoEngage workspace. The MOE-APPKEY has to be passed in the request.
You can find your MoEngage Workspace ID in the MoEngage Dashboard: 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
}