Passer au contenu principal
POST
/
annotation_queues
Création de file d'attente d'annotation
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>"
}

Autorisations

Authorization
string
header
requis

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

Corps

application/json

Requête pour créer une nouvelle file d'attente d'annotation.

project_id
string
requis
Exemple:

"entity/project"

name
string
requis
Exemple:

"Error Review Queue"

scorer_refs
string[]
requis
Exemple:
[
"weave:///entity/project/scorer/error_severity:abc123",
"weave:///entity/project/scorer/resolution_quality:def456"
]
description
string
défaut:""
Exemple:

"Review calls with exceptions"

wb_user_id
string | null

Ne définissez pas ce champ directement. Le serveur le renseignera automatiquement.

Réponse

Réponse réussie

Réponse à la création d’une file d'attente d'annotation.

id
string
requis