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

queueIdstringRequired
The ID of the annotation queue.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

This endpoint expects an object.
traceUuidslist of stringsOptional

Array of trace UUIDs to add (only for TRACE queues)

spanUuidslist of stringsOptional

Array of span UUIDs to add (only for SPAN queues)

threadIdslist of stringsOptional

Array of thread IDs to add (only for THREAD queues)

Response

Successfully added items to queue (excluding duplicates)

successboolean or null
dataobject or null

Errors