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. 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.

                        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.

                        POST
                        /v1/projects/{projectId}/upload-batches
                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/upload-batches' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "dataSource": "string",
                            "dataFormat": "string",
                            "sourceKind": "human",
                            "recordingShape": "continuous",
                            "vendorSchema": "string",
                            "taskId": "string",
                            "task": "string",
                            "durationS": 0,
                            "sourceEpisodes": [
                              {
                                "taskId": "string",
                                "label": "string",
                                "id": "string",
                                "startS": 0,
                                "endS": 0
                              }
                            ],
                            "sampleForFormatId": "00000000-0000-0000-0000-000000000000",
                            "sourceType": "string",
                            "metadata": {},
                            "manifestFiles": [
                              {
                                "role": "calibration",
                                "deviceMeta": {},
                                "lerobotInfo": {},
                                "originalFilename": "string",
                                "relativePath": "string",
                                "contentType": "string",
                                "sizeBytes": 0,
                                "checksumExpected": "string"
                              }
                            ],
                            "groupingOverrides": [
                              {
                                "targetRecordingKey": "string",
                                "targetRecordingName": "string",
                                "relativePaths": [
                                  "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
                        • dataSourcestring | null

                          Optional recording source facet. Only ego_human is accepted when present. Omit for robot recordings. Literal ego_human (underscore); ego-human is rejected.

                        • dataFormatstring | null
                        • sourceKindstring
                          Allowed values
                          human
                          robot
                          umi
                        • recordingShapestring
                          Allowed values
                          continuous
                          single_task
                          presegmented
                        • vendorSchemastring | null
                        • taskIdstring | null
                        • taskstring | null

                          Robot task text; wins over the project default (FV-09).

                        • durationSnumber | null
                        • sourceEpisodesarray<ImportSourceEpisodeBodyDto>
                          • taskIdstring | null
                          • labelstring | null
                          • idstringrequired
                          • startSnumberrequired
                          • endSnumberrequired
                        • sampleForFormatIdstring (uuid)

                          Upload a test sample for the draft of this team data format (FV-20c). The sample is only used for that draft's sample runs; it is never listed, counted, versioned or exported. Needs `algorithm:write` and sourceType `team-format`.

                        • sourceTypestringrequired
                        • metadataobject
                        • manifestFilesarray<CreateUploadSessionFileBodyDto>
                          • rolestring | null
                            Allowed values
                            calibration
                            mapping
                            media
                          • deviceMetaobject | null
                          • lerobotInfoobject | null

                            The parsed content of a LeRobot folder's `meta/info.json` (at most 1 MiB): the plan counts a LeRobot v3 dataset's episodes from it before any bytes move. Advisory; submit re-reads the uploaded copy. Ignored for every other file.

                          • originalFilenamestringrequired
                          • relativePathstringrequired
                          • contentTypestring | null
                          • sizeBytesnumberrequired
                          • checksumExpectedstring | null
                        • groupingOverridesarray<UploadGroupingOverrideBodyDto>
                          • targetRecordingKeystringrequired
                          • targetRecordingNamestringrequired
                          • relativePathsarray<string>required

                        Responses

                        Success

                        • dataobjectrequired
                          • batchobjectrequired
                          • recordingPlanobjectrequired
                        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"
                              }
                            },
                            "recordingPlan": {
                              "status": "ready",
                              "projectType": "string",
                              "sourceType": "string",
                              "fileCount": 0,
                              "totalBytes": 0,
                              "recordings": [
                                {
                                  "key": "string",
                                  "name": "string",
                                  "sourceType": "string",
                                  "fileCount": 0,
                                  "totalBytes": 0,
                                  "files": [
                                    {}
                                  ],
                                  "groupingMode": "directory",
                                  "rootPath": "string"
                                }
                              ],
                              "issues": [
                                {
                                  "code": "string",
                                  "severity": "warning",
                                  "message": "string",
                                  "relativePaths": [
                                    "string"
                                  ]
                                }
                              ],
                              "ignoredFiles": [
                                "string"
                              ]
                            }
                          }
                        }
                        Servershttps://api.embodiflow.io/v1
                        Previous

                        GET /projects/{projectId}/upload-batches

                        Next

                        GET /upload-batches/{batchId}

                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/upload-batches' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "dataSource": "string",
                            "dataFormat": "string",
                            "sourceKind": "human",
                            "recordingShape": "continuous",
                            "vendorSchema": "string",
                            "taskId": "string",
                            "task": "string",
                            "durationS": 0,
                            "sourceEpisodes": [
                              {
                                "taskId": "string",
                                "label": "string",
                                "id": "string",
                                "startS": 0,
                                "endS": 0
                              }
                            ],
                            "sampleForFormatId": "00000000-0000-0000-0000-000000000000",
                            "sourceType": "string",
                            "metadata": {},
                            "manifestFiles": [
                              {
                                "role": "calibration",
                                "deviceMeta": {},
                                "lerobotInfo": {},
                                "originalFilename": "string",
                                "relativePath": "string",
                                "contentType": "string",
                                "sizeBytes": 0,
                                "checksumExpected": "string"
                              }
                            ],
                            "groupingOverrides": [
                              {
                                "targetRecordingKey": "string",
                                "targetRecordingName": "string",
                                "relativePaths": [
                                  "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"
                              }
                            },
                            "recordingPlan": {
                              "status": "ready",
                              "projectType": "string",
                              "sourceType": "string",
                              "fileCount": 0,
                              "totalBytes": 0,
                              "recordings": [
                                {
                                  "key": "string",
                                  "name": "string",
                                  "sourceType": "string",
                                  "fileCount": 0,
                                  "totalBytes": 0,
                                  "files": [
                                    {}
                                  ],
                                  "groupingMode": "directory",
                                  "rootPath": "string"
                                }
                              ],
                              "issues": [
                                {
                                  "code": "string",
                                  "severity": "warning",
                                  "message": "string",
                                  "relativePaths": [
                                    "string"
                                  ]
                                }
                              ],
                              "ignoredFiles": [
                                "string"
                              ]
                            }
                          }
                        }