メインコンテンツへスキップ
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
必須