v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
felix
datasets

Push Dataset To Hub

Push a specific dataset version to HuggingFace Hub.

Args: name: Dataset name. version: Version number to push (use "latest" for most recent).

Requires a HuggingFace API token with write access. The dataset will be uploaded in Parquet format with metadata.

post/felix/datasets/{name}/{version}/push-to-hub

Path parameters

namestring required
versionstring required

Request body

repo_idstring required

HuggingFace repo ID (e.g., 'user/dataset')

privateboolean

Whether repo should be private

commit_messagestring nullable

Commit message for the push

hf_tokenstring required

HuggingFace API token

Response

Successful Response

successboolean required
urlstring required
repo_idstring required
versionstring required
messagestring required