Bulk Annotate Spans — API
Submit label scores and notes for multiple observation spans in one request. Accepts an array of span IDs with their annotation values and score sources.
https://api.futureagi.com/tracer/bulk-annotation/ Authentication
Request body
Array of annotation records (max 1,000).
The observation span to annotate.
Annotations for this span (max 20 per record). Each object contains annotation_label_id (UUID, required) and exactly one value field: value (string, for text labels), value_float (number, for numeric and star labels), value_bool (boolean, for thumbs_up_down labels), or value_str_list (array of strings, for categorical labels).
Notes for this span (max 20 per record). Each object contains text (string, max 5,000 characters).
Response
200 OK"Bulk annotation completed". record_index, span_id, label_id, warning. record_index, span_id, and an error message field. Errors
Invalid request parameters.
Invalid or missing API credentials.
Unexpected server error.
Note
Authentication uses the API key — the annotator identity is always the authenticated user. The annotator_id field is not accepted per annotation; the system uses the authenticated user for all annotations in the request.
Provide exactly one value field per annotation (value, value_float, value_bool, or value_str_list) matching the label type. Providing the wrong field or multiple value fields returns a per-record error.