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
queueId
The ID of the queue.
Headers
CONFIDENT_API_KEY
The API key of your Confident AI project.
Request
This endpoint expects an object.
annotations
markAsCompleted
Whether to mark the queue items as completed
Response
success
data