Create Queue
POSThttps://api.confident-ai.com/v2/annotation-queues
Creates an annotation queue in your Confident AI project and returns its id. The type you give it decides what can be added to it and cannot be changed afterwards.
curl -X POST "https://api.confident-ai.com/v2/annotation-queues" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Failed geography answers",
"type": "TRACE",
"formId": "<ANNOTATION-FORM-ID>"
}'{
"success": true,
"data": {
"id": "<ANNOTATION-QUEUE-ID>"
},
"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.
Request body
namestringRequiredThe name of the queue, which must be unique in the project.
typeenumRequiredWhat 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
formIdstringThe id of an annotation form in this project to ask of every item in the queue.
Response
Create Queue succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to an annotation queue by its id.
Show 1 propertyHide 1 property
idstringThe id of the queue, generated by Confident AI.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.