Add annotations to a task like an annotator does.
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.
The content of the result field depends on your labeling configuration. For example, send the following data as part of your POST request to send an empty annotation with the ID of the user who completed the task:
Task ID
Labeling result in JSON format. Read more about the format in the Label Studio documentation.
Corresponding task for this annotation
Project ID for this annotation
User ID of the person who created this annotation
Last user who updated this annotation
User skipped the task
This annotation is a Ground Truth
How much time it took to annotate the task (in seconds)
Created annotation
List of annotation results for the task
Username string
Time delta from creation time
User skipped the task
This annotation is a Ground Truth (ground_truth)
Creation time
Last updated time
Draft creation time
How much time it took to annotate the task
Original annotation ID that was at the import step or NULL if this annotation wasn’t imported
Action which was performed in the last annotation history item
Corresponding task for this annotation
Project ID for this annotation
Last user who updated this annotation
Points to the prediction from which this annotation was created
Points to the parent annotation from which this annotation was created
User who created the last annotation history item