Annotation queues
Release a reserved item
Puts the item back in the queue for any reviewer (the reviewer holding a live reservation).
POST
/
v1
/
annotation-queues
/
{id_or_name}
/
items
/
{item_id}
/
release
Release a reserved item
curl --request POST \
--url https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"queue_id": "<string>",
"target_type": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"deployment_id": "<string>",
"thread_id": "<string>",
"target_revision": "<string>",
"experiment_id": "<string>",
"item_id": "<string>",
"reserved_by": "<string>",
"reserved_until": "2023-11-07T05:31:56Z",
"completed_by": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"correction": "<unknown>",
"note": "<string>"
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Queue id (aq_...) or name
Item id (ai_...)
Response
The item, pending again
Always "annotation_item".
ai_...
trace | thread | experiment_item
pending | reserved | completed | skipped. An expired reservation is pending.
Trace items: the request (trace id veri-<request_id>).
Trace and thread items.
Thread items: the thread and the last request under review.
Experiment-item items.
While reserved: who holds it and until when.
Who closed the item (completed or skipped) and when.
The reviewer's corrected answer (any JSON value).
Release a reserved item
curl --request POST \
--url https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/annotation-queues/{id_or_name}/items/{item_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"queue_id": "<string>",
"target_type": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"deployment_id": "<string>",
"thread_id": "<string>",
"target_revision": "<string>",
"experiment_id": "<string>",
"item_id": "<string>",
"reserved_by": "<string>",
"reserved_until": "2023-11-07T05:31:56Z",
"completed_by": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"correction": "<unknown>",
"note": "<string>"
}
