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 algorithm definition

                              Create a algorithm definition

                              POST
                              /v1/algorithm-definitions
                              curl -X POST 'https://api.embodiflow.io/v1/algorithm-definitions' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "projectId": "00000000-0000-0000-0000-000000000000",
                                  "code": "string",
                                  "name": "string",
                                  "description": "string",
                                  "category": "string",
                                  "tags": [
                                    "string"
                                  ],
                                  "imageRef": "string",
                                  "requestedEgressDomains": [
                                    "string"
                                  ],
                                  "paramSchema": {},
                                  "outputSchema": {},
                                  "resourceDefaults": {},
                                  "registryServer": "string",
                                  "registryUsername": "string",
                                  "registryPassword": "string",
                                  "acceptedInputFormats": [
                                    "string"
                                  ]
                                }'

                              认证

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

                              • Authorization: Bearer PAT
                              认证指南

                              请求头参数

                              • 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
                              • projectIdstring (uuid) | null
                              • codestring | null
                              • namestring必填
                              • descriptionstring | null
                              • categorystring | null
                              • tagsarray<string>
                              • imageRefstring | null
                              • requestedEgressDomainsarray<string>
                              • paramSchemaobject | null
                              • outputSchemaobject | null
                              • resourceDefaultsobject | null
                              • registryServerstring | null

                                Private registry credentials (for imageRef). Persisted only in internal storage on the revision; redacted from all public responses and summaries.

                              • registryUsernamestring | null
                              • registryPasswordstring | null
                              • acceptedInputFormatsarray<string>

                              响应

                              Success

                              • dataobject必填
                                • idstring必填
                                • tenantIdstring | null必填
                                • projectIdstring | null必填
                                • codestring必填
                                • namestring必填
                                • descriptionstring | null必填
                                • statusstring必填
                                • ownerTypestring必填
                                • isPublicone of必填
                                • systemSlugstring | null必填
                                • categorystring | null必填
                                • tagsarray<string>必填
                                • thumbnailUrlstring | null必填
                                • documentationUrlstring | null必填
                                • latestRevisionIdstring | null必填
                                • createdAtstring必填
                                • updatedAtstring必填
                              响应示例
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "code": "string",
                                  "name": "string",
                                  "description": "string",
                                  "status": "string",
                                  "ownerType": "string",
                                  "isPublic": false,
                                  "systemSlug": "string",
                                  "category": "string",
                                  "tags": [
                                    "string"
                                  ],
                                  "thumbnailUrl": "string",
                                  "documentationUrl": "string",
                                  "latestRevisionId": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string"
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              GET /algorithm-definitions

                              下一页

                              GET /algorithm-definitions/{algorithmDefinitionId}

                              curl -X POST 'https://api.embodiflow.io/v1/algorithm-definitions' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "projectId": "00000000-0000-0000-0000-000000000000",
                                  "code": "string",
                                  "name": "string",
                                  "description": "string",
                                  "category": "string",
                                  "tags": [
                                    "string"
                                  ],
                                  "imageRef": "string",
                                  "requestedEgressDomains": [
                                    "string"
                                  ],
                                  "paramSchema": {},
                                  "outputSchema": {},
                                  "resourceDefaults": {},
                                  "registryServer": "string",
                                  "registryUsername": "string",
                                  "registryPassword": "string",
                                  "acceptedInputFormats": [
                                    "string"
                                  ]
                                }'
                              响应示例
                              状态码
                              201
                              ​
                              {
                                "data": {
                                  "id": "string",
                                  "tenantId": "string",
                                  "projectId": "string",
                                  "code": "string",
                                  "name": "string",
                                  "description": "string",
                                  "status": "string",
                                  "ownerType": "string",
                                  "isPublic": false,
                                  "systemSlug": "string",
                                  "category": "string",
                                  "tags": [
                                    "string"
                                  ],
                                  "thumbnailUrl": "string",
                                  "documentationUrl": "string",
                                  "latestRevisionId": "string",
                                  "createdAt": "string",
                                  "updatedAt": "string"
                                }
                              }