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

认证

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

REST API

  • 使用 REST API
  • 全部端点
  • 项目
    • 录制
      • 上传
        • 任务片段与版本
          • 标注
            • 质量与任务
              • 检索
                • 工作流
                  • 算法
                    • 模型
                      • 产物与导出
                        • 计费与用量
                          • GET
                            List feature entitlements
                          • GET
                            List plans
                          • GET
                            List current for a subscription
                          • PATCH
                            Update a billing state
                          • GET
                            List invoice snapshots for a current
                          • POST
                            Create a invoice snapshot
                          • GET
                            List usage attestation for a current
                          • GET
                            List usage summary for a current
                          • GET
                            Usage for the current or previous UTC calendar month
                          • GET
                            List usage ledger
                          • GET
                            List usage meters
                          • GET
                            List usage summary
                          • GET
                            Team storage cap and optional money budget
                          • PUT
                            Set the team storage cap and optional money budget
                          • POST
                            Estimate time, meter units, and list price for a planned action
                        • 团队与治理
                          • 账号与通知
                            • Webhook 端点

                              事件

                              • 出站事件
                              • 签名校验

                              工具

                              • 命令行
                              • SDK
                              • MCP

                              更新

                              • 更新日志

                              © 2026 EmbodiFlow

                              llms.txtOpenAPI JSON
                              1. 开发者参考
                              2. REST API
                              3. 计费与用量
                              4. Set the team storage cap and optional money budget

                              Set the team storage cap and optional money budget

                              PUT
                              /v1/usage/budget
                              curl -X PUT 'https://api.embodiflow.io/v1/usage/budget' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "storageLimitBytes": 0,
                                  "monthlyBudgetMinor": 0,
                                  "hardStop": true
                                }'

                              认证

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

                              • Authorization: Bearer PAT
                              认证指南

                              请求头参数

                              • If-Matchstring

                                Optional precondition. A matching tag proceeds and returns the new ETag. A stale tag returns 412 PRECONDITION_FAILED with no write. Absent proceeds (opt-in this release). If-Match: * succeeds when the resource exists. Malformed values return 400 IF_MATCH_INVALID.

                              • 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
                              • storageLimitBytesnumber
                              • monthlyBudgetMinornumber | null
                              • hardStopboolean

                              响应

                              Success

                              • dataobject必填
                                • storageobject必填
                                • moneyobject必填
                              响应示例
                              {
                                "data": {
                                  "storage": {
                                    "limitBytes": 0,
                                    "ceilingBytes": 0,
                                    "usedBytes": 0,
                                    "pendingBytes": 0,
                                    "trashBytes": 0,
                                    "percent": 0,
                                    "state": "ok"
                                  },
                                  "money": {
                                    "monthlyBudgetMinor": 0,
                                    "currency": "string",
                                    "hardStop": false,
                                    "spentMinor": 0
                                  }
                                }
                              }
                              服务器https://api.embodiflow.io/v1https://api.embodiflow.dev/v1
                              上一页

                              GET /usage/budget

                              下一页

                              POST /usage/estimates

                              curl -X PUT 'https://api.embodiflow.io/v1/usage/budget' \
                                -H 'Authorization: Bearer $EMBODIFLOW_PAT' \
                                -H 'Content-Type: application/json' \
                                -d '{
                                  "storageLimitBytes": 0,
                                  "monthlyBudgetMinor": 0,
                                  "hardStop": true
                                }'
                              响应示例
                              状态码
                              200
                              ​
                              {
                                "data": {
                                  "storage": {
                                    "limitBytes": 0,
                                    "ceilingBytes": 0,
                                    "usedBytes": 0,
                                    "pendingBytes": 0,
                                    "trashBytes": 0,
                                    "percent": 0,
                                    "state": "ok"
                                  },
                                  "money": {
                                    "monthlyBudgetMinor": 0,
                                    "currency": "string",
                                    "hardStop": false,
                                    "spentMinor": 0
                                  }
                                }
                              }