Get annotation by its ID

GET

Tasks can have multiple annotations. Use this call to retrieve a specific annotation using its ID.

You can find the ID in the Label Studio UI listed at the top of the annotation in its tab. It is also listed in the History panel when viewing the annotation. Or you can use Get all task annotations to find all annotation IDs.

Path parameters

idintegerRequired
A unique integer value identifying this annotation.

Response

This endpoint returns an object.
idintegerOptional
resultlist of maps from strings to anyOptional
List of annotation results for the task
created_usernamestringOptional
Username string
created_agostringOptionalDefaults to
Time delta from creation time
completed_byintegerOptional
unique_idstringOptional
was_cancelledbooleanOptional
User skipped the task
ground_truthbooleanOptional

This annotation is a Ground Truth (ground_truth)

created_atdatetimeOptional
Creation time
updated_atdatetimeOptional
Last updated time
draft_created_atdatetimeOptional
Draft creation time
lead_timedoubleOptional
How much time it took to annotate the task
import_idintegerOptional
Original annotation ID that was at the import step or NULL if this annotation wasn't imported
last_actionenumOptional
Action which was performed in the last annotation history item
taskintegerOptional
Corresponding task for this annotation
projectintegerOptional
Project ID for this annotation
updated_byintegerOptional
Last user who updated this annotation
parent_predictionintegerOptional
Points to the prediction from which this annotation was created
parent_annotationintegerOptional
Points to the parent annotation from which this annotation was created
last_created_byintegerOptional
User who created the last annotation history item