Preview dataset rows
curl --request GET \
--url https://api.veri.studio/v1/datasets/{dataset_id}/rows \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/datasets/{dataset_id}/rows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/datasets/{dataset_id}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"rows": [
"<unknown>"
],
"next_cursor": 1,
"total_rows": 123
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Dataset ID
Query Parameters
Byte-offset cursor from the previous page's next_cursor. Omit for the
first page.
x >= 0Rows per page, 1..=100 (default 50).
0-based row number to start the page at (jump-to-row). Takes precedence
over cursor. The first jump into a dataset builds a sparse row index
(one full streaming read); every later jump is two small S3 reads.
x >= 0Stream view: read the dataset AS OF this snapshot (snap-N, N, or
the full <id>@snap-N). Supersessions/tombstones up to its head are
resolved. Omit for the live head. Switches the response to
{row_id, row} objects with next_cursor = the last row_id.
Stream view: only rows with row_id > since (pass the previous page's
next_cursor). Implies the stream view even without snapshot.
Response
One page of raw dataset rows
One page of dataset rows. Uploads: rows are the raw JSONL objects and
next_cursor is an opaque byte offset into the stored JSONL; pass it back
verbatim as cursor to fetch the next page (null after the last row).
Stream view (stream datasets, or snapshot/since given): rows are
{row_id, row} objects and next_cursor is the last row_id, to pass back
as since. total_rows is set for uploads only.
curl --request GET \
--url https://api.veri.studio/v1/datasets/{dataset_id}/rows \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/datasets/{dataset_id}/rows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/datasets/{dataset_id}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"rows": [
"<unknown>"
],
"next_cursor": 1,
"total_rows": 123
}
