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

认证

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

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • GET
          List collection delivery batches
        • POST
          Create a collection delivery batche
        • GET
          Get a collection delivery batche
        • PATCH
          Update a collection delivery batche
        • POST
          Create a submission
        • POST
          Create a upload batche
        • GET
          List collection orders for a project
        • POST
          Create a collection order
        • DELETE
          Delete a collection order
        • GET
          Get a collection order
        • PATCH
          Update a collection order
        • GET
          List assignments for a collection order
        • POST
          Create a assignment
        • DELETE
          Delete a assignment
        • POST
          Create a invitation
        • POST
          Create a cancellation
        • POST
          Create a closure
        • GET
          List consents for a collection order
        • POST
          Create a consent
        • DELETE
          Delete a consent
        • GET
          Get a consent
        • PATCH
          Update a consent
        • GET
          List delivery batches for a collection order
        • GET
          Get a delivery batche
        • POST
          Create a duplicate
        • POST
          Create a opening
        • GET
          List progress for a collection order
        • GET
          List quotas for a collection order
        • POST
          Create a quota
        • DELETE
          Delete a quota
        • PATCH
          Update a quota
        • POST
          Create a report
        • GET
          List scenes for a collection order
        • POST
          Create a scene
        • DELETE
          Delete a scene
        • PATCH
          Update a scene
        • POST
          Create a photo
        • GET
          List submissions for a collection order
        • GET
          Get a submission
        • POST
          Create a review
        • GET
          List tasks for a collection order
        • POST
          Create a task
        • DELETE
          Delete a task
        • PATCH
          Update a task
        • POST
          Create a demo media
        • GET
          List upload batches for a project
        • POST
          Create an upload batch from a path+size manifest. JSON body ceiling is 4 MiB on this route only (global public JSON stays 100kb). Exceeding it returns 413 PAYLOAD_TOO_LARGE. File bytes are not accepted here; clients upload objects directly to storage. With `sampleForFormatId` the batch carries a test sample for the draft of a team data format (FV-20c): it needs `algorithm:write`, `sourceType` `team-format` and files with an extension the draft card declares, and the sample is used only for that format's sample runs.
        • GET
          Get a upload batche
        • POST
          Heartbeat of the uploader: the uploading page calls this about every minute while it hashes or sends bytes, so the batch is told apart from an abandoned one. 409 UPLOAD_BATCH_NOT_DISCARDABLE once the batch is no longer in progress.
        • POST
          Discard an unfinished upload: aborts its open sessions and settles the batch as failed (`UPLOAD_BATCH_DISCARDED`). 409 UPLOAD_BATCH_ACTIVE while the uploader is alive; 409 UPLOAD_BATCH_NOT_DISCARDABLE when a file already completed or the batch was submitted.
        • GET
          List dataset plan for a upload batche
        • POST
          Create a submission request
        • POST
          Create a upload session
        • GET
          Get a upload session
        • POST
          Create a cancellation request
        • POST
          Create a completion request
        • POST
          Create a part url
      • 任务片段与版本
        • 标注
          • 质量与任务
            • 检索
              • 工作流
                • 算法
                  • 模型
                    • 产物与导出
                      • 计费与用量
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 上传
                              4. Update a task

                              Update a task

                              PATCH
                              /v1/projects/{projectId}/collection-orders/{orderId}/tasks/{taskId}
                              curl -X PATCH 'https://api.embodiflow.io/v1/projects/{projectId}/collection-orders/{orderId}/tasks/{taskId}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "name": "string",
                                  "instructionJson": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "startCondition": "string",
                                  "endCondition": "string",
                                  "allowedVariation": "string",
                                  "durationMinS": 0,
                                  "durationMaxS": 0,
                                  "requiredCameras": "head",
                                  "requiredModalities": "imu",
                                  "minHandsVisible": 0,
                                  "recordingMode": "continuous",
                                  "orderIndex": 0
                                }'

                              认证

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

                              • Authorization: Bearer PAT
                              认证指南

                              路径参数

                              • projectIdstring必填
                              • orderIdstring必填
                              • taskIdstring必填

                              请求体

                              Content-Typeapplication/json
                              • namestring
                              • instructionJsonobject
                                • enstring
                                • zhstring
                              • startConditionstring
                              • endConditionstring
                              • allowedVariationstring | null
                              • durationMinSnumber | null
                              • durationMaxSnumber | null
                              • requiredCamerasarray<string>
                              • requiredModalitiesarray<string>
                              • minHandsVisiblenumber | null
                              • recordingModestring
                                可选值
                                continuous
                                single_task
                              • orderIndexnumber

                              响应

                              Success

                              • dataobject必填
                                • idstring必填
                                • orderIdstring必填
                                • namestring必填
                                • instructionJsonobject必填
                                • demoMediaKeysarray<string>必填
                                • startConditionstring必填
                                • endConditionstring必填
                                • allowedVariationstring | null必填
                                • durationMinSnumber | null必填
                                • durationMaxSnumber | null必填
                                • requiredCamerasarray<string>必填
                                • requiredModalitiesarray<string>必填
                                • minHandsVisiblenumber | null必填
                                • recordingModestring必填
                                  可选值
                                  continuous
                                  single_task
                                • orderIndexnumber必填
                                • createdAtstring必填
                                • updatedAtstring必填
                                • rowVersionnumber必填
                              响应示例
                              {
                                "data": {
                                  "id": "string",
                                  "orderId": "string",
                                  "name": "string",
                                  "instructionJson": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "demoMediaKeys": [
                                    "string"
                                  ],
                                  "startCondition": "string",
                                  "endCondition": "string",
                                  "allowedVariation": "string",
                                  "durationMinS": 0,
                                  "durationMaxS": 0,
                                  "requiredCameras": "other",
                                  "requiredModalities": "imu",
                                  "minHandsVisible": 0,
                                  "recordingMode": "continuous",
                                  "orderIndex": 0,
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "rowVersion": 0
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              DELETE /projects/{projectId}/collection-orders/{orderId}/tasks/{taskId}

                              下一页

                              POST /projects/{projectId}/collection-orders/{orderId}/tasks/{taskId}/demo-media

                              curl -X PATCH 'https://api.embodiflow.io/v1/projects/{projectId}/collection-orders/{orderId}/tasks/{taskId}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "name": "string",
                                  "instructionJson": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "startCondition": "string",
                                  "endCondition": "string",
                                  "allowedVariation": "string",
                                  "durationMinS": 0,
                                  "durationMaxS": 0,
                                  "requiredCameras": "head",
                                  "requiredModalities": "imu",
                                  "minHandsVisible": 0,
                                  "recordingMode": "continuous",
                                  "orderIndex": 0
                                }'
                              响应示例
                              状态码
                              200
                              ​
                              {
                                "data": {
                                  "id": "string",
                                  "orderId": "string",
                                  "name": "string",
                                  "instructionJson": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "demoMediaKeys": [
                                    "string"
                                  ],
                                  "startCondition": "string",
                                  "endCondition": "string",
                                  "allowedVariation": "string",
                                  "durationMinS": 0,
                                  "durationMaxS": 0,
                                  "requiredCameras": "other",
                                  "requiredModalities": "imu",
                                  "minHandsVisible": 0,
                                  "recordingMode": "continuous",
                                  "orderIndex": 0,
                                  "createdAt": "string",
                                  "updatedAt": "string",
                                  "rowVersion": 0
                                }
                              }