datasets
Preview Dataset From Hub
Changed onPreview a dataset from HuggingFace Hub without saving it.
Fetches the dataset and returns a preview (first 50 rows, schema, metadata) for user review before confirming the import.
User-authenticated requests require hf_token. Sandbox run keys omit it and import public repos anonymously. Gated or private repos must be imported in the Fastino UI with a user token.
post/v1/datasets/preview-from-hub
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info