Update Annotation Queue
(v2)PUT
Renames an annotation queue, replaces its tags, or attaches a different annotation form to it, and returns the queue. Send formId: null to detach the current form.
curl -X PUT "https://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Failed geography answers (2025)",
"formId": "<ANNOTATION-FORM-ID>",
"tags": [
"geography",
"week-13"
]
}'{
"success": true,
"data": {
"id": "<ANNOTATION-QUEUE-ID>",
"name": "Failed geography answers",
"type": "TRACE",
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-16T09:00:00.000Z",
"formId": "<ANNOTATION-FORM-ID>",
"tags": [
"geography",
"week-12"
],
"totalItems": 40,
"completedItems": 30,
"pendingItems": 10,
"completionPercentage": 75,
"assignedItems": 24,
"assignmentBreakdown": {
"jane@acme.com": {
"assigned": 12,
"completed": 9
}
}
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/annotation-queues/<ANNOTATION-QUEUE-ID>",
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
annotationQueueIdstringRequiredThe id of the annotation queue.
Request body
namestringThe new name of the queue, which must be unique in the project.
formIdstring | nullThe id of an annotation form in this project to ask of every item in the queue. Forms are created and managed in the Confident AI platform. Send
nullto detach the current form.tagslist of stringsReplaces the tags on the queue. Send an empty array to remove them all; omit it to leave them as they are.
Response
Update Annotation Queue succeeded.
successbooleanIndicates if the request was successful.
dataobjectA queue of production data your team annotates, with its progress and how the work is shared out.
Show 13 propertiesHide 13 properties
idstringThe id of the queue, generated by Confident AI.
namestringThe name of the queue, unique within the project.
typeenumWhat a queue holds, fixed when it is created:
TRACE,SPANorTHREADqueues are filled from your production data, whileGOLDENandTEST_CASEqueues are filled by Confident AI.TEST_RUNis still accepted as an input alias forTEST_CASE.Show 5 enum valuesHide 5 enum values
TRACESPANTHREADGOLDENTEST_CASE
createdAtstringWhen the queue was created.
updatedAtstringWhen the queue was last changed.
formIdstring | nullThe id of the annotation form asked of every item in this queue, or
nullwhen the queue has no form.tagslist of stringsThe tags on the queue, for grouping and filtering the queues in your project.
totalItemsintegerHow many items the queue holds.
completedItemsintegerHow many of those items have been annotated.
pendingItemsintegerHow many items are still waiting to be annotated.
completionPercentageintegerThe share of the queue that has been annotated, from 0 to 100, rounded to a whole number.
assignedItemsintegerHow many items in the queue are assigned to a reviewer.
assignmentBreakdownobjectEach reviewer's share of the queue, keyed by their email address. Empty when no item is assigned.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.