Pular para o conteúdo principal
POST
Core - Add span items to a queue
Guia relacionado: Guia de anotações. Consulte o Guia de anotações para ver um passo a passo com exemplos.

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

annotation_queue_id
string
obrigatório

Corpo

application/json
items
object[]
obrigatório

The spans to add to the annotation queue.

Resposta

Annotation queue items added.

_id
string
obrigatório

Unique annotation queue item identifier assigned by Toqan Router.

annotation_queue_id
string
obrigatório

The unique identifier of the annotation queue.

workspace_id
string
obrigatório

The unique identifier of the workspace it belongs to.

type
string
obrigatório

The item type. Either span or datapoint.

used_human_review_ids
string[]

The unique identifiers of the human reviews that have been used to annotate the item.

span_id
string

The span this item points to. Present when type is span.

trace_id
string

The trace identifier this span belongs to.

datapoint_id
string

The datapoint this item points to. Present when type is datapoint.