v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
Import

Import predictions

Import model predictions for tasks in the specified project.

post/api/projects/{id}/import/predictions

Path parameters

idinteger required

A unique integer value identifying this project.

Request body

clusterinteger nullable

Cluster for the current prediction

mislabelingnumber double

Related task mislabeling score

modelinteger nullable

An ML Backend instance that created the prediction.

model_runinteger nullable

A run of a ModelVersion that created the prediction.

model_versionstring

Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface

{"stackTrail":"components:schemas:PredictionRequest:properties:neighbors","oasType":"schema","type":"unknown","description":"Array of task IDs of the closest neighbors","nullable":true}
projectinteger nullable
resultobject[] required

List of prediction results for the task

scorenumber double nullable

Prediction score

taskinteger required

Response

Predictions successfully imported

createdinteger

Number of predictions created