v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBPull Dataset From Hub
Pull a dataset from HuggingFace Hub and save it locally.
Requires a HuggingFace API token with read access. Optionally accepts session_id for SSE log streaming.
Request body
HuggingFace repo ID to pull from
Specific revision/branch to pull
Name for the local dataset (defaults to repo name)
HuggingFace API token
Session ID for SSE log streaming
Column mapping from source to standard names
Dataset type (ner, classification, custom)
Response
Successful Response
Train split ratio for this dataset version. Left-to-right split with no shuffle; validation is the tail.
Dataset status: initialized/uploading/converting/validating/ready/failed/generating/queued
Error message if status is failed
Dataset purpose tag: 'training', 'evaluation', or 'benchmark'
Dataset visibility: 'private' or 'public'
Whether this dataset is a competition benchmark
Label names (entity types for NER, class labels for classification)
How the dataset was created: synthesize, upload, auto_relabel, manual_relabel, grow, external
Whether this dataset is a seed dataset (small set for review before full expansion)
UUID of the synthesis log session for this dataset, used to restore creation workflow on resume
Column mapping from original to standard names