Skip to main content
Return a page of slices, newest first, with their status and row counts.

Signature

Method signature on client.datasets:

Parameters

string
required
Dataset ID with prefix ds..
number
default:"20"
Maximum number of results to return; defaults to 20.
number
default:"0"
Number of results to skip before this page; defaults to 0.

Returns

Promise<{ slices: DatasetSlice[]; pagination: Pagination }>
DatasetSlice[]
required
Dataset slices in this page.
Pagination
required
Pagination information for this page.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: GET /datasets/{datasetId}/slices.