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

认证

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

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • 任务片段与版本
          • 标注
            • 质量与任务
              • 检索
                • 工作流
                  • 算法
                    • GET
                      List algorithms
                    • POST
                      Create a algorithm
                    • GET
                      Get a algorithm
                    • GET
                      List builds for a algorithm
                    • POST
                      Create a build
                    • GET
                      Get a build
                    • GET
                      List logs for a build
                    • POST
                      Create a retry
                    • GET
                      List used by for a algorithm
                    • GET
                      List versions for a algorithm
                    • POST
                      Create a version
                    • GET
                      Get a version
                    • PATCH
                      Update a version
                    • POST
                      Builds the image of a Python version: no build when it has no requirements (the platform base image is used), otherwise a queued cloud build (no reuse of an earlier version's image). Idempotent: a version with an image or an active build answers with it.
                    • POST
                      Create a registry token
                    • POST
                      Create a sample run
                    • GET
                      Get a sample run
                    • POST
                      Lowest version a save of this source or image may carry (the proposal of the interface change); writes nothing.
                    • GET
                      Categories with default ports, data types, semantic types, facts, the SDK index and a starter per category
                    • GET
                      Docker registry token protocol (non-envelope). HTTP Basic password is a PAT.
                  • 模型
                    • 产物与导出
                      • 计费与用量
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 算法
                              4. Update a version

                              Update a version

                              PATCH
                              /v1/algorithms/{algorithmId}/versions/{version}
                              curl -X PATCH 'https://api.embodiflow.io/v1/algorithms/{algorithmId}/versions/{version}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "deprecated": true,
                                  "disabled": true
                                }'

                              认证

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

                              • Authorization: Bearer PAT
                              认证指南

                              路径参数

                              • algorithmIdstring必填
                              • versionstring必填

                              请求体

                              Content-Typeapplication/json
                              • deprecatedboolean
                              • disabledboolean

                              响应

                              Success

                              • dataobject必填
                                • packageobject必填
                                • manifestobject必填
                                • sourcestring必填
                                  可选值
                                  python
                                  image
                                • sourceCodestring | null必填
                                • requirementsarray<string>必填
                                • idstring必填
                                • algorithmIdstring必填
                                • versionstring必填
                                • revisionnumber必填
                                • imageRefstring必填
                                • imageDigeststring | null必填
                                • interfaceHashstring必填
                                • bumpWarningobject | null必填
                                • imageCommandarray<string>必填
                                • deprecatedAtstring | null必填
                                • disabledAtstring | null必填
                                • createdAtstring必填
                                • buildobject
                              响应示例
                              {
                                "data": {
                                  "package": {},
                                  "manifest": {},
                                  "source": "python",
                                  "sourceCode": "string",
                                  "requirements": [
                                    "string"
                                  ],
                                  "id": "string",
                                  "algorithmId": "string",
                                  "version": "string",
                                  "revision": 0,
                                  "imageRef": "string",
                                  "imageDigest": "string",
                                  "interfaceHash": "string",
                                  "bumpWarning": {},
                                  "imageCommand": [
                                    "string"
                                  ],
                                  "deprecatedAt": "string",
                                  "disabledAt": "string",
                                  "createdAt": "string",
                                  "build": {
                                    "buildId": "string",
                                    "state": "queued",
                                    "reason": "pip_resolution",
                                    "startedAt": "string",
                                    "finishedAt": "string"
                                  }
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              GET /algorithms/{algorithmId}/versions/{version}

                              下一页

                              POST /algorithms/{algorithmId}/versions/{version}/builds

                              curl -X PATCH 'https://api.embodiflow.io/v1/algorithms/{algorithmId}/versions/{version}' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "deprecated": true,
                                  "disabled": true
                                }'
                              响应示例
                              状态码
                              200
                              ​
                              {
                                "data": {
                                  "package": {},
                                  "manifest": {},
                                  "source": "python",
                                  "sourceCode": "string",
                                  "requirements": [
                                    "string"
                                  ],
                                  "id": "string",
                                  "algorithmId": "string",
                                  "version": "string",
                                  "revision": 0,
                                  "imageRef": "string",
                                  "imageDigest": "string",
                                  "interfaceHash": "string",
                                  "bumpWarning": {},
                                  "imageCommand": [
                                    "string"
                                  ],
                                  "deprecatedAt": "string",
                                  "disabledAt": "string",
                                  "createdAt": "string",
                                  "build": {
                                    "buildId": "string",
                                    "state": "queued",
                                    "reason": "pip_resolution",
                                    "startedAt": "string",
                                    "finishedAt": "string"
                                  }
                                }
                              }