Batch Annotate Items

Create annotations for multiple queue items in a single batch request. This is useful for bulk annotation workflows where you need to annotate many items with similar feedback. **Important:** - All queue item IDs must exist and belong to the specified queue - For thread items: Use `expectedOutcome` (not `expectedOutput`) - For trace/span items: Use `expectedOutput` (not `expectedOutcome`) - Set `markAsCompleted: true` to automatically mark all annotated items as completed (default: true) - Returns the IDs of all created annotations

Path parameters

queueIdstringRequired
The ID of the queue.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

This endpoint expects an object.
annotationslist of objectsRequired
markAsCompletedbooleanOptionalDefaults to true
Whether to mark the queue items as completed

Response

successboolean or null
dataobject or null