メインコンテンツへスキップ
POST
/
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
    }
  ]
}

承認

Authorization
string
header
必須

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

ボディ

application/json

複数のアノテーションキューに対する統計情報を取得するためのリクエスト。

project_id
string
必須
:

"entity/project"

queue_ids
string[]
必須

統計情報を取得するキュー ID のリスト。

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

レスポンス

成功時のレスポンス

複数のアノテーションキューに対する統計情報を含むレスポンス。

stats
AnnotationQueueStatsSchema · object[]
必須