Skip to main content


Use the latest model for the given project to predict on a batch of datapoints and return the result

Path Parameters
project_id Project Id REQUIRED
Request Body REQUIRED
batch_id User-provided batch ID REQUIRED
data object[] REQUIRED

Successful Response

project_id Project Id REQUIRED
predictions object[] REQUIRED
learner_id Learner Id REQUIRED
batch_id Batch Id REQUIRED
input object REQUIRED
output object[] REQUIRED
output The name of the associated project output definition.
task_type object
value The value of the output (either classification or span values)
explanation An explanation for how the output value was determined.
id A unique identifier for the output value.
object Object

Validation Error

detail object[]
loc string[] REQUIRED
msg Message REQUIRED
type Error Type REQUIRED