Toptimize
[Beta] Add Quality Score
Use the /predictions endpoint to get contextual predictions of conversion and relevance metrics, which are personalized by user and context.In order to provide predictions, Topsort requires that events are also sent, as a source of information.
post/toptimize/v1/predictions
Request
- Base URL: https://api.topsort.com
- URL: https://api.topsort.com/toptimize/v1/predictions
- Auth: HTTP bearer
Request body
Example request
{
"metrics": {
"ctr": true
},
"opaqueUserId": "u_9ske45",
"productIds": [
"p_PJbnN",
"p_ojng4"
],
"objectType": "listings"
}Response
The prediction results. This will provide a numerical value for each combination of metric/product requested on the API call.
Example response
{
"objectType": "listings",
"predictions": [
{
"productId": "p_PJbnN",
"ctr": 0.03,
"cvr": 0.06
},
{
"productId": "p_ojng4",
"ctr": 0.056,
"cvr": 0.091
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.