메인 콘텐츠로 건너뛰기
POST
/
annotation_queues
/
{queue_id}
/
items
어노테이션 큐에 호출 추가
curl --request POST \
  --url https://api.example.com/annotation_queues/{queue_id}/items \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "call_ids": [
    "<string>"
  ],
  "display_fields": [
    "<string>"
  ]
}
'
{
  "added_count": 123,
  "duplicates": 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"

call_ids
string[]
필수
예시:
["call-1", "call-2", "call-3"]
display_fields
string[]
필수

애노테이터에게 표시할 JSON 경로입니다.

예시:
["input.prompt", "output.text"]

응답

성공 응답

큐에 콜을 추가한 후의 응답입니다.

added_count
integer
필수
duplicates
integer
필수