Skip to main content
POST
Append rows

Authorizations

Authorization
string
header
required

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

Path Parameters

dataset_id
string
required

Dataset ID or name

Body

application/json

Response

The appended row range

dataset_id
string
required
first_row
integer<int64>
required

row_id of the first entry in this batch.

last_row
integer<int64>
required

row_id of the last entry in this batch (== the new stream head).

count
integer<int64>
required
format
enum<string>
required

The locked row format of a stream. Detected from the first row and enforced on every later append (a mismatched row 400s the whole batch).

Available options:
prompt,
preference,
completion,
chat
head_row
integer<int64>
required