Annotation queues
Create an annotation queue
Creates a human review queue for one target type, pinning the evaluator versions reviewers score with.
POST
/
v1
/
annotation-queues
Create an annotation queue
curl --request POST \
--url https://api.veri.studio/v1/annotation-queues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"target_type": "<string>",
"evaluators": [
"<string>"
],
"description": "<string>",
"instructions": "<string>",
"reservation_minutes": 123
}
'import requests
url = "https://api.veri.studio/v1/annotation-queues"
payload = {
"name": "<string>",
"target_type": "<string>",
"evaluators": ["<string>"],
"description": "<string>",
"instructions": "<string>",
"reservation_minutes": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
target_type: '<string>',
evaluators: ['<string>'],
description: '<string>',
instructions: '<string>',
reservation_minutes: 123
})
};
fetch('https://api.veri.studio/v1/annotation-queues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"name": "<string>",
"target_type": "<string>",
"evaluators": [
{
"evaluator_id": "<string>",
"version": 123,
"name": "<string>",
"method": "<string>",
"scope": "<string>",
"output_type": "<string>"
}
],
"reservation_minutes": 123,
"counts": {
"pending": 123,
"reserved": 123,
"completed": 123,
"skipped": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"instructions": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"evaluator_specs": [
{
"evaluator_id": "<string>",
"name": "<string>",
"version": 123,
"method": "<string>",
"scope": "<string>",
"output_type": "<string>",
"output_config": {},
"description": "<string>",
"instructions": "<string>"
}
]
}Authorizations
Body
application/json
Evaluator ids or names, each optionally @N (default: the latest
version). Any method: human rubrics, or an llm_judge / code evaluator
to collect human labels on it (the judge-vs-human agreement check).
All share one scope: single_turn for trace queues, thread for thread
queues.
Response
The queue
Create an annotation queue
curl --request POST \
--url https://api.veri.studio/v1/annotation-queues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"target_type": "<string>",
"evaluators": [
"<string>"
],
"description": "<string>",
"instructions": "<string>",
"reservation_minutes": 123
}
'import requests
url = "https://api.veri.studio/v1/annotation-queues"
payload = {
"name": "<string>",
"target_type": "<string>",
"evaluators": ["<string>"],
"description": "<string>",
"instructions": "<string>",
"reservation_minutes": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
target_type: '<string>',
evaluators: ['<string>'],
description: '<string>',
instructions: '<string>',
reservation_minutes: 123
})
};
fetch('https://api.veri.studio/v1/annotation-queues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"name": "<string>",
"target_type": "<string>",
"evaluators": [
{
"evaluator_id": "<string>",
"version": 123,
"name": "<string>",
"method": "<string>",
"scope": "<string>",
"output_type": "<string>"
}
],
"reservation_minutes": 123,
"counts": {
"pending": 123,
"reserved": 123,
"completed": 123,
"skipped": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"instructions": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"evaluator_specs": [
{
"evaluator_id": "<string>",
"name": "<string>",
"version": 123,
"method": "<string>",
"scope": "<string>",
"output_type": "<string>",
"output_config": {},
"description": "<string>",
"instructions": "<string>"
}
]
}
