Update task

Update the attributes of an existing labeling task.

Authentication

Authorizationstring
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

idstringRequired
Task ID

Request

This endpoint expects an object.
allow_skipboolean or nullOptional
Whether this task can be skipped. Set to False to make task unskippable.
avg_lead_timedoubleOptional
cancelled_annotationsintegerOptional
comment_countintegerOptional-2147483648-2147483647
Number of comments in the task including all annotations
completed_atdatetimeOptional
dataanyOptional
User imported or uploaded data for a task. Data is formatted according to the project label config. You can find examples of data for your project on the Import page in the Label Studio Data Manager UI.
draft_existsbooleanOptional
ground_truthbooleanOptional
inner_idintegerOptional
is_labeledbooleanOptional

True if the number of annotations for this task is greater than or equal to the number of maximum_completions for the project

last_comment_updated_atdatetime or nullOptional
When the last comment was updated
metaany or nullOptional

Meta is user imported (uploaded) data and can be useful as input for an ML Backend for embeddings, advanced vectors, and other info. It is passed to ML during training/predicting steps.

overlapintegerOptional-2147483648-2147483647
Number of distinct annotators that processed the current task
precomputed_agreementdouble or nullOptional
Average agreement score for the task
predictions_scoredoubleOptional
projectinteger or nullOptional
Project ID for this task
reviewedbooleanOptional
reviews_acceptedintegerOptional
reviews_rejectedintegerOptional
total_annotationsintegerOptional
total_predictionsintegerOptional
unresolved_comment_countintegerOptional-2147483648-2147483647
Number of unresolved comments in the task including all annotations

Response

object
OR
object
OR
object