List Queues
GEThttps://api.confident-ai.com/v2/annotation-queues
Lists the annotation queues in your Confident AI project one page at a time, newest first. Each queue is returned as a summary with its progress; retrieve a queue by id for the per-reviewer breakdown.
curl -X GET "https://api.confident-ai.com/v2/annotation-queues" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"annotationQueues": [
{
"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
}
],
"totalAnnotationQueues": 3,
"page": 1,
"pageSize": 25
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page of queues to return. Defaults to 1.
pageSizeintegerdefault: 25The number of queues per page, at most 100. Defaults to 25.
typeenumReturns only queues holding this kind of item.
searchTermstringReturns only queues whose name contains this text.
Response
List Queues succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of annotation queues, with the total across all pages.
Show 4 propertiesHide 4 properties
annotationQueueslist of objectsThe queues for the current page, newest first.
Show 11 propertiesHide 11 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.
totalAnnotationQueuesintegerThe total number of queues matching the query.
pageintegerThe page this response covers.
pageSizeintegerThe number of queues per page.
deprecatedbooleanIndicates if this endpoint is deprecated.