Get task

Get task data, metadata, annotations and other attributes for a specific labeling task by task ID. The task ID is available from the Label Studio URL when viewing the task, or you can retrieve it programmatically with Get task list.

Path parameters

idstringRequired
Task ID

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Response

Task
datamap from strings to any
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.
idinteger or null
predictionslist of objects or null
Predictions for this task
annotationslist of objects or null
draftslist of objects or null
Drafts for this task
annotatorslist of integers or maps from strings to any or null
Annotators who annotated this task
inner_idinteger or null
cancelled_annotationsinteger or null
total_annotationsinteger or null
total_predictionsinteger or null
completed_atdatetime or null
annotations_resultsstring or null
predictions_resultsstring or null
predictions_scoredouble or null
file_uploadstring or null
storage_filenamestring or null
annotations_idsstring or null
predictions_model_versionsstring or null
avg_lead_timedouble or null
draft_existsboolean or null
updated_bylist of maps from strings to any or null
User IDs who updated this task
metamap from strings to any or null

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.

created_atdatetime or null
Time a task was created
updated_atdatetime or null
Last time a task was updated
is_labeledboolean or null

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

overlapinteger or null
Number of distinct annotators that processed the current task
comment_countinteger or null
Number of comments in the task including all annotations
unresolved_comment_countinteger or null
Number of unresolved comments in the task including all annotations
last_comment_updated_atdatetime or null
When the last comment was updated
projectinteger or null
Project ID for this task
comment_authorslist of integers or maps from strings to any or null
Users who wrote comments