Skip to main content
POST
/
annotation_queues
/
query
Annotation Queues Query Stream
curl --request POST \
  --url https://api.example.com/annotation_queues/query \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "Error",
  "sort_by": [
    {
      "field": "<string>",
      "direction": "asc"
    }
  ],
  "limit": 10,
  "offset": 0
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to query annotation queues for a project.

project_id
string
required
Example:

"entity/project"

name
string | null

Filter by queue name (case-insensitive partial match)

Example:

"Error"

sort_by
SortBy · object[] | null

Sort by multiple fields (e.g., created_at, updated_at, name)

limit
integer | null
Example:

10

offset
integer | null
Example:

0

Response

Successful Response