메인 콘텐츠로 건너뛰기
POST
/
annotation_queues
/
{queue_id}
/
items
/
query
주석 큐 항목 조회
curl --request POST \
  --url https://api.example.com/annotation_queues/{queue_id}/items/query \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "filter": {
    "id": "<string>",
    "call_id": "<string>",
    "call_op_name": "<string>",
    "call_trace_id": "<string>",
    "added_by": "<string>",
    "annotation_states": [
      "unstarted",
      "in_progress"
    ]
  },
  "sort_by": [
    {
      "field": "<string>",
      "direction": "asc"
    }
  ],
  "limit": 50,
  "offset": 0,
  "include_position": false
}
'
{
  "items": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "queue_id": "<string>",
      "call_id": "<string>",
      "call_started_at": "2023-11-07T05:31:56Z",
      "call_op_name": "<string>",
      "call_trace_id": "<string>",
      "display_fields": [
        "<string>"
      ],
      "annotation_state": "unstarted",
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "call_ended_at": "2023-11-07T05:31:56Z",
      "added_by": "<string>",
      "annotator_user_id": "<string>",
      "deleted_at": "2023-11-07T05:31:56Z",
      "position_in_queue": 123
    }
  ]
}

인증

Authorization
string
header
필수

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

경로 매개변수

queue_id
string
필수

본문

application/json

주석 대기열의 항목을 조회하기 위한 요청 본문입니다(queue_id는 경로에서 가져옵니다).

project_id
string
필수
예시:

"entity/project"

filter
AnnotationQueueItemsFilter · object

call 메타데이터와 주석 상태로 대기열 항목을 필터링합니다

sort_by
SortBy · object[] | null

여러 필드를 기준으로 정렬합니다(예: created_at, updated_at).

limit
integer | null
예시:

50

offset
integer | null
예시:

0

include_position
boolean
기본값:false

position_in_queue 필드를 포함합니다(전체 대기열에서 1부터 시작하는 인덱스).

응답

성공 응답

annotation 대기열 항목 조회에 대한 응답입니다.

items
AnnotationQueueItemSchema · object[]
필수