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

认证

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

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • 任务片段与版本
          • 标注
            • 质量与任务
              • 检索
                • GET
                  Asset cards across dataset versions and artifacts.
                • GET
                  Single asset card with recent events.
                • POST
                  Preview a structured query against canonical parquet for one dataset version.
                • GET
                  L0 Postgres coarse filter across dataset versions visible to the caller.
                • GET
                  Facet counts for the same visible version scope as dataset-versions list.
                • GET
                  How many recordings are not in the search index yet.
                • POST
                  Explicit team Owner/Admin action: build the search profile for recordings processed before indexing existed. Derived cache, never dataset history.
                • POST
                  Structured + optional semantic catalog search (ADR 0012 / 0014).
                • GET
                  Structured catalog search schema for query builders (ADR 0012).
                • GET
                  Search this team for projects, recordings, versions, and commands
              • 工作流
                • 算法
                  • 模型
                    • 产物与导出
                      • 计费与用量
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 检索
                              4. Preview a structured query against canonical parquet for one dataset version.

                              Preview a structured query against canonical parquet for one dataset version.

                              POST
                              /v1/catalog/dataset-version-queries
                              curl -X POST 'https://api.embodiflow.io/v1/catalog/dataset-version-queries' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "datasetVersionId": "00000000-0000-0000-0000-000000000000",
                                  "expectedQueryIndexSha256": "string",
                                  "granularity": "episode",
                                  "episodeIndexIn": [
                                    0
                                  ],
                                  "episodeIdIn": [
                                    "string"
                                  ],
                                  "frameIndexMin": 0,
                                  "frameIndexMax": 0,
                                  "timestampNsMin": "string",
                                  "timestampNsMax": "string",
                                  "featurePredicates": [
                                    {
                                      "path": "string",
                                      "op": "in",
                                      "value": {}
                                    }
                                  ],
                                  "metadataEquals": {},
                                  "cameraNameIn": [
                                    "string"
                                  ],
                                  "fields": [
                                    "string"
                                  ],
                                  "limit": 0,
                                  "offset": 0,
                                  "orderBy": "episodeIndex",
                                  "orderDirection": "asc",
                                  "aggregate": {
                                    "fn": "count",
                                    "field": "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
                              • datasetVersionIdstring (uuid)必填
                              • expectedQueryIndexSha256string
                              • granularitystring
                                可选值
                                episode
                                frame
                              • episodeIndexInarray<number>
                              • episodeIdInarray<string>
                              • frameIndexMinnumber
                              • frameIndexMaxnumber
                              • timestampNsMinstring
                              • timestampNsMaxstring
                              • featurePredicatesarray<DatasetVersionQueryPredicateBodyDto>
                                • pathstring必填
                                • opstring必填
                                  可选值
                                  in
                                  lt
                                  lte
                                  gt
                                  gte
                                  eq
                                  neq
                                • valueobject必填
                              • metadataEqualsobject
                              • cameraNameInarray<string>
                              • fieldsarray<string>
                              • limitnumber
                              • offsetnumber
                              • orderBystring
                                可选值
                                episodeIndex
                                timestampNs
                                frameIndex
                              • orderDirectionstring
                                可选值
                                asc
                                desc
                              • aggregateobject
                                • fnstring必填
                                  可选值
                                  count
                                • fieldstring

                              响应

                              Success

                              • dataobject必填
                                • datasetVersionIdstring必填
                                • queryIndexSha256string必填
                                • granularitystring必填
                                  可选值
                                  frame
                                  episode
                                • episodeStatisticsGranularitystring
                                  可选值
                                  coarse
                                • rowsarray<object>必填
                                • totalEstimatenumber | null
                                • truncatedone of必填
                                • videoRefsarray<DatasetVersionQueryVideoRefDto>
                                • elapsedMsnumber必填
                                • excludedCountnumber
                              响应示例
                              {
                                "data": {
                                  "datasetVersionId": "string",
                                  "queryIndexSha256": "string",
                                  "granularity": "frame",
                                  "episodeStatisticsGranularity": "coarse",
                                  "rows": [
                                    {}
                                  ],
                                  "totalEstimate": 0,
                                  "truncated": false,
                                  "videoRefs": [
                                    {
                                      "episodeIndex": 0,
                                      "cameraName": "string",
                                      "storageObjectId": "string",
                                      "logicalPath": "string"
                                    }
                                  ],
                                  "elapsedMs": 0,
                                  "excludedCount": 0
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              GET /catalog/assets/{assetType}/{assetId}

                              下一页

                              GET /catalog/dataset-versions

                              curl -X POST 'https://api.embodiflow.io/v1/catalog/dataset-version-queries' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "datasetVersionId": "00000000-0000-0000-0000-000000000000",
                                  "expectedQueryIndexSha256": "string",
                                  "granularity": "episode",
                                  "episodeIndexIn": [
                                    0
                                  ],
                                  "episodeIdIn": [
                                    "string"
                                  ],
                                  "frameIndexMin": 0,
                                  "frameIndexMax": 0,
                                  "timestampNsMin": "string",
                                  "timestampNsMax": "string",
                                  "featurePredicates": [
                                    {
                                      "path": "string",
                                      "op": "in",
                                      "value": {}
                                    }
                                  ],
                                  "metadataEquals": {},
                                  "cameraNameIn": [
                                    "string"
                                  ],
                                  "fields": [
                                    "string"
                                  ],
                                  "limit": 0,
                                  "offset": 0,
                                  "orderBy": "episodeIndex",
                                  "orderDirection": "asc",
                                  "aggregate": {
                                    "fn": "count",
                                    "field": "string"
                                  }
                                }'
                              响应示例
                              状态码
                              201
                              ​
                              {
                                "data": {
                                  "datasetVersionId": "string",
                                  "queryIndexSha256": "string",
                                  "granularity": "frame",
                                  "episodeStatisticsGranularity": "coarse",
                                  "rows": [
                                    {}
                                  ],
                                  "totalEstimate": 0,
                                  "truncated": false,
                                  "videoRefs": [
                                    {
                                      "episodeIndex": 0,
                                      "cameraName": "string",
                                      "storageObjectId": "string",
                                      "logicalPath": "string"
                                    }
                                  ],
                                  "elapsedMs": 0,
                                  "excludedCount": 0
                                }
                              }