v50

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

First rows of a split

The list of the 100 first rows of a dataset split.

get/first-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.

Response

The <a href='https://huggingface.co/docs/datasets/about_dataset_features'>features</a>, and the 100 first rows of the split.</br>Note: the response can be truncated (less rows, or truncated cell contents): see examples.

datasetstring required
configstring required
splitstring required
truncatedboolean required