datasets
Preview the contents of a dataset.
get/data/preview
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
dataset_idstring required
The ID of the dataset to preview. This can be a HuggingFace dataset ID or a local dataset ID.
offsetinteger
The starting index from where to fetch the data.
splitstring
The split to preview. This can be train, test, or validation.
limitinteger
The maximum number of data items to fetch.
streamingboolean
Response
Successful response. Data is a list of column names followed by data, which can be of any datatype.
Changes
No recorded changes to this operation across all 7 revisions of this API.