Add Items to Queue
Adds traces, spans, or threads to an annotation queue for review. Items are validated to ensure they match the queue type and exist in your project.
**Queue Type Matching:**
- TRACE queues: Only accept `traceUuids`
- SPAN queues: Only accept `spanUuids`
- THREAD queues: Only accept `threadIds`
- Providing items that don't match the queue type will result in an error
**Validation:**
- All provided UUIDs/IDs must exist in your project
- Items already in the queue are automatically skipped (duplicates filtered)
- Returns only the IDs of newly created queue items
**Supported Queue Types:** TRACE, SPAN, THREAD (GOLDEN and TEST_RUN not yet supported)
Path parameters
queueId
The ID of the annotation queue.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Request
This endpoint expects an object.
traceUuids
Array of trace UUIDs to add (only for TRACE queues)
spanUuids
Array of span UUIDs to add (only for SPAN queues)
threadIds
Array of thread IDs to add (only for THREAD queues)
Response
Successfully added items to queue (excluding duplicates)
success
data