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

アノテーションキューに call を追加するためのリクエストボディです(queue_id はパスから取得されます)。

project_id
string
必須
:

"entity/project"

call_ids
string[]
必須
:
["call-1", "call-2", "call-3"]
display_fields
string[]
必須

アノテーターに表示するための JSON パス。

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

レスポンス

成功レスポンス

キューに call を追加した際のレスポンス。

added_count
integer
必須
duplicates
integer
必須