Launch Week 02 wrapped — explore all five launches

Create Queue

POSThttps://api.confident-ai.com/v1/annotation-queues

Creates a new annotation queue for organizing traces, spans, threads, golden datasets, or test runs for systematic review and annotation.

Queue types:

  • TRACE: Queue for reviewing complete trace executions
  • SPAN: Queue for reviewing individual spans within traces
  • THREAD: Queue for reviewing conversation threads
  • GOLDEN: Queue for creating golden datasets
  • TEST_RUN: Queue for reviewing test run results

Queue names must be unique within your project.

POST/v1/annotation-queues
curl -X POST "https://api.confident-ai.com/v1/annotation-queues" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "type": "TRACE"
}'
200
{
  "success": true,
  "data": {
    "id": "queue-uuid"
  }
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Request body

  • namestringRequired

    The name of the annotation queue

  • typeenumRequired

    The type of items this queue will contain

    Show 5 enum valuesHide 5 enum values
    • TRACE
    • SPAN
    • THREAD
    • GOLDEN
    • TEST_RUN

Response

Successfully created annotation queue

  • successboolean

    Indicates if the annotation queue was successfully created.

  • dataobject

    Contains the created annotation queue information.

    Show 1 propertyHide 1 property
    • idstring

      The unique identifier of the newly created annotation queue.

Built byConfident AI