메인 콘텐츠로 건너뛰기
POST
/
annotation_queues
어노테이션 큐 생성
curl --request POST \
  --url https://api.example.com/annotation_queues \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "<string>",
  "scorer_refs": [
    "<string>"
  ],
  "description": "",
  "wb_user_id": "<string>"
}
'
{
  "id": "<string>"
}

인증

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"

name
string
필수
예시:

"Error Review Queue"

scorer_refs
string[]
필수
예시:
[
"weave:///entity/project/scorer/error_severity:abc123",
"weave:///entity/project/scorer/resolution_quality:def456"
]
description
string
기본값:""
예시:

"Review calls with exceptions"

wb_user_id
string | null

직접 설정하지 마십시오. 서버가 이 필드를 자동으로 채웁니다.

응답

성공 응답

애노테이션 큐를 생성한 후의 응답입니다.

id
string
필수