Skip to main content
POST
/
annotation_queues
Annotation Queue Create
curl --request POST \
  --url https://api.example.com/annotation_queues \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "<string>",
  "scorer_refs": [
    "<string>"
  ],
  "description": "",
  "wb_user_id": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to create a new annotation queue.

project_id
string
required
Example:

"entity/project"

name
string
required
Example:

"Error Review Queue"

scorer_refs
string[]
required
Example:
[
"weave:///entity/project/scorer/error_severity:abc123",
"weave:///entity/project/scorer/resolution_quality:def456"
]
description
string
default:""
Example:

"Review calls with exceptions"

wb_user_id
string | null

Do not set directly. Server will automatically populate this field.

Response

Successful Response

Response from creating an annotation queue.

id
string
required