Get Queue
GEThttps://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}
Retrieves an annotation queue by id from your Confident AI project, with how far through it your team is and how many items each reviewer holds.
curl -X GET "https://api.confident-ai.com/v2/annotation-queues/{annotationQueueId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"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.
Response
Get 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.