Update prediction
Update a prediction. To find the prediction ID, use List predictions.
For information about the prediction format, see the JSON format reference in the Label Studio documentation.
Path parameters
id
Prediction ID
Headers
Authorization
Header authentication of the form Token <token>
Request
This endpoint expects an object.
task
Task ID for which the prediction is created
result
Prediction result in JSON format. Read more about the format in the Label Studio documentation.
score
Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
model_version
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
Response
Updated prediction
result
List of prediction results for the task
task
id
model_version
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
created_ago
Delta time from creation time
score
Prediction score
cluster
Cluster for the current prediction
neighbors
Array of task IDs of the closest neighbors
mislabeling
Related task mislabeling score
created_at
updated_at
model
An ML Backend instance that created the prediction.
model_run
A run of a ModelVersion that created the prediction.
project