Skip to main content
POST
/
annotation_queues
/
{queue_id}
/
items
Annotation Queue Add Calls
curl --request POST \
  --url https://api.example.com/annotation_queues/{queue_id}/items \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "call_ids": [
    "<string>"
  ],
  "display_fields": [
    "<string>"
  ]
}
'
{
  "added_count": 123,
  "duplicates": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

queue_id
string
required

Body

application/json

Request body for adding calls to an annotation queue (queue_id comes from path).

project_id
string
required
Example:

"entity/project"

call_ids
string[]
required
Example:
["call-1", "call-2", "call-3"]
display_fields
string[]
required

JSON paths to display to annotators

Example:
["input.prompt", "output.text"]

Response

Successful Response

Response from adding calls to a queue.

added_count
integer
required
duplicates
integer
required