Create Annotation Queue
(v2)POST
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>",
"tags": [
"geography",
"week-12"
]
}'{
"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,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
formIdstringThe 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.
tagslist of stringsTags to put on the queue. A tag that does not exist in the project yet is created.
Response
Create Annotation 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.