Skip to main content
POST
Complete a reserved item

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Path Parameters

id_or_name
string
required

Queue id (aq_...) or name

item_id
string
required

Item id (ai_...)

Body

application/json
scores
object[]
required

Exactly one score per pinned evaluator.

correction
any

The corrected answer (any JSON, at most 64 KB).

note
string | null

At most 8 KB.

append_to_dataset
string | null

Dataset id or name: append the correction as an eval row ({input, output?, expected: correction, metadata: {queue, reviewer}}, or {turns, expected, metadata} for a thread) to this stream, whose format must be unset or eval. Needs correction.

Response

The completed item, its scores and the appended row

object
string
required

Always "annotation_completion".

item
object
required
scores
object[]
required

The human scores written (source "human", author = the reviewer).

dataset_row
null | object

The appended dataset row, when append_to_dataset was set.