Update prediction
Update prediction data by prediction ID.
Authentication
AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>
Path parameters
id
Prediction ID
Request
This endpoint expects an object.
cluster
Cluster for the current prediction
mislabeling
Related task mislabeling score
model
An ML Backend instance that created the prediction.
model_run
A run of a ModelVersion that created the prediction.
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
neighbors
Array of task IDs of the closest neighbors
project
result
List of prediction results for the task
score
Prediction score
task
Response
Updated prediction
created_ago
Delta time from creation time
created_at
id
result
List of prediction results for the task
task
updated_at
cluster
Cluster for the current prediction
mislabeling
Related task mislabeling score
model
An ML Backend instance that created the prediction.
model_run
A run of a ModelVersion that created the prediction.
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
neighbors
Array of task IDs of the closest neighbors
project
score
Prediction score