v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-05-271282305.2 KB

A slice of rows of a split

The list of rows of a dataset split at a given slice location (offset). Up to 100 rows are returned, use the length parameter to get less.

get/rows

Query parameters

datasetstring required

The identifier of the dataset on the Hub.

configstring required

The dataset subset (also called 'configuration').

splitstring required

The split name.

offsetinteger

The offset of the slice.

lengthinteger

The length of the slice

Response

The <a href='https://huggingface.co/docs/datasets/about_dataset_features'>features</a>, and the list of rows of the requested slice. Bytes columns are not supported at the moment, and their content will be 'null'.

num_rows_totalinteger required
num_rows_per_pageinteger required
partialboolean required