API ReferenceTasks

Get task

GET

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

Response

This endpoint returns an object
data
map 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.
id
integerOptional
predictions
list of objectsOptional
Predictions for this task
annotations
list of objectsOptional
drafts
list of objectsOptional
Drafts for this task
annotators
list of unionsOptional
Annotators who annotated this task
inner_id
integerOptional
cancelled_annotations
integerOptional
total_annotations
integerOptional
total_predictions
integerOptional
completed_at
datetimeOptional
annotations_results
stringOptional
predictions_results
stringOptional
predictions_score
doubleOptional
file_upload
stringOptional
storage_filename
stringOptional
annotations_ids
stringOptional
predictions_model_versions
stringOptional
avg_lead_time
doubleOptional
draft_exists
booleanOptional
updated_by
list of maps from strings to anyOptional
User IDs who updated this task
meta
map from strings to anyOptional
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_at
datetimeOptional
Time a task was created
updated_at
datetimeOptional
Last time a task was updated
is_labeled
booleanOptional

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

overlap
integerOptional
Number of distinct annotators that processed the current task
comment_count
integerOptional
Number of comments in the task including all annotations
unresolved_comment_count
integerOptional
Number of unresolved comments in the task including all annotations
last_comment_updated_at
datetimeOptional
When the last comment was updated
project
integerOptional
Project ID for this task
comment_authors
list of integersOptional
Users who wrote comments