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. Apply change operations to a recording's episodes in one transaction; answers the new document

                        Apply change operations to a recording's episodes in one transaction; answers the new document

                        POST
                        /v1/projects/{projectId}/recordings/{recordingId}/episode-changes
                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/recordings/{recordingId}/episode-changes' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "changes": [
                              {}
                            ]
                          }'

                        Authorization

                        Send a personal access token with every request.

                        • Authorization: Bearer PAT
                        Authentication guide

                        Path parameters

                        • projectIdstringrequired
                        • recordingIdstringrequired

                        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.

                        • 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
                        • changesarray<object>required

                          Change operations applied in order (at most 200): create, update, delete, restore, split, merge, unmerge, confirm, include.

                        Responses

                        Success

                        • dataobjectrequired
                          • recordingIdstringrequired
                          • revisionnumberrequired
                          • timelineobjectrequired
                          • episodesarray<EpisodeDocumentEpisodeDto>required
                          • proposalsobjectrequired
                        Response example
                        {
                          "data": {
                            "recordingId": "string",
                            "revision": 0,
                            "timeline": {
                              "fps": 0,
                              "frameCount": 0
                            },
                            "episodes": [
                              {
                                "id": "string",
                                "startNs": 0,
                                "endNs": 0,
                                "task": {
                                  "en": "string",
                                  "zh": "string"
                                },
                                "subtasks": [
                                  {
                                    "startNs": 0,
                                    "endNs": 0,
                                    "description": {}
                                  }
                                ],
                                "outcome": "success",
                                "tags": [
                                  "string"
                                ],
                                "review": "to_review",
                                "origin": "human",
                                "confidence": 0,
                                "excluded": false,
                                "status": {
                                  "verdict": "warning",
                                  "verdictReason": "string",
                                  "issueCount": 0
                                }
                              }
                            ],
                            "proposals": {
                              "blocked": "episodes",
                              "deleted": false
                            }
                          }
                        }
                        Servershttps://api.embodiflow.io/v1
                        Previous

                        PATCH /projects/{projectId}/episodes/{episodeId}

                        Next

                        GET /projects/{projectId}/recordings/{recordingId}/episode-document

                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/recordings/{recordingId}/episode-changes' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "changes": [
                              {}
                            ]
                          }'

                        Response example

                        Status code
                        200
                        ​
                        {
                          "data": {
                            "recordingId": "string",
                            "revision": 0,
                            "timeline": {
                              "fps": 0,
                              "frameCount": 0
                            },
                            "episodes": [
                              {
                                "id": "string",
                                "startNs": 0,
                                "endNs": 0,
                                "task": {
                                  "en": "string",
                                  "zh": "string"
                                },
                                "subtasks": [
                                  {
                                    "startNs": 0,
                                    "endNs": 0,
                                    "description": {}
                                  }
                                ],
                                "outcome": "success",
                                "tags": [
                                  "string"
                                ],
                                "review": "to_review",
                                "origin": "human",
                                "confidence": 0,
                                "excluded": false,
                                "status": {
                                  "verdict": "warning",
                                  "verdictReason": "string",
                                  "issueCount": 0
                                }
                              }
                            ],
                            "proposals": {
                              "blocked": "episodes",
                              "deleted": false
                            }
                          }
                        }