Create annotation
Add annotations to a task like an annotator does. 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:
```json
{
"result": {},
"was_cancelled": true,
"ground_truth": true,
"lead_time": 0,
"task": 0
"completed_by": 123
}
```
Path parameters
Task ID
Request body
Response
Created annotation
Changes
Changed in 2 of the 97 revisions of this API.116
- ▲
the
lead_timerequest property type/format changed fromnumber/tonumber/doublerequest-property-type-changed
- ○
added the new optional request property
bulk_creatednew-optional-request-property
- ○
added the new optional request property
draft_created_atnew-optional-request-property
- ○
added the new optional request property
import_idnew-optional-request-property
- ○
added the new optional request property
last_actionnew-optional-request-property
- ○
added the new optional request property
last_created_bynew-optional-request-property
- ○
added the new optional request property
parent_annotationnew-optional-request-property
- ○
added the new optional request property
parent_predictionnew-optional-request-property
- ○
added the new optional request property
unique_idnew-optional-request-property
- ○
added the media type
application/x-www-form-urlencodedto the request bodyrequest-body-media-type-added
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ○
the request property
lead_timebecame nullablerequest-property-became-nullable
- ○
the request property
projectbecame nullablerequest-property-became-nullable
- ○
the request property
taskbecame nullablerequest-property-became-nullable
- ○
the request property
updated_bybecame nullablerequest-property-became-nullable
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
AnnotationHistoryActionEnumto thelast_actionresponse propertyallOflist for the response status201response-property-all-of-added
- ○
removed
LastActionEnumfrom thelast_actionresponse propertyallOflist for the response status201response-property-all-of-removed
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 97 revisions, 1 has no diff computed.