Annotations
Annotations one of the fundamental building blocks of extracted data. They say that a portion of a source has some special meaning
Create Annotation
POST
https://api.annolab.ai/v1/annotation/create
Create an annotation of some type on a source file. For text file sources, an annotation may reside over an array of character offsets or may simply be a document level (manual) annotation.
Headers
Request Body
Examples of how to make an annotation create request
Bulk Create Annotations
POST
https://api.annolab.ai/v1/annotation/bulk-create
Create a set of up to 2000 annotations in one request (can be a mix of many different annotation types and spread across many source files). 80% faster than individual inserts in most cases
Headers
Request Body
Examples of how to bulk create annotations
Annotation Object
An object corresponding to a single annotation
CanonicalAnnotation Object
An abstract form of an annotation that is not grounded in any explicit mention or context, simplified to the components of name and value.
These objects cannot be created directly, instead they exist as attributes of CanonicalTag objects.
Last updated