Hanzo
OpenapiDataset

Read a version's rows back, one page at a time

Reads a published version's rows back, one bounded page at a time, in the version's own stable row order. Only a published version can be exported.

GET /v1/dataset/{name}/export

Addresshttps://api.hanzo.ai/v1/dataset/{name}/export
MethodGET
OperationriskExportDataset
AuthAuthorization: Bearer $HANZO_API_KEY

Reads a published version's rows back, one bounded page at a time, in the version's own stable row order.

Only a published version can be exported. Rows written by an attempt that never completed are inert — no register row names them — and they are disposed of with the dataset.

Request

5 fields.

FieldInTypeRequiredDescription
namepathstringyesName is the dataset, from the path.
versionqueryintegerVersion is the version to read.
splitquerystringSplit narrows to train, val or test.
offsetqueryintegerOffset is where the page starts, in the version's own row order (by id, which is derived from the row and therefore stable forever).
limitqueryintegerLimit is how many rows to return.

Response

StatusBodyMeaning
200riskDatasetRowsok

200 body — 13 fields.

FieldInTypeAlwaysDescription
datasetbodystringDataset is the dataset the page was read from.
digestbodystringDigest is the version's fingerprint.
dimsbodystring[]Dims names what each coordinate of Point means, in Point's own order.
limitbodyintegerLimit is the page size actually served: the one asked for, clamped to the plane's own bound of 5000.
offsetbodyintegerOffset is where this page starts in the version's own row order, which is by row id and therefore stable forever.
rowsbodyriskDatasetRow[]Rows is the page.
rows[].atbodystringAt is the row's instant.
rows[].idbodystringID names the row forever. It is DERIVED from the row's own subject and instant, not allocated, so two materialisations of the same fact agree on it without…
rows[].kindbodystringKind is the subject kind: person, session or account.
rows[].pointbodynumber[]Point is the coordinates, in the order the version's spec names its dims.
rows[].splitbodystringSplit is train, val or test.
rows[].subjectbodystringSubject is the identity within that kind — whose row this is.
versionbodyintegerVersion is which published version it was read from — the one asked for, or the newest published one when the request named none.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Dataset API · All Hanzo APIs · Interactive reference

How is this guide?

On this page