Predict
Run predictions with a trained ML model.
Identify the model by ml_model_id, or by ml_model_name (the name of a non-archived model). Each row in data maps the model’s feature columns to values — use the ml-models tool to discover models and the columns each expects. Returns one prediction per input row, plus per-class probabilities for classifiers.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
data
ml_model_id
ml_model_name
Response
OK
predictions
model_id
model_name
probabilities
annotations
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
502
Bad Gateway Error