EmbodiFlowDocs
Open console
Get startedDataWorkflows and algorithmsTraining and deploymentDeveloper reference
  • Developer reference

Authentication

  • Authentication overview
  • API keys
  • Personal access tokens
  • Browser sessions

REST API

  • Using the REST API
  • All endpoints
  • Projects
    • Recordings
      • Upload
        • Episodes and versions
          • Annotation
            • Quality and tasks
              • Search
                • Workflows
                  • GET
                    List algorithm definitions
                  • POST
                    Create a algorithm definition
                  • GET
                    Get a algorithm definition
                  • GET
                    List revisions for a algorithm definition
                  • POST
                    Create a revision
                  • POST
                    Create a publication request
                  • POST
                    Create a revocation
                  • POST
                    Create a image ref validation
                  • GET
                    Get a container run
                  • GET
                    List log downloads for a container run
                  • GET
                    List outdated outputs for a project
                  • POST
                    Create a workflow run
                  • GET
                    List workflows for a version
                  • POST
                    Create a workflow backfill
                  • GET
                    List workflow bindings for a project
                  • PUT
                    Update a workflow binding
                  • POST
                    Create a workflow run plan
                  • GET
                    List workflow runs for a project
                  • POST
                    Create a workflow run
                  • GET
                    List recent quality jobs for a me
                  • GET
                    List workflow definitions
                  • POST
                    Create a workflow definition
                  • DELETE
                    Delete a workflow definition
                  • GET
                    Get a workflow definition
                  • PATCH
                    Update a workflow definition
                  • POST
                    Create a revision
                  • GET
                    Get a revision
                  • PUT
                    Update a revision
                  • PUT
                    Update a layout
                  • POST
                    Create a publication
                  • GET
                    Get a workflow run
                  • POST
                    Create a cancellation request
                  • GET
                    List container runs for a workflow run
                  • GET
                    List recordings for a workflow run
                  • POST
                    Create a rerun request
                  • GET
                    List steps for a workflow run
                  • GET
                    Get a workflow step run
                  • POST
                    Create a download session
                  • GET
                    List log tail for a workflow step run
                  • GET
                    List outputs for a workflow step run
                  • POST
                    Create a workflow validation
                • Algorithms
                  • Models
                    • Artifacts and export
                      • Billing and usage
                        • Team and governance
                          • Account and notifications
                            • Webhook endpoints

                              Events

                              • Outbound events
                              • Signature verification

                              Tools

                              • CLI
                              • SDK
                              • MCP

                              Updates

                              • Changelog

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. Developer reference
                              2. REST API
                              3. Workflows
                              4. Create a workflow run

                              Create a workflow run

                              POST
                              /v1/projects/{projectId}/workflow-runs
                              curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/workflow-runs' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "revisionRef": "string",
                                  "mode": "normal",
                                  "input": {},
                                  "params": {}
                                }'

                              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, including a 5xx. 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
                              • revisionRefstring
                              • modestring
                                Allowed values
                                normal
                                test
                              • inputobject
                              • paramsobject

                              Responses

                              Success

                              • option 1object
                                • dataobjectrequired
                              • option 2object
                                • dataobjectrequired
                              Response example
                              {
                                "data": {
                                  "steps": [
                                    {
                                      "runIndex": 0,
                                      "stepId": "string",
                                      "scopeKey": "string",
                                      "kind": "system",
                                      "recordingId": "string",
                                      "dataVersion": "string",
                                      "algorithmRevisionId": "string",
                                      "algorithmVersion": "string",
                                      "cached": false,
                                      "dependsOn": [
                                        "string"
                                      ]
                                    }
                                  ],
                                  "recordings": {
                                    "included": [
                                      {
                                        "recordingId": "string",
                                        "captureSessionId": "string",
                                        "sessionRole": "other"
                                      }
                                    ],
                                    "skipped": [
                                      {
                                        "recordingId": "string",
                                        "reason": "string"
                                      }
                                    ]
                                  },
                                  "estimate": {
                                    "cpuSeconds": 0,
                                    "gpuSeconds": 0,
                                    "storageBytes": 0,
                                    "durationSeconds": 0,
                                    "costMinor": 0,
                                    "currency": "usd"
                                  },
                                  "cachedSteps": 0,
                                  "workflowRevisionId": "string",
                                  "planToken": "string",
                                  "runGroupId": {},
                                  "runs": {}
                                }
                              }
                              Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              Previous

                              GET /projects/{projectId}/workflow-runs

                              Next

                              GET /users/me/recent-quality-jobs

                              curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/workflow-runs' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "revisionRef": "string",
                                  "mode": "normal",
                                  "input": {},
                                  "params": {}
                                }'
                              Response example
                              Status code
                              201
                              ​
                              {
                                "data": {
                                  "steps": [
                                    {
                                      "runIndex": 0,
                                      "stepId": "string",
                                      "scopeKey": "string",
                                      "kind": "system",
                                      "recordingId": "string",
                                      "dataVersion": "string",
                                      "algorithmRevisionId": "string",
                                      "algorithmVersion": "string",
                                      "cached": false,
                                      "dependsOn": [
                                        "string"
                                      ]
                                    }
                                  ],
                                  "recordings": {
                                    "included": [
                                      {
                                        "recordingId": "string",
                                        "captureSessionId": "string",
                                        "sessionRole": "other"
                                      }
                                    ],
                                    "skipped": [
                                      {
                                        "recordingId": "string",
                                        "reason": "string"
                                      }
                                    ]
                                  },
                                  "estimate": {
                                    "cpuSeconds": 0,
                                    "gpuSeconds": 0,
                                    "storageBytes": 0,
                                    "durationSeconds": 0,
                                    "costMinor": 0,
                                    "currency": "usd"
                                  },
                                  "cachedSteps": 0,
                                  "workflowRevisionId": "string",
                                  "planToken": "string",
                                  "runGroupId": {},
                                  "runs": {}
                                }
                              }