Skip to main content
POST
/
annotation_queues
/
stats
Annotation Queues Stats
curl --request POST \
  --url https://api.example.com/annotation_queues/stats \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "queue_ids": [
    "<string>"
  ]
}
'
{
  "stats": [
    {
      "queue_id": "<string>",
      "total_items": 123,
      "completed_items": 123
    }
  ]
}

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 get stats for multiple annotation queues.

project_id
string
required
Example:

"entity/project"

queue_ids
string[]
required

List of queue IDs to get stats for

Example:
[
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]

Response

Successful Response

Response with stats for multiple annotation queues.

stats
AnnotationQueueStatsSchema · object[]
required