Update Queue
PUThttps://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}
Renames an annotation queue 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>"
}'{
"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",
"testRunId": null,
"formId": "<ANNOTATION-FORM-ID>",
"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 to ask of every item in the queue. Send null to detach the current form.
Response
Update 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, SPAN or THREAD queues are filled from your production data, while GOLDEN and TEST_RUN queues are filled by Confident AI.
Show 5 enum valuesHide 5 enum values
TRACESPANTHREADGOLDENTEST_RUN
createdAtstringWhen the queue was created.
updatedAtstringWhen the queue was last changed.
testRunIdstring | nullThe id of the test run this queue reviews, for a queue Confident AI created from a test run. Null for a queue you created.
formIdstring | nullThe id of the annotation form asked of every item in this queue, or null when annotators only rate the criteria.
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.