---
title: "GET /model-hub/annotation-queues/for-source/"
method: GET
path: "/model-hub/annotation-queues/for-source/"
tags: ["model-hub"]
---

# GET /model-hub/annotation-queues/for-source/

`GET /model-hub/annotation-queues/for-source/`

## Request

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

Find annotation queues for a given source that the current user can annotate.
Includes queues where:
- The source is a queue item AND the user is an annotator in that queue
  (regardless of whether the item is explicitly assigned to them)

Query params:
  - source_type, source_id  (single source)
  - OR sources (JSON array of {source_type, source_id} objects for multi-source lookup)
  - project_id (optional): the project a trace / span drawer shows

## Query parameters

- `page` integer
- `limit` integer
- `source_type` 'call_execution' | 'dataset_row' | 'observation_span' | 'prototype_run' | 'trace' | 'trace_session'
- `source_id` string
- `sources` string
- `project_id` string, uuid

## Response `200`

OK

- QueueForSourceResponse
  - `status` boolean
  - `result` QueueForSourceEntry[], required
    - `queue` QueueForSourceQueue, required
      - `id` string, uuid, required
      - `name` string, required
      - `instructions` string, required
      - `is_default` boolean, required
    - `item` QueueForSourceItem, nullable, required
      - `id` string, uuid, required
      - `status` string, required
      - `source_type` string, required
      - `source_id` string, nullable, required
    - `labels` QueueLabelResult[], required
      - `id` string, uuid, required
      - `name` string, required
      - `type` string, required
      - `settings` object, required
      - `description` string
      - `allow_notes` boolean, required
      - `required` boolean, required
      - `order` integer, required
    - `existing_scores` object, required
    - `existing_notes` string, required
    - `existing_label_notes` object, required
    - `span_notes` object[], required
    - `span_notes_source_id` string, nullable

## 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)
