v50

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

Full-text search in the text columns of a split

Returns the rows matching the query, ordered by row index. Up to 100 rows are returned. The offset and length parameters allow to navigate the results.

get/search

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.

querystring required

The search query.

offsetinteger

The offset of the returned rows.

lengthinteger

The maximum number of returned rows

Response

The <a href='https://huggingface.co/docs/datasets/about_dataset_features'>features</a>, and the list of rows that match the search query. The query will only be searched among the string columns. 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