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
        • Episodes and versions
          • POST
            Apply label and segment operations to a selection of episodes
          • GET
            List episodes in a project
          • GET
            Get an episode
          • PATCH
            Edit an episode in place; editing never confirms, confirm: true does
          • POST
            Apply change operations to a recording's episodes in one transaction; answers the new document
          • GET
            Read a recording's episodes as one document with its revision (the ETag)
          • GET
            List versions in a project
          • POST
            Create a version from a selection of episodes
          • DELETE
            Move a version to trash
          • GET
            Get a version
          • PATCH
            Patch version name
          • GET
            Compare a version with another version
          • GET
            List the recordings that changed between two versions
          • GET
            List episodes in a version
          • GET
            Get a version's statistics
          • POST
            Preview a version selection without writing
        • 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. Episodes and versions
                        4. Edit an episode in place; editing never confirms, confirm: true does

                        Edit an episode in place; editing never confirms, confirm: true does

                        PATCH
                        /v1/projects/{projectId}/episodes/{episodeId}
                        curl -X PATCH 'https://api.embodiflow.io/v1/projects/{projectId}/episodes/{episodeId}' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "startNs": 0,
                            "endNs": 0,
                            "task": {},
                            "outcome": "success",
                            "subtasks": [
                              {}
                            ],
                            "tags": [
                              "string"
                            ],
                            "splitTag": "train",
                            "excluded": true,
                            "comment": "string",
                            "commentAtNs": 0,
                            "confirm": true
                          }'

                        Authorization

                        Send a personal access token with every request.

                        • Authorization: Bearer PAT
                        Authentication guide

                        Path parameters

                        • projectIdstringrequired
                        • episodeIdstringrequired

                        Header parameters

                        • If-Matchstring

                          Optional precondition. A matching tag proceeds and returns the new ETag. A stale tag returns 412 PRECONDITION_FAILED with no write. Absent proceeds (opt-in this release). If-Match: * succeeds when the resource exists. Malformed values return 400 IF_MATCH_INVALID.

                        Request body

                        Content-Typeapplication/json
                        • startNsnumber

                          Start of the episode in nanoseconds.

                        • endNsnumber

                          End of the episode in nanoseconds.

                        • taskobject | null
                        • outcomestring | null
                          Allowed values
                          success
                          failure
                          partial
                        • subtasksarray<object>
                        • tagsarray<string>

                          Replaces the tag list.

                        • splitTagstring | null
                          Allowed values
                          train
                          val
                          test
                        • excludedboolean
                        • commentstring | null
                        • commentAtNsnumber | null
                        • confirmboolean

                          Confirm a to-review episode. Editing never confirms; this is the only confirm.

                        Responses

                        Success

                        • dataobjectrequired
                          • subtasksarray<object>required
                          • commentstring | nullrequired
                          • commentAtNsnumber | nullrequired
                          • episodeIdstringrequired
                          • recordingIdstringrequired
                          • recordingNamestringrequired
                          • startNsnumberrequired
                          • endNsnumberrequired
                          • durationNsnumberrequired
                          • cameraKeysarray<string>required
                          • posterUrlstring | nullrequired
                          • taskobject | nullrequired
                          • outcomestring | nullrequired
                          • subtaskCountnumberrequired
                          • tagsarray<string>required
                          • attributesobjectrequired
                          • splitTagstring | nullrequired
                          • verdictstringrequired
                            Allowed values
                            warning
                            fail
                            pass
                            incomplete
                            not_checked
                          • verdictReasonstring | nullrequired
                          • issueCountnumberrequired
                          • rowVersionnumberrequired
                          • confirmedBystring | nullrequired
                          • confirmedAtstring | nullrequired
                          • confidencenumber | nullrequired
                          • excludedone ofrequired
                          • provenancestringrequired
                            Allowed values
                            human
                            ai_proposed
                            import
                            whole
                          • reviewstringrequired
                            Allowed values
                            to_review
                            confirmed
                          • semanticScorenumber
                        Response example
                        {
                          "data": {
                            "subtasks": [
                              {
                                "startNs": 0,
                                "endNs": 0,
                                "description": {
                                  "en": "string",
                                  "zh": "string"
                                }
                              }
                            ],
                            "comment": "string",
                            "commentAtNs": 0,
                            "episodeId": "string",
                            "recordingId": "string",
                            "recordingName": "string",
                            "startNs": 0,
                            "endNs": 0,
                            "durationNs": 0,
                            "cameraKeys": [
                              "string"
                            ],
                            "posterUrl": "string",
                            "task": {
                              "en": "string",
                              "zh": "string"
                            },
                            "outcome": "string",
                            "subtaskCount": 0,
                            "tags": [
                              "string"
                            ],
                            "attributes": {},
                            "splitTag": "string",
                            "verdict": "warning",
                            "verdictReason": "string",
                            "issueCount": 0,
                            "rowVersion": 0,
                            "confirmedBy": "string",
                            "confirmedAt": "string",
                            "confidence": 0,
                            "excluded": false,
                            "provenance": "human",
                            "review": "to_review",
                            "semanticScore": 0
                          }
                        }
                        Servershttps://api.embodiflow.io/v1
                        Previous

                        GET /projects/{projectId}/episodes/{episodeId}

                        Next

                        POST /projects/{projectId}/recordings/{recordingId}/episode-changes

                        curl -X PATCH 'https://api.embodiflow.io/v1/projects/{projectId}/episodes/{episodeId}' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "startNs": 0,
                            "endNs": 0,
                            "task": {},
                            "outcome": "success",
                            "subtasks": [
                              {}
                            ],
                            "tags": [
                              "string"
                            ],
                            "splitTag": "train",
                            "excluded": true,
                            "comment": "string",
                            "commentAtNs": 0,
                            "confirm": true
                          }'

                        Response example

                        Status code
                        200
                        ​
                        {
                          "data": {
                            "subtasks": [
                              {
                                "startNs": 0,
                                "endNs": 0,
                                "description": {
                                  "en": "string",
                                  "zh": "string"
                                }
                              }
                            ],
                            "comment": "string",
                            "commentAtNs": 0,
                            "episodeId": "string",
                            "recordingId": "string",
                            "recordingName": "string",
                            "startNs": 0,
                            "endNs": 0,
                            "durationNs": 0,
                            "cameraKeys": [
                              "string"
                            ],
                            "posterUrl": "string",
                            "task": {
                              "en": "string",
                              "zh": "string"
                            },
                            "outcome": "string",
                            "subtaskCount": 0,
                            "tags": [
                              "string"
                            ],
                            "attributes": {},
                            "splitTag": "string",
                            "verdict": "warning",
                            "verdictReason": "string",
                            "issueCount": 0,
                            "rowVersion": 0,
                            "confirmedBy": "string",
                            "confirmedAt": "string",
                            "confidence": 0,
                            "excluded": false,
                            "provenance": "human",
                            "review": "to_review",
                            "semanticScore": 0
                          }
                        }