Trigger a request to your custom model using historical evaluation data.
This will trigger an end-to-end request against your custom model endpoint allowing you to inspect the request body and debug any server behavior. This will not re-run an evaluation and will use the service responses which are cached for the given historical evaluation_token
.
HTTP Request
The body of the POST
request should include the custom_model_id
.
POST https://api.alloy.co/custom-models/evaluations/<evaluation_token>
curl -X "POST" https://api.alloy.co/custom-models/evaluations/<evaluation_token> \
-u workflow_token:workflow_secret \
-d '{"custom_model_id": <custom_model_id>}' \
-H 'content-type:application/json'
HTTP Response
If the request is successful, you will receive a 200 response containing the Alloy-formatted output of your custom model. Otherwise, you will receive an error message.
Example
{
"data": {
"model_success": true,
"model_score": 500,
"model_score_present": true,
"model_version": 1
}
}