EmbodiFlowDocs
Open console
Get startedAlgorithms and workflowsDataTrainingReference
  • Reference

Tools

  • CLI reference
  • Python SDK

Algorithms and workflows

  • Algorithm interface and manifest
    • Standardize
    • Check
    • Transform
    • Enrich
    • Segment
    • Filter
    • Export
  • Built-in algorithms
    • Anonymize
    • Body pose (SMPL-H)
    • Head pose (visual-inertial)
    • Standardize MCAP
    • Standardize video
    • Ego 3D visualization
    • Episode success
    • Filter episodes
    • Hand pose (MANO)
    • Hand pose
    • LeRobot v3 export
    • Import LeRobot
    • Video preview
    • Poster frames
    • Propose episodes
    • Raw-file metrics
    • Recording episodes
    • Sensor calibration
    • Split episodes
    • Stereo depth
    • Visual metrics

API

  • REST API
  • All endpoints
  • Projects
    • Recordings
      • Upload
        • POST
          Start the import: creates the upload batch, pinned to the previewed commit (`sha`), and queues the download Job.
        • POST
          What an import would create, without creating anything: the pinned commit, licence, episodes, size, robot type and cameras.
        • GET
          List upload batches for a project
        • POST
          Create an upload batch from a path+size manifest. JSON body ceiling is 4 MiB on this route only (global public JSON stays 100kb). Exceeding it returns 413 PAYLOAD_TOO_LARGE. File bytes are not accepted here; clients upload objects directly to storage. With `sampleForFormatId` the batch carries a test sample for the draft of a team data format (FV-20c): it needs `algorithm:write`, `sourceType` `team-format` and files with an extension the draft card declares, and the sample is used only for that format's sample runs.
        • GET
          Get a upload batche
        • PATCH
          Rename an upload batch (`name: null` clears it). Optional `If-Match`; a stale tag returns 412 PRECONDITION_FAILED.
        • POST
          Heartbeat of the uploader: the uploading page calls this about every minute while it hashes or sends bytes, so the batch is told apart from an abandoned one. 409 UPLOAD_BATCH_NOT_DISCARDABLE once the batch is no longer in progress.
        • POST
          Discard an unfinished upload: settles the batch as failed (`UPLOAD_BATCH_DISCARDED`), aborts its open sessions and deletes the files that landed, for good. With files landed the caller must be the uploader or hold `project:manage` (403 PERMISSION_DENIED). 409 UPLOAD_BATCH_ACTIVE while the uploader is alive; 409 UPLOAD_BATCH_NOT_DISCARDABLE once the batch was submitted or made a recording. An import cancels on `upload:write` alone until it ends. `canDiscard` on the batch says it in advance.
        • POST
          The uploader says its upload stopped (the page was left or reloaded). A plan preview with no file session is discarded (`outcome: discarded`: nothing was uploaded). A batch with file sessions reads as idle at once (`outcome: interrupted`): discardable, and resumable until the next sign of life makes it live again. Only the batch's uploader may call it (403 PERMISSION_DENIED). 409 UPLOAD_BATCH_NOT_DISCARDABLE once the batch is submitted, closed or an import.
        • GET
          List recording plan for a upload batche
        • POST
          Submit the landed files. 409 UPLOAD_BATCH_CLOSED when the batch was discarded or closed: its files are gone, so start a new upload.
        • GET
          The file sessions of the batch with their planned paths, oldest first, so an interrupted upload can be resumed: re-picked files pair by path and size, and landed files are skipped. Issues no upload URL.
        • POST
          Create a upload session
        • GET
          Get a upload session
        • POST
          Create a cancellation request
        • POST
          Create a completion request
        • POST
          Create a part url
      • Episodes and versions
        • Health and quality
          • Workflows
            • Algorithms
              • Export and training
                • Billing and usage
                  • Team and governance
                    • Account and notifications
                      • Webhook endpoints
                        • Authentication
                        • API keys
                        • Personal access tokens
                        • Browser sessions
                        • Webhooks and signatures

                        Help

                        • Troubleshooting
                        • Changelog

                        © 2026 EmbodiFlow

                        Open consolellms.txtOpenAPI JSON
                        1. Reference
                        2. API
                        3. Upload
                        4. Start the import: creates the upload batch, pinned to the previewed commit (`sha`), and queues the download Job.

                        Start the import: creates the upload batch, pinned to the previewed commit (`sha`), and queues the download Job.

                        POST
                        /v1/projects/{projectId}/hf-imports
                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/hf-imports' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "repoId": "string",
                            "revision": "string",
                            "accessToken": "string",
                            "sha": "string",
                            "force": true,
                            "task": "string"
                          }'

                        Authorization

                        Send a personal access token with every request.

                        • Authorization: Bearer PAT
                        Authentication guide

                        Path parameters

                        • projectIdstringrequired

                        Header parameters

                        • Idempotency-Keystring

                          Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte; a 5xx is not stored, so the same key runs the request again. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.

                        Request body

                        Content-Typeapplication/json
                        • repoIdstringrequired

                          `owner/name`, optionally `owner/name@revision` or a dataset URL.

                        • revisionstring | null

                          Branch, tag or commit; default `main`.

                        • accessTokenstring | null

                          Read token for a private or gated dataset. Write-only: used for this request (preview) or handed once to the import Job, never stored.

                        • shastring | null

                          The commit the preview showed; a moved revision is refused.

                        • forceboolean

                          Import again although this commit is already in the project.

                        • taskstring | null

                          Task text for episodes without their own; default the project's.

                        Responses

                        Success

                        • dataobjectrequired
                          • batchobjectrequired
                          • previewobjectrequired
                        Response example
                        {
                          "data": {
                            "batch": {
                              "id": "string",
                              "tenantId": "string",
                              "projectId": "string",
                              "recordingId": "string",
                              "sourceType": "string",
                              "status": "string",
                              "name": "string",
                              "createdAt": "string",
                              "updatedAt": "string",
                              "lastActivityAt": "string",
                              "idle": false,
                              "canDiscard": false,
                              "totalSessions": 0,
                              "completedSessions": 0,
                              "failedSessions": 0,
                              "recordingCount": 0,
                              "latestRecordingPlanStatus": "string",
                              "materializationStatus": "string",
                              "latestRun": {
                                "id": "string",
                                "status": "string",
                                "recordingTally": {
                                  "total": 0,
                                  "usable": 0,
                                  "gateRejected": 0,
                                  "failed": 0,
                                  "skipped": 0,
                                  "tested": 0,
                                  "unfinished": 0
                                }
                              },
                              "runningStepId": "string",
                              "recordingsWaitingForImage": 0,
                              "failure": {
                                "code": "string",
                                "reason": "string",
                                "stepId": "string",
                                "stepName": "string",
                                "stepAlgorithm": {
                                  "slug": "string",
                                  "title": "string",
                                  "official": false
                                },
                                "stepRunId": "string",
                                "runId": "string",
                                "stepErrorCode": "string"
                              },
                              "processingRefused": {
                                "code": "string"
                              },
                              "submitRefusal": {
                                "code": "string",
                                "message": "string"
                              },
                              "processedAt": "string",
                              "processingOutcome": "succeeded",
                              "failedRecordingCount": 0,
                              "withoutProcessing": false,
                              "source": {
                                "hub": "huggingface",
                                "repoId": "string",
                                "requestedRevision": "string",
                                "sha": "string",
                                "license": "string"
                              },
                              "importProgress": {
                                "state": "queued",
                                "filesDone": 0,
                                "filesTotal": 0,
                                "bytesDone": 0,
                                "bytesTotal": 0,
                                "updatedAt": "string"
                              }
                            },
                            "preview": {
                              "repoId": "string",
                              "requestedRevision": "string",
                              "sha": "string",
                              "license": "string",
                              "name": "string",
                              "codebaseVersion": "string",
                              "robotType": "string",
                              "fps": 0,
                              "totalEpisodes": 0,
                              "cameras": [
                                "string"
                              ],
                              "fileCount": 0,
                              "totalBytes": 0,
                              "maxBytes": 0,
                              "warnings": [
                                {
                                  "code": "string",
                                  "robotType": "string",
                                  "missing": [
                                    "string"
                                  ]
                                }
                              ],
                              "tokenRequired": false
                            }
                          }
                        }
                        Servershttps://api.embodiflow.io/v1
                        Previous

                        Upload

                        Next

                        POST /projects/{projectId}/hf-imports/previews

                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/hf-imports' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "repoId": "string",
                            "revision": "string",
                            "accessToken": "string",
                            "sha": "string",
                            "force": true,
                            "task": "string"
                          }'

                        Response example

                        Status code
                        201
                        ​
                        {
                          "data": {
                            "batch": {
                              "id": "string",
                              "tenantId": "string",
                              "projectId": "string",
                              "recordingId": "string",
                              "sourceType": "string",
                              "status": "string",
                              "name": "string",
                              "createdAt": "string",
                              "updatedAt": "string",
                              "lastActivityAt": "string",
                              "idle": false,
                              "canDiscard": false,
                              "totalSessions": 0,
                              "completedSessions": 0,
                              "failedSessions": 0,
                              "recordingCount": 0,
                              "latestRecordingPlanStatus": "string",
                              "materializationStatus": "string",
                              "latestRun": {
                                "id": "string",
                                "status": "string",
                                "recordingTally": {
                                  "total": 0,
                                  "usable": 0,
                                  "gateRejected": 0,
                                  "failed": 0,
                                  "skipped": 0,
                                  "tested": 0,
                                  "unfinished": 0
                                }
                              },
                              "runningStepId": "string",
                              "recordingsWaitingForImage": 0,
                              "failure": {
                                "code": "string",
                                "reason": "string",
                                "stepId": "string",
                                "stepName": "string",
                                "stepAlgorithm": {
                                  "slug": "string",
                                  "title": "string",
                                  "official": false
                                },
                                "stepRunId": "string",
                                "runId": "string",
                                "stepErrorCode": "string"
                              },
                              "processingRefused": {
                                "code": "string"
                              },
                              "submitRefusal": {
                                "code": "string",
                                "message": "string"
                              },
                              "processedAt": "string",
                              "processingOutcome": "succeeded",
                              "failedRecordingCount": 0,
                              "withoutProcessing": false,
                              "source": {
                                "hub": "huggingface",
                                "repoId": "string",
                                "requestedRevision": "string",
                                "sha": "string",
                                "license": "string"
                              },
                              "importProgress": {
                                "state": "queued",
                                "filesDone": 0,
                                "filesTotal": 0,
                                "bytesDone": 0,
                                "bytesTotal": 0,
                                "updatedAt": "string"
                              }
                            },
                            "preview": {
                              "repoId": "string",
                              "requestedRevision": "string",
                              "sha": "string",
                              "license": "string",
                              "name": "string",
                              "codebaseVersion": "string",
                              "robotType": "string",
                              "fps": 0,
                              "totalEpisodes": 0,
                              "cameras": [
                                "string"
                              ],
                              "fileCount": 0,
                              "totalBytes": 0,
                              "maxBytes": 0,
                              "warnings": [
                                {
                                  "code": "string",
                                  "robotType": "string",
                                  "missing": [
                                    "string"
                                  ]
                                }
                              ],
                              "tokenRequired": false
                            }
                          }
                        }