Get Recommendation Process Status

This endpoint will check your training status.

GET#

https://api.altoshift.com/recommendation/process

Parameter#

FieldTypeDescription
tokenStringIdentifier of recommendation engine, use x-token when hit this endpoint
processIdStringIdentifier of training process

Request Body Example#

https://search.altoshift.com/recommendation/process?processId=5f61967d682d690192230034&token=689d33d6a77573a37e0fbe1bc4a4ecf2

Success 200#

FieldTypeDescription
successBooleanRequest was successful
infoObjectTraining process info
    engineIdStringEngine id of the process
    confidenceStringSelected confidence threshold
    errorStringError message if there are some errors
    recommendationDataStringTotal recommendation if the training has done
    statusStringStatus of the process

Success Response Example#

{
"success": true,
"info": {
"confidence": 0.5,
"error": null,
"recommendationData": 4,
"engineId": "5f2a83abb201de007287a75c",
"status": "done"
}
}