datasets
Dataset-kind repo extras: episode index, frames index, per-episode playback payload, dataset meta, and the datasets listed from the Hugging Face Hub
GET / v1/ datasets/ {owner}/ {repo}/ episodes
List dataset episodes
Returns the episode index of a dataset-kind repo, parsed from repo files (LeRobotDataset layout). Returns a 409 problem if the repo is not a dataset.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
limit | query | integer | Page size. |
cursor | query | string | Opaque cursor from the previous page's |
Responses
| Status | Description | Body |
|---|---|---|
200 | Page of episodes. | EpisodePage |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
GET / v1/ datasets/ {owner}/ {repo}/ episodes/ {episode_index}/ frames-index
Frames index for one episode
Maps an episode to the repo files that store its frames: parquet data slices and per-camera videos. Clients can then range-read them instead of downloading the whole dataset.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
episode_index | path | integer | Zero-based episode index. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The frames index. | FramesIndex |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
GET / v1/ datasets/ {owner}/ {repo}/ episodes/ {episode_index}/ series
Playable payload for one episode
Returns everything a viewer needs to play one episode in a single round trip:
- presigned per-camera video URLs
- the downsampled
observation.state/actionchannels as{t, name, value}points - fps and the episode's task strings
getEpisodeFramesIndex says where the frames live. This operation says what they are. The server range-reads the parquet columns it needs and never downloads the whole file. It decimates each channel to at most max_points samples with a min/max algorithm that preserves spikes. Returns a 409 problem if the repo is not a dataset, or if its files are not a readable LeRobotDataset.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
episode_index | path | integer | Zero-based episode index. |
max_points | query | integer | Maximum samples returned per channel. The series is decimated to fit (min/max per bucket, so spikes survive); a shorter episode is returned whole. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The episode payload. | EpisodeSeries |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
GET / v1/ datasets/ {owner}/ {repo}/ episodes/ {episode_index}/ rows
One page of an episode's rows
Returns one page of an episode's rows, as a table. The server reads the episode's parquet file by byte range. It fetches only the footer and the row groups that hold the page.
A vector column such as observation.state comes back as one column per value. Each is labelled with the dataset's own joint names where it declares them. Image and video features are listed in features and not returned. So is a feature that declares more than 1,024 values. A page holds at most 2,048 columns.
One request reads at most 64 MiB from storage. A page that would read more is a 409 problem. A smaller limit or fewer columns fits. The same 409 comes when the repo is not a readable LeRobotDataset.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
episode_index | path | integer | Zero-based episode index. |
offset | query | integer | The first row of the page, counted from the start of the episode. |
limit | query | integer | Rows on the page. |
columns | query | string | Feature keys to return, comma separated, in the order wanted. Every feature that fits on one page when absent. At most 64 keys, and a repeated key counts once. An unknown key is |
Responses
| Status | Description | Body |
|---|---|---|
200 | The page of rows. | EpisodeRows |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
503 | A service this endpoint needs is not configured in this deployment. The API boots with zero secrets. An endpoint that needs one says so instead of returning a stack trace. | Problem |
PUT / v1/ datasets/ {owner}/ {repo}/ meta
Set dataset meta
Replaces the dataset meta block on a dataset-kind repo in full. Uploaders and workers write it. The hub then reads the format version, the task strings, the camera count and the widths of observation.state and action from the repo's own files. It stores them with the meta. A dataset it cannot read still gets its meta, with those facts left empty. Every upload path ends here, so this call also queues a dataset check (createDatasetCheck, trigger upload) after it answers. recording.policy_repo and recorded_policy name the same policy. Give either one, or both naming the same repo (422 otherwise). Returns a 409 problem if the repo kind is not dataset.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
Request body
| Field | Type | Description |
|---|---|---|
episode_count | integer | |
fps | number | null | |
robot_type | string | null | |
total_frames | integer | |
recorded_policy | string | null |
|
source | DatasetSource | null | Where the episodes came from. Leave it out when you do not know. |
recording | DatasetRecordingPut | null | The deployment the data was recorded during, for a dataset recorded while a policy ran ( |
Responses
| Status | Description | Body |
|---|---|---|
200 | Stored dataset meta. | DatasetMeta |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
GET / v1/ datasets/ {owner}/ {repo}/ exclusions
List the episodes kept out of training
Every episode of the dataset someone proposed to keep out of training, with who proposed it, when and why, and what a person decided. Training leaves out the episodes whose status is excluded, and nothing else. Visible to anyone who can read the dataset repo. Any other caller gets 404; another kind of repo is 409.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The dataset's exclusion list. | DatasetExclusionList |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
POST / v1/ datasets/ {owner}/ {repo}/ exclusions
Propose episodes to keep out of training
Proposes keeping some episodes out of training, with one reason for all of them. Nothing changes for training until a person confirms with decideDatasetExclusions: a proposal is only a flag. An agent with a write key may propose, so it can act on a dataset check. An episode already excluded stays excluded. Proposing an episode again replaces its reason and its proposer. The caller must be able to write the dataset repo. An invisible repo is 404, a visible one you cannot write is 403, and another kind of repo is 409. An episode the dataset does not have is 422. Audited as dataset.exclusion_propose.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
Request body
| Field | Type | Description |
|---|---|---|
episodes | array of integer | |
reason | string | |
check_id | string | null | The dataset check that flagged the episodes, if one did. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The dataset's exclusion list after the proposal. | DatasetExclusionList |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
POST / v1/ datasets/ {owner}/ {repo}/ exclusions/ decide
Confirm, reject or undo keeping episodes out of training
A person's decision on episodes of a dataset they can write. exclude keeps the episodes out of every training run created from now on. It confirms a proposal, or excludes an episode no one proposed when a reason is given. reject turns a proposal down. restore puts an excluded episode back. Only a signed-in person decides: no key of any scope, so no agent, removes data from training. A decision that does not apply to an episode's status is 409 and changes nothing. Audited as dataset.exclusion_decide.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. A renamed repo's former slug also finds it, and the answer names its current address. |
Request body
| Field | Type | Description |
|---|---|---|
episodes | array of integer | |
decision | string | |
reason | string | null | Required to |
note | string | null |
Responses
| Status | Description | Body |
|---|---|---|
200 | The dataset's exclusion list after the decision. | DatasetExclusionList |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
POST / v1/ dataset-checks
Queue a check of a dataset repo's files
Queues a job that opens the dataset's parquet and video files. It checks the LeRobot layout, dropped frames, joint limits and time sync. It also checks episode durations, action limits and the task text. The results land in DatasetMeta.checks. The check only flags episodes. Keeping them out of training is a person's decision (decideDatasetExclusions). The hub queues one by itself when the meta is set (an upload). It queues another when a dataset is made public with files it has not checked.
The repo must be a dataset repo the caller can write. An invisible one is 404, a visible one you cannot write is 403, and the wrong kind is 409. While a check of the repo is queued or running, that check is returned (200) and no second one is queued. The job reads the files by range, under the hub's per-request read budget. Episodes past the budget are not checked, and each check says how many were. A check is unpriced: it runs on the hub's own workers.
Request body
| Field | Type | Description |
|---|---|---|
repo | string |
|
Responses
| Status | Description | Body |
|---|---|---|
200 | The check of this repo already queued or running. | DatasetCheck |
201 | The check, queued. | DatasetCheck |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
GET / v1/ dataset-checks/ {check_id}
Get a dataset check
Returns the check's status. Once the job finished, it also returns the checks with their evidence, the episodes they flagged and what the job read. Visible to anyone who can read the dataset repo. Any other caller gets 404.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
check_id | path | Id | Dataset check id ( |
Responses
| Status | Description | Body |
|---|---|---|
200 | The check. | DatasetCheck |
404 | Resource not found (or hidden from the caller). | Problem |
GET / v1/ external-datasets
List the datasets listed from Hugging Face
LeRobot datasets from the Hugging Face Hub, listed beside the hub's own. The hub stores their public metadata only. It hosts none of their files and has read none of them. Each item links to its page on Hugging Face. downloads and likes are Hugging Face's own counts. They are kept apart from the hub's own counts and sorts. A daily sync refreshes the list, and synced_at says when it last succeeded. A failed sync keeps the last list. A training run may name one of them as hf://{id} in its recipe. The trainer downloads it when the run starts.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
q | query | string | Search text. It matches the id ( |
sort | query | string | Order by Hugging Face's downloads in the last 30 days, its likes, or its last update. Always descending. |
limit | query | integer | Page size. |
cursor | query | string | Opaque cursor from the previous page's |
Responses
| Status | Description | Body |
|---|---|---|
200 | Page of listed datasets. | ExternalDatasetPage |
422 | Request failed validation. | Problem |
Schemas (26)
The schemas these operations reach before any other tag’s do. A type that links elsewhere is rendered on that tag’s page.
EpisodePage
| Field | Type | Description |
|---|---|---|
items | array of Episode | |
next_cursor | string | null |
FramesIndex
Where one episode's frames live, for range reads (filled from the LeRobotDataset layout).
| Field | Type | Description |
|---|---|---|
episode_index | integer | |
fps | number | null | |
num_frames | integer | |
files | array of FrameFile |
EpisodeSeries
One episode, ready to play: video URLs plus decimated numeric channels on a shared time axis (seconds from episode start).
| Field | Type | Description |
|---|---|---|
episode_index | integer | |
fps | number | null | |
num_frames | integer | Frames in the episode (rows read from the data file). |
duration_s | number | null | |
tasks | array of string | |
sampled_points | integer | Samples returned per channel after decimation. |
downsample | string | How the series was reduced. |
channels | array of EpisodeChannel | |
points | array of EpisodeSeriesPoint | Flat |
videos | array of EpisodeVideo | |
warnings | array of string | Human-readable notes about what could not be produced. Examples: a camera with no file, or a layout feature this version does not map. |
EpisodeRows
One page of an episode's rows. rows holds one array per row, with one value per entry of columns, in that order.
| Field | Type | Description |
|---|---|---|
episode_index | integer | |
fps | number | null | |
num_rows | integer | Rows in the whole episode. |
offset | integer | |
limit | integer | |
next_offset | integer | null | The |
features | array of EpisodeRowFeature | Every feature the dataset declares, in its own order, and whether this table can show it. |
columns | array of EpisodeRowColumn | |
rows | array of array of number | string | boolean | null | |
warnings | array of string | Notes about columns that could not be read, in words. |
DatasetMetaPut
| Field | Type | Description |
|---|---|---|
episode_count | integer | |
fps | number | null | |
robot_type | string | null | |
total_frames | integer | |
recorded_policy | string | null |
|
source | DatasetSource | null | Where the episodes came from. Leave it out when you do not know. |
recording | DatasetRecordingPut | null | The deployment the data was recorded during, for a dataset recorded while a policy ran ( |
DatasetExclusionList
| Field | Type | Description |
|---|---|---|
repo | string |
|
excluded | array of integer | The episodes training leaves out, ascending. |
items | array of DatasetExclusion | Every episode with an exclusion record, ascending. |
files_digest | Sha256 |
DatasetExclusionPropose
| Field | Type | Description |
|---|---|---|
episodes | array of integer | |
reason | string | |
check_id | string | null | The dataset check that flagged the episodes, if one did. |
DatasetExclusionDecide
| Field | Type | Description |
|---|---|---|
episodes | array of integer | |
decision | string | |
reason | string | null | Required to |
note | string | null |
DatasetCheckCreate
| Field | Type | Description |
|---|---|---|
repo | string |
|
DatasetCheck
A check of a dataset repo's files, run by the hub. checks is empty until it succeeded.
| Field | Type | Description |
|---|---|---|
id | Id | |
repo | string |
|
status | JobStatus | |
trigger | DatasetCheckTrigger | |
created_at | string (date-time) | |
started_at | string (date-time) | null (date-time) | |
finished_at | string (date-time) | null (date-time) | |
checks | array of DatasetCheckItem | |
episodes_total | integer | null | Episodes the dataset's index lists. Null until the job read it. |
episodes_checked | integer | null | Episodes whose rows the job read in full, within the read budget. |
files_read | integer | null | Parquet and video files the job opened. |
bytes_read | integer | null | Bytes the job pulled out of object storage, every ranged read counted. |
read_budget_bytes | integer | The most the job may read, the hub's per-request read budget. |
interventions | integer | null | Runs of rows whose |
intervention_frames | integer | null | Rows whose |
error | string | null | Why a |
flagged | array of DatasetCheckFlag | The episodes the checks flagged, at most 200, in episode order. Each says which checks flagged it and why, and names a frame to look at. Empty when nothing was flagged, and on checks that ran before episodes were flagged. |
ExternalDatasetPage
| Field | Type | Description |
|---|---|---|
items | array of ExternalDataset | |
next_cursor | string | null | |
total | integer | How many listed datasets match |
synced_at | string (date-time) | null (date-time) | When the last sync succeeded. Null when the hub has never listed any. |
Episode
| Field | Type | Description |
|---|---|---|
index | integer | |
num_frames | integer | |
tasks | array of string | Natural-language task strings attached to the episode. |
FrameFile
| Field | Type | Description |
|---|---|---|
path | FilePath | |
role | string | What this file holds for the episode. |
format | string | null | File format hint (e.g. |
camera_key | string | null | Camera stream key for |
row_start | integer | null | First row of this episode inside a shared data file. |
row_end | integer | null | Exclusive end row of this episode inside a shared data file. |
start_s | number | null | Where this episode starts inside a shared |
end_s | number | null | Where this episode ends inside a shared |
EpisodeChannel
One plottable scalar track inside a vector feature.
| Field | Type | Description |
|---|---|---|
name | string | Channel label: the joint/motor name from |
group | string | Which feature family this channel came from. |
feature | string | Source feature key, e.g. |
index | integer | Position of this channel inside the feature vector. |
EpisodeSeriesPoint
One sample of one channel.
| Field | Type | Description |
|---|---|---|
t | number | Seconds from the start of the episode. |
name | string | Channel name (matches an |
value | number |
EpisodeVideo
One camera stream for this episode, ready to play.
| Field | Type | Description |
|---|---|---|
camera_key | string | Feature key of the camera, e.g. |
path | FilePath | |
url | string (uri) | Short-lived presigned GET for the video file. |
expires_at | string (date-time) | |
width | integer | null | |
height | integer | null | |
start_s | number | null | Where this episode starts inside the video file, in seconds. Set when one file holds many episodes (LeRobot v3.0). Seek here before playing. Episode time is the file's time minus this value. Null when the file holds this episode alone, so its time is the episode's. |
end_s | number | null | Where this episode ends inside the video file, in seconds (exclusive). The next episode's first frame starts here, so stop playing before it. Null when the file holds this episode alone. |
EpisodeRowFeature
| Field | Type | Description |
|---|---|---|
key | string | The feature's key in |
dtype | string | The declared type, such as |
width | integer | Values per row. One for a scalar, the vector length otherwise. |
shown | boolean | Whether this endpoint can return it. Images and video frames cannot. |
reason | string | null | Why it is not shown, in one sentence. Null when it is. |
EpisodeRowColumn
| Field | Type | Description |
|---|---|---|
key | string | The column's own key. A vector's element is |
feature | string | |
index | integer | null | The element of a vector feature, or null for a scalar. |
label | string | What to print over the column. A joint's own name where the dataset names it, else the key. |
DatasetRecordingPut
| Field | Type | Description |
|---|---|---|
policy_repo | string | null |
|
sha256 | string | null | The digest of the policy file the robot ran, when the recorder kept it. |
device_id | string | null | The connected robot that ran it ( |
live_grant_id | string | null | For a |
session_id | string | null | The bridge's own name for the session record. |
strategy | RecordingStrategy |
DatasetExclusion
| Field | Type | Description |
|---|---|---|
episode | integer | |
status | DatasetExclusionStatus | |
reason | string | Why the episode was proposed, in the proposer's words. |
proposed_by | DatasetExclusionActor | |
proposed_at | string (date-time) | |
decided_by | string | null | The handle of the person who decided last. Null while proposed. |
decided_at | string (date-time) | null (date-time) | |
note | string | null | The person's note on the decision. |
check_id | string | null | The dataset check the proposal cited, when it cited one. |
DatasetCheckFlag
| Field | Type | Description |
|---|---|---|
episode | integer | |
codes | array of string | The checks that flagged this episode ( |
reasons | array of string | One short sentence per check, for a person. |
frame | DatasetFrameRef | null | The frame to show for this episode, as a thumbnail. Null when the dataset has no video for it. |
ExternalDataset
A LeRobot dataset on the Hugging Face Hub, listed by the hub. Every string is someone else's text: the hub strips control characters, caps lengths and keeps only values of the documented shape. Show them as plain text. The hub has read none of its files, so meta/info.json facts (episodes, fps, robot type) are not here.
| Field | Type | Description |
|---|---|---|
source | ExternalSource | |
id | string | The repo id on Hugging Face, |
author | string | The part of |
name | string | The part of |
url | string (uri) |
|
tags | array of string | Hugging Face's plain tags, lowercased ( |
license | string | null | The licence its |
size_category | string | null | Hugging Face's row-count bucket from its |
modalities | array of string | Hugging Face's |
downloads | integer | Downloads on Hugging Face in the last 30 days, as Hugging Face counts them. |
likes | integer | Likes on Hugging Face. |
last_modified | string (date-time) | When it last changed on Hugging Face. |
synced_at | string (date-time) | When the hub last read it from Hugging Face. |
DatasetExclusionStatus
proposed: someone asked to keep the episode out; training still uses it. excluded: a person confirmed; training leaves it out. rejected: a person turned the proposal down. restored: a person put an excluded episode back.
DatasetExclusionActor
| Field | Type | Description |
|---|---|---|
handle | string | null | The person's handle. Null when the account has none. |
via | string | A signed-in person ( |
DatasetFrameRef
One video frame of an episode, named by the file it is in and its time there. The hub does not decode video. A browser shows the frame by loading the file with the time as a media fragment (#t=12.3), and the episode viewer opens at it.
| Field | Type | Description |
|---|---|---|
camera | string | The camera's feature key, such as |
path | string | The video file's path in the repo. |
t_s | number | The frame's time in that file, in seconds. |
episode_t_s | number | The same frame's time from the episode's start, in seconds. |
ExternalSource
Where a listed policy lives. Only the Hugging Face Hub today.