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

# POST /model-hub/annotation-queues/{id}/update-status/

`POST /model-hub/annotation-queues/{id}/update-status/`

## Request

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

## Request body

- QueueStatusRequest
  - `status` 'draft' | 'active' | 'paused' | 'completed', required

## Response `200`

OK

- QueueStatusResponse
  - `status` boolean
  - `result` AnnotationQueue, required
    - `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

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `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)
