Launch Week 02 wrapped — explore all five launches

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.

POST/v2/annotation-queues
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>"
}'
200
{
  "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_KEYstringRequired

    The API key of your Confident AI project.

Request body

  • namestringRequired

    The name of the queue, which must be unique in the project.

  • typeenumRequired

    What 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
    • TRACE
    • SPAN
    • THREAD
    • GOLDEN
    • TEST_RUN
  • formIdstring

    The id of an annotation form in this project to ask of every item in the queue.

Response

Create Queue succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to an annotation queue by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the queue, generated by Confident AI.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI