Datasets
Connect dataset source
POST
Connect dataset source
Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Body
application/json
Response
The connected (or existing, on identical config) dataset
Locked row format (prompt | preference | completion | chat). Null on a legacy dataset until its first append locks it.
Highest row_id appended so far (0 = empty stream). Includes supersede and tombstone entries, so it is the log length, not the live row count.
"cut a snapshot every N new rows" rule; null = off.
Newest snapshot id ("@snap-N"); populated by GET /v1/datasets/{id}.
Rows appended since the newest snapshot; populated by GET /v1/datasets/{id}.

