cURL
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 }
Add calls to an annotation queue.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request body for adding calls to an annotation queue (queue_id comes from path).
"entity/project"
["call-1", "call-2", "call-3"]
JSON paths to display to annotators
["input.prompt", "output.text"]
Successful Response
Response from adding calls to a queue.
Was this page helpful?