Add Items to Annotation Queue — API
Add one or more source items (traces, spans) to an annotation queue in bulk. Accepts queue UUID and an array of source type and source ID pairs.
POST
https://api.futureagi.com/model-hub/annotation-queues/{queue_id}/items/add-items/ Authentication
Path parameters
queue_id
The annotation queue ID
Request body
items
Array of items to add.
source_type
Type of source: trace, observation_span, dataset_row, trace_session, or call_execution.
source_id
UUID of the source object.
Response
200 OK added
Number of items successfully added.
duplicates
Number of items skipped because they were already in the queue.
errors
List of error messages for items that could not be added.
queue_status
Current status of the queue after the operation.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
Resource not found.
500
Unexpected server error.