Create Annotation
Record a human decision on a document.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Create a new annotation on a document.
Document to annotate.
Decision label (e.g. 'approved', 'rejected', 'deferred').
1 - 100Collection the document belongs to.
Human confidence (0.0–1.0).
0 <= x <= 1Why this decision was made.
5000Structured payload (use-case-specific).
Response
Successful Response
Single annotation response.
The document this annotation is attached to.
Namespace scope.
Human decision label. Domain-specific — e.g. 'approved', 'rejected', 'deferred', 'infringement', 'safe', 'confirmed_dupe'.
1 - 100Unique annotation identifier.
Collection the document belongs to.
Human confidence in this decision (0.0–1.0).
0 <= x <= 1Why this decision was made. Stored for audit trail.
5000Use-case-specific structured data. E.g. {'codes_approved': ['E11.40'], 'raf_impact': 0.302}
Retriever that produced the document being annotated.
Retriever execution ID.
Stage that produced the result (e.g. 'llm_enrich').
Who made the annotation (user ID or API key ID).
Actor type: 'user', 'api_key', or 'system'.

