EmbodiFlow文档
开始使用数据工作流与算法训练与部署开发者参考
  • 开发者参考

认证

  • 认证概览
  • API 密钥
  • 个人访问令牌
  • 浏览器会话

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • 任务片段与版本
          • 标注
            • 质量与任务
              • 检索
                • 工作流
                  • 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
                • 算法
                  • 模型
                    • 产物与导出
                      • 计费与用量
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 工作流
                              4. Create a workflow run plan

                              Create a workflow run plan

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

                              认证

                              每个请求都需要携带个人访问令牌(PAT)。

                              • Authorization: Bearer PAT
                              认证指南

                              路径参数

                              • projectIdstring必填

                              请求头参数

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

                              请求体

                              Content-Typeapplication/json
                              • revisionRefstring
                              • modestring
                                可选值
                                normal
                                test
                              • inputobject
                              • paramsobject

                              响应

                              Success

                              • option 1object
                                • dataobject必填
                              • option 2object
                                • dataobject必填
                              响应示例
                              {
                                "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": {}
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              PUT /projects/{projectId}/workflow-bindings/{purpose}

                              下一页

                              GET /projects/{projectId}/workflow-runs

                              curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/workflow-run-plans' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "revisionRef": "string",
                                  "mode": "normal",
                                  "input": {},
                                  "params": {}
                                }'
                              响应示例
                              状态码
                              200
                              ​
                              {
                                "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": {}
                                }
                              }