---
title: "Annotation Queues Query Stream"
method: POST
path: "/annotation_queues/query"
tags: ["Annotation Queues"]
---

# Annotation Queues Query Stream

`POST /annotation_queues/query`

## Request

- Base URL: `https://trace.wandb.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://trace.wandb.ai/annotation_queues/query`
- Auth: none declared

Query annotation queues for a project (streaming NDJSON response).

## Request body

- AnnotationQueuesQueryReq: Request to query annotation queues for a project.
  - `project_id` string, required
  - `name` string, nullable: Filter by queue name (case-insensitive partial match)
  - `sort_by` SortBy[], nullable: Sort by multiple fields (e.g., created_at, updated_at, name)
    - `field` string, required
    - `direction` 'asc' | 'desc', required
  - `limit` integer, nullable
  - `offset` integer, nullable

## Response `200`

Stream of data in JSONL format

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `dd89fadfe4e4`: 1 breaking, 4 info
  - removed the media type `application/json` for the response with the status `200`
  - the endpoint scheme security `HTTPBasic` was removed from the API
  - added the media type `application/x-ndjson` for the response with the status `200`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - …1 more
- **2026-01-29** `13059f956116`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/changes/annotation_queues/query/post.md)

---

[API](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api.md) - [All operations](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wandb/apis/weights-biases-weave-stainless-api/revisions/f7643c49bf2e?raw)
