Annotation Queues
Create an annotation queue
Create a new annotation queue.
Payload Requirements
- The annotation queue name must be unique within the given space (among active queues).
- At least one annotation_config_id is required, and all configs must belong to the specified space.
- Do not include system-managed fields on input: id, created_at, updated_at.
- If assignment_method is not provided, it defaults to "all".
Valid example
{
"name": "Quality Review Queue",
"space_id": "spc_xyz789",
"annotation_config_ids": ["ac_abc123"],
"annotator_emails": ["reviewer@example.com"],
"assignment_method": "all"
}
Valid example with records
{
"name": "Quality Review Queue",
"space_id": "spc_xyz789",
"annotation_config_ids": ["ac_abc123"],
"annotator_emails": ["reviewer@example.com"],
"records": [
{"record_type": "SPAN", "project_id": "prj_abc", "start_time": "2024-01-15T00:00:00Z", "end_time": "2024-01-16T00:00:00Z", "span_ids": ["span_001"]},
{"record_type": "EXAMPLE", "dataset_id": "ds_xyz", "example_ids": ["ex_001", "ex_002"]}
]
}
Invalid example (missing required annotation_config_ids)
{
"name": "My Queue",
"space_id": "spc_xyz789"
}
<Note>This endpoint is in beta, read more here.</Note>
post/v2/annotation-queues
Request body
Example request
{
"name": "Quality Review Queue",
"space_id": "spc_xyz789",
"instructions": "Review each response for accuracy and helpfulness",
"annotation_config_ids": [
"ac_abc123",
"ac_def456"
],
"annotator_emails": [
"annotator1@example.com",
"annotator2@example.com"
]
}Response
An annotation queue object
Example response
{
"id": "aq_abc123",
"name": "Quality Review Queue",
"space_id": "spc_xyz789",
"instructions": "Review each response for accuracy and helpfulness",
"annotators": [
{
"email": "user@example.com"
}
],
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
}