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

认证

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

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • 任务片段与版本
          • GET
            Get a dataset version composition profile
          • GET
            List quality findings for a dataset version composition profile
          • POST
            Create a composition profile request
          • GET
            List composition profiles for a dataset version
          • GET
            Count episodes matching a filter
          • POST
            Apply label and segment operations to a selection of episodes
          • GET
            Semantic search availability and index coverage for the project
          • GET
            List episodes in a project
          • GET
            Get an episode
          • GET
            List revisions of an episode
          • POST
            Append one episode revision (never If-Match)
          • GET
            Find similar episodes in the same project
          • GET
            List version aliases in a project
          • DELETE
            Delete a version alias
          • PUT
            Create or move a version alias
          • GET
            List versions in a project
          • POST
            Create a version from a selection of episodes
          • DELETE
            Move a version to trash
          • GET
            Get a version
          • PATCH
            Patch version name, readme, and licence
          • GET
            Get a version citation
          • GET
            List episodes in a version
          • POST
            Preview a version selection without writing
        • 标注
          • 质量与任务
            • 检索
              • 工作流
                • 算法
                  • 模型
                    • 产物与导出
                      • 计费与用量
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 任务片段与版本
                              4. Append one episode revision (never If-Match)

                              Append one episode revision (never If-Match)

                              POST
                              /v1/projects/{projectId}/episodes/{episodeId}/revisions
                              curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/episodes/{episodeId}/revisions' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "expectedHeadRevisionId": "00000000-0000-0000-0000-000000000000",
                                  "startNs": 0,
                                  "endNs": 0,
                                  "task": {},
                                  "outcome": "string",
                                  "subtasks": [
                                    {}
                                  ],
                                  "tags": [
                                    "string"
                                  ],
                                  "attributes": {},
                                  "splitTag": "string",
                                  "excluded": true,
                                  "deleted": true,
                                  "comment": "string",
                                  "commentAtNs": 0,
                                  "annotationJobId": "00000000-0000-0000-0000-000000000000"
                                }'

                              认证

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

                              • Authorization: Bearer PAT
                              认证指南

                              路径参数

                              • projectIdstring必填
                              • episodeIdstring必填

                              请求头参数

                              • 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
                              • expectedHeadRevisionIdstring (uuid)必填
                              • startNsnumber
                              • endNsnumber
                              • taskobject | null
                              • outcomestring | null
                              • subtasksarray<object>
                              • tagsarray<string>
                              • attributesobject
                              • splitTagstring | null
                              • excludedboolean
                              • deletedboolean
                              • commentstring
                              • commentAtNsnumber
                              • annotationJobIdstring (uuid)

                              响应

                              Success

                              • dataobject必填
                                • idstring必填
                                • episodeIdstring必填
                                • parentRevisionIdstring | null必填
                                • startNsnumber必填
                                • endNsnumber必填
                                • durationNsnumber必填
                                • taskobject | null必填
                                • outcomestring | null必填
                                • subtaskCountnumber必填
                                • subtasksarray<object>必填
                                • tagsarray<string>必填
                                • attributesobject必填
                                • splitTagstring | null必填
                                • excludedone of必填
                                • deletedone of必填
                                • statestring必填
                                • sourcestring必填
                                • confidencenumber | null必填
                                • actorUserIdstring | null必填
                                • commentstring | null必填
                                • commentAtNsnumber | null必填
                                • createdAtstring必填
                              响应示例
                              {
                                "data": {
                                  "id": "string",
                                  "episodeId": "string",
                                  "parentRevisionId": "string",
                                  "startNs": 0,
                                  "endNs": 0,
                                  "durationNs": 0,
                                  "task": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "outcome": "string",
                                  "subtaskCount": 0,
                                  "subtasks": [
                                    {
                                      "startNs": 0,
                                      "endNs": 0,
                                      "description": {
                                        "en": "string",
                                        "zh": "string"
                                      },
                                      "skillTermId": "string",
                                      "relevance": "optional",
                                      "outcome": "success"
                                    }
                                  ],
                                  "tags": [
                                    "string"
                                  ],
                                  "attributes": {},
                                  "splitTag": "string",
                                  "excluded": false,
                                  "deleted": false,
                                  "state": "string",
                                  "source": "string",
                                  "confidence": 0,
                                  "actorUserId": "string",
                                  "comment": "string",
                                  "commentAtNs": 0,
                                  "createdAt": "string"
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              GET /projects/{projectId}/episodes/{episodeId}/revisions

                              下一页

                              GET /projects/{projectId}/episodes/{episodeId}/similar

                              curl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/episodes/{episodeId}/revisions' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "expectedHeadRevisionId": "00000000-0000-0000-0000-000000000000",
                                  "startNs": 0,
                                  "endNs": 0,
                                  "task": {},
                                  "outcome": "string",
                                  "subtasks": [
                                    {}
                                  ],
                                  "tags": [
                                    "string"
                                  ],
                                  "attributes": {},
                                  "splitTag": "string",
                                  "excluded": true,
                                  "deleted": true,
                                  "comment": "string",
                                  "commentAtNs": 0,
                                  "annotationJobId": "00000000-0000-0000-0000-000000000000"
                                }'
                              响应示例
                              状态码
                              201
                              ​
                              {
                                "data": {
                                  "id": "string",
                                  "episodeId": "string",
                                  "parentRevisionId": "string",
                                  "startNs": 0,
                                  "endNs": 0,
                                  "durationNs": 0,
                                  "task": {
                                    "en": "string",
                                    "zh": "string"
                                  },
                                  "outcome": "string",
                                  "subtaskCount": 0,
                                  "subtasks": [
                                    {
                                      "startNs": 0,
                                      "endNs": 0,
                                      "description": {
                                        "en": "string",
                                        "zh": "string"
                                      },
                                      "skillTermId": "string",
                                      "relevance": "optional",
                                      "outcome": "success"
                                    }
                                  ],
                                  "tags": [
                                    "string"
                                  ],
                                  "attributes": {},
                                  "splitTag": "string",
                                  "excluded": false,
                                  "deleted": false,
                                  "state": "string",
                                  "source": "string",
                                  "confidence": 0,
                                  "actorUserId": "string",
                                  "comment": "string",
                                  "commentAtNs": 0,
                                  "createdAt": "string"
                                }
                              }