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
          • Health and quality
            • GET
              List quality baselines for a project
            • GET
              List series for a quality baseline
            • GET
              List quality rule set for a project
            • PUT
              Update a quality rule set
            • POST
              Create a preview request
            • GET
              One re-judge a rule-set write started: progress while it runs, the final counts once it ends. Poll it until `status` is `succeeded`, `failed` or `superseded`.
            • GET
              List quality rule catalog
            • POST
              Create a preview request
          • 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. Health and quality
                        4. Create a preview request

                        Create a preview request

                        POST
                        /v1/projects/{projectId}/quality-rule-set/preview-requests
                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/quality-rule-set/preview-requests' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "runId": "string",
                            "recordingId": "00000000-0000-0000-0000-000000000000",
                            "ruleSetDraft": {}
                          }'

                        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
                        • runIdstring

                          The workflow run whose result to test, or `upload` for the upload-time result. Omitted: the recording's current result.

                        • recordingIdstring (uuid)required
                        • ruleSetDraftobject

                        Responses

                        Success

                        • dataobjectrequired
                          • qualityRuleSetIdstring | nullrequired
                          • projectIdstringrequired
                          • recordingIdstringrequired
                          • runIdstring | nullrequired
                          • usedDraftone ofrequired
                          • summaryobjectrequired
                          • findingsarray<QualityRuleSetPreviewFindingDto>required
                          • diagnosticsarray<QualityRuleSetPreviewDiagnosticDto>required
                          • versionFindingsarray<object>required
                          • policySnapshotHashstring
                          • metricsDocumentSourcestring | null
                          • draftPolicyErrorstring | null
                          • checksarray<QualityRuleSetPreviewCheckDto>
                        Response example
                        {
                          "data": {
                            "qualityRuleSetId": "string",
                            "projectId": "string",
                            "recordingId": "string",
                            "runId": "string",
                            "usedDraft": false,
                            "summary": {
                              "overallStatus": "failed",
                              "passedCount": 0,
                              "warningCount": 0,
                              "failedCount": 0,
                              "fileCount": 0,
                              "visibilityStatus": "active",
                              "notEvaluatedCount": 0
                            },
                            "findings": [
                              {
                                "fileId": "string",
                                "logicalPath": "string",
                                "qualityStatus": "failed",
                                "details": [
                                  {}
                                ]
                              }
                            ],
                            "diagnostics": [
                              {
                                "severity": "warning",
                                "code": "string",
                                "message": "string",
                                "details": {}
                              }
                            ],
                            "versionFindings": [
                              {}
                            ],
                            "policySnapshotHash": "string",
                            "metricsDocumentSource": "string",
                            "draftPolicyError": "string",
                            "checks": [
                              {
                                "checkId": "string",
                                "bindingIdentity": "string",
                                "ruleVersion": 0,
                                "family": "string",
                                "enabled": false,
                                "severity": "string",
                                "blocking": false,
                                "verdict": "warn",
                                "nonVerdictReason": "string",
                                "status": "string",
                                "message": "string",
                                "findingCount": 0,
                                "previewSupported": false
                              }
                            ]
                          }
                        }
                        Servershttps://api.embodiflow.io/v1
                        Previous

                        PUT /projects/{projectId}/quality-rule-set

                        Next

                        GET /projects/{projectId}/quality-rule-set/reevaluations/{reevaluationId}

                        curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/quality-rule-set/preview-requests' \
                          -H "Authorization: Bearer $EMBODIFLOW_PAT" \
                          -H 'Content-Type: application/json' \
                          -d '{
                            "runId": "string",
                            "recordingId": "00000000-0000-0000-0000-000000000000",
                            "ruleSetDraft": {}
                          }'

                        Response example

                        Status code
                        201
                        ​
                        {
                          "data": {
                            "qualityRuleSetId": "string",
                            "projectId": "string",
                            "recordingId": "string",
                            "runId": "string",
                            "usedDraft": false,
                            "summary": {
                              "overallStatus": "failed",
                              "passedCount": 0,
                              "warningCount": 0,
                              "failedCount": 0,
                              "fileCount": 0,
                              "visibilityStatus": "active",
                              "notEvaluatedCount": 0
                            },
                            "findings": [
                              {
                                "fileId": "string",
                                "logicalPath": "string",
                                "qualityStatus": "failed",
                                "details": [
                                  {}
                                ]
                              }
                            ],
                            "diagnostics": [
                              {
                                "severity": "warning",
                                "code": "string",
                                "message": "string",
                                "details": {}
                              }
                            ],
                            "versionFindings": [
                              {}
                            ],
                            "policySnapshotHash": "string",
                            "metricsDocumentSource": "string",
                            "draftPolicyError": "string",
                            "checks": [
                              {
                                "checkId": "string",
                                "bindingIdentity": "string",
                                "ruleVersion": 0,
                                "family": "string",
                                "enabled": false,
                                "severity": "string",
                                "blocking": false,
                                "verdict": "warn",
                                "nonVerdictReason": "string",
                                "status": "string",
                                "message": "string",
                                "findingCount": 0,
                                "previewSupported": false
                              }
                            ]
                          }
                        }