---
title: "PUT /model-hub/annotation-queues/{id}/"
method: PUT
path: "/model-hub/annotation-queues/{id}/"
tags: ["model-hub"]
---

# PUT /model-hub/annotation-queues/{id}/

`PUT /model-hub/annotation-queues/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/annotation-queues/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Only managers of the queue may update queue settings.

## Request body

- AnnotationQueue
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `instructions` string, nullable
  - `status` 'draft' | 'active' | 'paused' | 'completed'
  - `assignment_strategy` 'manual' | 'round_robin' | 'load_balanced'
  - `annotations_required` integer
  - `reservation_timeout_minutes` integer
  - `requires_review` boolean
  - `auto_assign` boolean: When enabled, all queue members can annotate any item without explicit assignment.
  - `organization` string, uuid
  - `project` string, uuid, nullable
  - `dataset` string, uuid, nullable
  - `agent_definition` string, uuid, nullable
  - `is_default` boolean
  - `labels` QueueLabelNested[]
    - `id` string, uuid
    - `label_id` string, uuid, required
    - `name` string
    - `type` string
    - `required` boolean
    - `order` integer
  - `annotators` QueueAnnotatorNested[]
    - `id` string, uuid
    - `user_id` string, uuid, required
    - `name` string
    - `email` string, email
    - `role` string
    - `roles` string[]
  - `label_ids` string[], required
  - `annotator_ids` string[]
  - `annotator_roles` object
  - `label_count` integer
  - `annotator_count` integer
  - `item_count` integer
  - `completed_count` integer
  - `created_by` string, uuid, nullable
  - `created_by_name` string, nullable
  - `viewer_role` string, nullable
  - `viewer_roles` string[]
  - `deleted` boolean
  - `created_at` string, date-time

## Response `200`

OK

- AnnotationQueue
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `instructions` string, nullable
  - `status` 'draft' | 'active' | 'paused' | 'completed'
  - `assignment_strategy` 'manual' | 'round_robin' | 'load_balanced'
  - `annotations_required` integer
  - `reservation_timeout_minutes` integer
  - `requires_review` boolean
  - `auto_assign` boolean: When enabled, all queue members can annotate any item without explicit assignment.
  - `organization` string, uuid
  - `project` string, uuid, nullable
  - `dataset` string, uuid, nullable
  - `agent_definition` string, uuid, nullable
  - `is_default` boolean
  - `labels` QueueLabelNested[]
    - `id` string, uuid
    - `label_id` string, uuid, required
    - `name` string
    - `type` string
    - `required` boolean
    - `order` integer
  - `annotators` QueueAnnotatorNested[]
    - `id` string, uuid
    - `user_id` string, uuid, required
    - `name` string
    - `email` string, email
    - `role` string
    - `roles` string[]
  - `label_ids` string[], required
  - `annotator_ids` string[]
  - `annotator_roles` object
  - `label_count` integer
  - `annotator_count` integer
  - `item_count` integer
  - `completed_count` integer
  - `created_by` string, uuid, nullable
  - `created_by_name` string, nullable
  - `viewer_role` string, nullable
  - `viewer_roles` string[]
  - `deleted` boolean
  - `created_at` string, date-time

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
