API ReferenceAnnotations

Get all task annotations

GET

List all annotations for a task.

You will need to supply the task ID. You can find this in Label Studio by opening a task and checking the URL. It is also listed at the top of the labeling interface. Or you can use Get tasks list.

Path parameters

idintegerRequired
Task ID

Response

This endpoint returns a list of objects
id
integerOptional
result
list of maps from strings to anyOptional
List of annotation results for the task
created_username
stringOptional
Username string
created_ago
stringOptionalDefaults to
Time delta from creation time
completed_by
integerOptional
unique_id
stringOptional
was_cancelled
booleanOptional
User skipped the task
ground_truth
booleanOptional

This annotation is a Ground Truth (ground_truth)

created_at
datetimeOptional
Creation time
updated_at
datetimeOptional
Last updated time
draft_created_at
datetimeOptional
Draft creation time
lead_time
doubleOptional
How much time it took to annotate the task
import_id
integerOptional
Original annotation ID that was at the import step or NULL if this annotation wasn't imported
last_action
enumOptional
Action which was performed in the last annotation history item
task
integerOptional
Corresponding task for this annotation
project
integerOptional
Project ID for this annotation
updated_by
integerOptional
Last user who updated this annotation
parent_prediction
integerOptional
Points to the prediction from which this annotation was created
parent_annotation
integerOptional
Points to the parent annotation from which this annotation was created
last_created_by
integerOptional
User who created the last annotation history item