{
  "openapi": "3.1.0",
  "info": {
    "title": "UUMit OpenClub API",
    "version": "0.1.0",
    "description": "统一能力目录公开面与 Agent 面（基线 docs/plans/2026-11-17-统一能力目录设计方案.md）。\n统一信封 {code,message,data,timestamp}；列表 cursor 分页；写请求必须带 Idempotency-Key。\n鉴权：浏览器/人类用 JWT；Agent/脚本用一把 UUMit OneKey（pat_…）→ Authorization: Bearer $UUMIT_API_KEY（不需要用户 ID）；第三方 Agent 平台才用 X-Api-Key + X-Platform-User-Id。"
  },
  "servers": [
    {
      "url": "https://api.uumit.com",
      "description": "UUMit 共享后端"
    }
  ],
  "paths": {
    "/api/v1/openclub/public/categories": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "一级品类（8 个，扁平数组）",
        "operationId": "list_categories_api_v1_openclub_public_categories_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_list_CategoryOut__"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/tags": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "多维标签",
        "operationId": "list_tags_api_v1_openclub_public_tags_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_list_TagOut__"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/products": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "产品列表（monid 式聚合）",
        "operationId": "list_products_api_v1_openclub_public_products_get",
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_ProductListOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/products/{slug}": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "产品详情（含 endpoints）",
        "operationId": "get_product_api_v1_openclub_public_products__slug__get",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slug"
            }
          },
          {
            "name": "endpoints_limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 200,
                  "minimum": 1
                },
                {
                  "type": "null"
                }
              ],
              "description": "端点分页大小；不传返回全部",
              "title": "Endpoints Limit"
            },
            "description": "端点分页大小；不传返回全部"
          },
          {
            "name": "endpoints_cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "端点分页游标",
              "title": "Endpoints Cursor"
            },
            "description": "端点分页游标"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_ProductDetailOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/goods": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "商品列表",
        "operationId": "list_goods_api_v1_openclub_public_goods_get",
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Kind"
            }
          },
          {
            "name": "tags",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "null"
                }
              ],
              "title": "Tags"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "supply_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Supply Type"
            }
          },
          {
            "name": "provider",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Provider"
            }
          },
          {
            "name": "price_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0.0
                },
                {
                  "type": "string",
                  "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "起步价下限（UT）",
              "title": "Price Min"
            },
            "description": "起步价下限（UT）"
          },
          {
            "name": "price_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0.0
                },
                {
                  "type": "string",
                  "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
                },
                {
                  "type": "null"
                }
              ],
              "description": "起步价上限（UT）",
              "title": "Price Max"
            },
            "description": "起步价上限（UT）"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_GoodsListOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/goods/{slug}": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "商品详情",
        "operationId": "get_goods_api_v1_openclub_public_goods__slug__get",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Slug"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_GoodsDetailOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/providers": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "供给方列表",
        "operationId": "list_providers_api_v1_openclub_public_providers_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_list_ProviderOut__"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/public/stats": {
      "get": {
        "tags": [
          "openclub-public"
        ],
        "summary": "目录聚合计数",
        "operationId": "get_stats_api_v1_openclub_public_stats_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_StatsOut_"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/discover": {
      "post": {
        "tags": [
          "openclub"
        ],
        "summary": "关键词检索（免费；按名称/描述/标签匹配）",
        "operationId": "discover_api_v1_openclub_discover_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/uuagent__domains__openclub__schemas__DiscoverRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_DiscoverResponseOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/inspect": {
      "post": {
        "tags": [
          "openclub"
        ],
        "summary": "查看商品 schema 与价格（免费）",
        "operationId": "inspect_api_v1_openclub_inspect_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_InspectResponseOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/run": {
      "post": {
        "tags": [
          "openclub"
        ],
        "summary": "执行调用（扣费，失败不计费）",
        "operationId": "run_api_v1_openclub_run_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "title": "Idempotency-Key"
            }
          },
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_RunResponseOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/runs": {
      "get": {
        "tags": [
          "openclub"
        ],
        "summary": "调用列表（cursor）",
        "operationId": "list_runs_api_v1_openclub_runs_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 20,
              "title": "Limit"
            }
          },
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_RunsListOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/runs/{run_id}": {
      "get": {
        "tags": [
          "openclub"
        ],
        "summary": "调用详情（支持长轮询 wait 参数）",
        "operationId": "get_run_api_v1_openclub_runs__run_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Run Id"
            }
          },
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 60,
              "minimum": 0,
              "default": 0,
              "title": "Wait"
            }
          },
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_RunResponseOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/runs/{run_id}/stop": {
      "post": {
        "tags": [
          "openclub"
        ],
        "summary": "停止调用",
        "operationId": "stop_run_api_v1_openclub_runs__run_id__stop_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Run Id"
            }
          },
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_RunResponseOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/openclub/balance": {
      "get": {
        "tags": [
          "openclub"
        ],
        "summary": "UT 余额（来源 WalletService）",
        "operationId": "balance_api_v1_openclub_balance_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-API-Key",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Api-Key"
            }
          },
          {
            "name": "X-Platform-User-Id",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Platform-User-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse_BalanceOut_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "APIResponse_BalanceOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BalanceOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[BalanceOut]"
      },
      "APIResponse_DiscoverResponseOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DiscoverResponseOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[DiscoverResponseOut]"
      },
      "APIResponse_GoodsDetailOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GoodsDetailOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[GoodsDetailOut]"
      },
      "APIResponse_GoodsListOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/GoodsListOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[GoodsListOut]"
      },
      "APIResponse_InspectResponseOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InspectResponseOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[InspectResponseOut]"
      },
      "APIResponse_ProductDetailOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProductDetailOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[ProductDetailOut]"
      },
      "APIResponse_ProductListOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProductListOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[ProductListOut]"
      },
      "APIResponse_RunResponseOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunResponseOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[RunResponseOut]"
      },
      "APIResponse_RunsListOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RunsListOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[RunsListOut]"
      },
      "APIResponse_StatsOut_": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StatsOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[StatsOut]"
      },
      "APIResponse_list_CategoryOut__": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CategoryOut"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[list[CategoryOut]]"
      },
      "APIResponse_list_ProviderOut__": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProviderOut"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[list[ProviderOut]]"
      },
      "APIResponse_list_TagOut__": {
        "properties": {
          "code": {
            "type": "integer",
            "title": "Code",
            "default": 0
          },
          "message": {
            "type": "string",
            "title": "Message",
            "default": "success"
          },
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TagOut"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "timestamp": {
            "type": "integer",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "title": "APIResponse[list[TagOut]]"
      },
      "BalanceOut": {
        "properties": {
          "currency": {
            "type": "string",
            "title": "Currency",
            "default": "UT"
          },
          "balance": {
            "type": "string",
            "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
            "title": "Balance",
            "default": "0"
          },
          "frozen": {
            "type": "string",
            "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
            "title": "Frozen",
            "default": "0"
          },
          "available": {
            "type": "string",
            "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
            "title": "Available",
            "default": "0"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BalanceOut"
      },
      "CategoryOut": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "icon": {
            "type": "string",
            "title": "Icon",
            "default": ""
          },
          "kind_default": {
            "type": "string",
            "title": "Kind Default"
          },
          "sort": {
            "type": "integer",
            "title": "Sort"
          },
          "goods_count": {
            "type": "integer",
            "title": "Goods Count",
            "default": 0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "name",
          "kind_default",
          "sort"
        ],
        "title": "CategoryOut"
      },
      "CostOut": {
        "properties": {
          "amount": {
            "type": "string",
            "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
            "title": "Amount",
            "default": "0"
          },
          "currency": {
            "type": "string",
            "title": "Currency",
            "default": "UT"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "CostOut"
      },
      "DiscoverItemOut": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary"
          },
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "health": {
            "$ref": "#/components/schemas/HealthOut"
          },
          "match_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Match Reason"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name",
          "summary",
          "kind",
          "price"
        ],
        "title": "DiscoverItemOut"
      },
      "DiscoverResponseOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DiscoverItemOut"
            },
            "type": "array",
            "title": "Items"
          },
          "hints": {
            "items": {
              "$ref": "#/components/schemas/HintOut"
            },
            "type": "array",
            "title": "Hints"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "items"
        ],
        "title": "DiscoverResponseOut"
      },
      "EndpointCredentialOut": {
        "properties": {
          "scheme": {
            "type": "string",
            "title": "Scheme",
            "default": "HEADER"
          },
          "header_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Header Name"
          },
          "secret_hint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret Hint"
          },
          "configured": {
            "type": "boolean",
            "title": "Configured",
            "default": false
          },
          "rotated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rotated At"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "EndpointCredentialOut"
      },
      "GoodsCardOut": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary"
          },
          "category_id": {
            "type": "string",
            "title": "Category Id"
          },
          "category_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Name"
          },
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "exposure": {
            "type": "string",
            "title": "Exposure"
          },
          "supply_type": {
            "type": "string",
            "title": "Supply Type"
          },
          "fail_billing_policy": {
            "type": "string",
            "title": "Fail Billing Policy",
            "default": "ZERO"
          },
          "version": {
            "type": "integer",
            "title": "Version",
            "default": 1
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "ON_SALE"
          },
          "provider": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "health": {
            "$ref": "#/components/schemas/HealthOut"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Tags"
          },
          "badges": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Badges"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name",
          "summary",
          "category_id",
          "kind",
          "exposure",
          "supply_type",
          "price"
        ],
        "title": "GoodsCardOut"
      },
      "GoodsDetailOut": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary"
          },
          "category_id": {
            "type": "string",
            "title": "Category Id"
          },
          "category_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Name"
          },
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "exposure": {
            "type": "string",
            "title": "Exposure"
          },
          "supply_type": {
            "type": "string",
            "title": "Supply Type"
          },
          "fail_billing_policy": {
            "type": "string",
            "title": "Fail Billing Policy",
            "default": "ZERO"
          },
          "version": {
            "type": "integer",
            "title": "Version",
            "default": 1
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "ON_SALE"
          },
          "provider": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "health": {
            "$ref": "#/components/schemas/HealthOut"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Tags"
          },
          "badges": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Badges"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "price_card": {
            "additionalProperties": true,
            "type": "object",
            "title": "Price Card"
          },
          "input_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Input Schema"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Output Schema"
          },
          "max_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Duration Seconds"
          },
          "meter_evidence": {
            "type": "string",
            "title": "Meter Evidence",
            "default": "UPSTREAM_ENVELOPE"
          },
          "examples": {
            "additionalProperties": true,
            "type": "object",
            "title": "Examples"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name",
          "summary",
          "category_id",
          "kind",
          "exposure",
          "supply_type",
          "price"
        ],
        "title": "GoodsDetailOut"
      },
      "GoodsListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/GoodsCardOut"
            },
            "type": "array",
            "title": "Items"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "type": "boolean",
            "title": "Has More",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "GoodsListOut"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "HealthOut": {
        "properties": {
          "status": {
            "type": "string",
            "title": "Status",
            "default": "unknown"
          },
          "p50_ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "P50 Ms"
          },
          "p95_ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "P95 Ms"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "HealthOut"
      },
      "HintOut": {
        "properties": {
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "run_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slug"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "kind"
        ],
        "title": "HintOut"
      },
      "InspectRequest": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug"
        ],
        "title": "InspectRequest"
      },
      "InspectResponseOut": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "description": {
            "type": "string",
            "title": "Description"
          },
          "input_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Input Schema"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Output Schema"
          },
          "price_card": {
            "additionalProperties": true,
            "type": "object",
            "title": "Price Card"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "fail_billing_policy": {
            "type": "string",
            "title": "Fail Billing Policy"
          },
          "max_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Duration Seconds"
          },
          "docs_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Docs Url"
          },
          "hints": {
            "items": {
              "$ref": "#/components/schemas/HintOut"
            },
            "type": "array",
            "title": "Hints"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name",
          "description",
          "input_schema",
          "output_schema",
          "price_card",
          "price",
          "fail_billing_policy"
        ],
        "title": "InspectResponseOut"
      },
      "PriceOut": {
        "properties": {
          "model": {
            "type": "string",
            "title": "Model"
          },
          "currency": {
            "type": "string",
            "title": "Currency"
          },
          "unit": {
            "type": "string",
            "title": "Unit"
          },
          "amount": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount"
          },
          "display": {
            "type": "string",
            "title": "Display"
          },
          "variants": {
            "items": {
              "$ref": "#/components/schemas/PriceVariantOut"
            },
            "type": "array",
            "title": "Variants"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "model",
          "currency",
          "unit",
          "display"
        ],
        "title": "PriceOut",
        "description": "价格展示对象：五处（首页/品类/详情/搜索/账单）必须逐字一致的唯一来源."
      },
      "PriceVariantOut": {
        "properties": {
          "label": {
            "type": "string",
            "title": "Label"
          },
          "display": {
            "type": "string",
            "title": "Display"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "label",
          "display"
        ],
        "title": "PriceVariantOut",
        "description": "按量加价商品的一个价目档位（当前用于视频分辨率）."
      },
      "ProductCardOut": {
        "properties": {
          "id": {
            "type": "integer",
            "title": "Id"
          },
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "default": ""
          },
          "logo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Logo Url"
          },
          "website_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Url"
          },
          "docs_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Docs Url"
          },
          "category_id": {
            "type": "string",
            "title": "Category Id"
          },
          "category_name": {
            "type": "string",
            "title": "Category Name",
            "default": ""
          },
          "category_icon": {
            "type": "string",
            "title": "Category Icon",
            "default": ""
          },
          "aliases": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Aliases"
          },
          "supply_policy": {
            "additionalProperties": true,
            "type": "object",
            "title": "Supply Policy"
          },
          "related_category_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Related Category Ids"
          },
          "provider_slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Slug"
          },
          "provider_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Name"
          },
          "is_official": {
            "type": "boolean",
            "title": "Is Official",
            "default": true
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "DRAFT"
          },
          "review_status": {
            "type": "string",
            "title": "Review Status",
            "default": "approved"
          },
          "review_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Review Reason"
          },
          "reviewed_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reviewed By"
          },
          "reviewed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reviewed At"
          },
          "submitted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Submitted At"
          },
          "endpoint_count": {
            "type": "integer",
            "title": "Endpoint Count",
            "default": 0
          },
          "from_price": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Price"
          },
          "supplier_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Status"
          },
          "deleted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "slug",
          "name",
          "category_id"
        ],
        "title": "ProductCardOut"
      },
      "ProductDetailOut": {
        "properties": {
          "id": {
            "type": "integer",
            "title": "Id"
          },
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "default": ""
          },
          "logo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Logo Url"
          },
          "website_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website Url"
          },
          "docs_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Docs Url"
          },
          "category_id": {
            "type": "string",
            "title": "Category Id"
          },
          "category_name": {
            "type": "string",
            "title": "Category Name",
            "default": ""
          },
          "category_icon": {
            "type": "string",
            "title": "Category Icon",
            "default": ""
          },
          "aliases": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Aliases"
          },
          "supply_policy": {
            "additionalProperties": true,
            "type": "object",
            "title": "Supply Policy"
          },
          "related_category_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Related Category Ids"
          },
          "provider_slug": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Slug"
          },
          "provider_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Name"
          },
          "is_official": {
            "type": "boolean",
            "title": "Is Official",
            "default": true
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "DRAFT"
          },
          "review_status": {
            "type": "string",
            "title": "Review Status",
            "default": "approved"
          },
          "review_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Review Reason"
          },
          "reviewed_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reviewed By"
          },
          "reviewed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reviewed At"
          },
          "submitted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Submitted At"
          },
          "endpoint_count": {
            "type": "integer",
            "title": "Endpoint Count",
            "default": 0
          },
          "from_price": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Price"
          },
          "supplier_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Status"
          },
          "deleted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "endpoints": {
            "items": {
              "$ref": "#/components/schemas/ProductEndpointOut"
            },
            "type": "array",
            "title": "Endpoints"
          },
          "endpoints_total": {
            "type": "integer",
            "title": "Endpoints Total",
            "default": 0
          },
          "endpoints_next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Endpoints Next Cursor"
          },
          "publish_skipped": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Publish Skipped"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "slug",
          "name",
          "category_id"
        ],
        "title": "ProductDetailOut"
      },
      "ProductEndpointOut": {
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "summary": {
            "type": "string",
            "title": "Summary",
            "default": ""
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "endpoint_path": {
            "type": "string",
            "title": "Endpoint Path",
            "default": ""
          },
          "endpoint_method": {
            "type": "string",
            "title": "Endpoint Method",
            "default": "POST"
          },
          "kind": {
            "type": "string",
            "title": "Kind"
          },
          "exposure": {
            "type": "string",
            "title": "Exposure"
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "price_card": {
            "additionalProperties": true,
            "type": "object",
            "title": "Price Card"
          },
          "input_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Input Schema"
          },
          "output_schema": {
            "additionalProperties": true,
            "type": "object",
            "title": "Output Schema"
          },
          "examples": {
            "additionalProperties": true,
            "type": "object",
            "title": "Examples"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Tags"
          },
          "supply_ref": {
            "additionalProperties": true,
            "type": "object",
            "title": "Supply Ref"
          },
          "max_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Duration Seconds"
          },
          "credential": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EndpointCredentialOut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name",
          "kind",
          "exposure",
          "status",
          "price"
        ],
        "title": "ProductEndpointOut"
      },
      "ProductListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ProductCardOut"
            },
            "type": "array",
            "title": "Items"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "type": "boolean",
            "title": "Has More",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "ProductListOut"
      },
      "ProviderOut": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "goods_count": {
            "type": "integer",
            "title": "Goods Count",
            "default": 0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug",
          "name"
        ],
        "title": "ProviderOut"
      },
      "RunRequest": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "input": {
            "additionalProperties": true,
            "type": "object",
            "title": "Input"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "slug"
        ],
        "title": "RunRequest"
      },
      "RunResponseOut": {
        "properties": {
          "run_id": {
            "type": "integer",
            "title": "Run Id"
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "reused": {
            "type": "boolean",
            "title": "Reused",
            "default": false
          },
          "provider_status": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Status"
          },
          "output": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "price": {
            "$ref": "#/components/schemas/PriceOut"
          },
          "cost": {
            "$ref": "#/components/schemas/CostOut"
          },
          "billed_units": {
            "type": "string",
            "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
            "title": "Billed Units",
            "default": "0"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Code"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "hints": {
            "items": {
              "$ref": "#/components/schemas/HintOut"
            },
            "type": "array",
            "title": "Hints"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "run_id",
          "status",
          "price"
        ],
        "title": "RunResponseOut"
      },
      "RunSummaryOut": {
        "properties": {
          "run_id": {
            "type": "integer",
            "title": "Run Id"
          },
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "cost": {
            "$ref": "#/components/schemas/CostOut"
          },
          "created_at": {
            "type": "string",
            "title": "Created At"
          },
          "finished_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finished At"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "run_id",
          "slug",
          "name",
          "status",
          "created_at"
        ],
        "title": "RunSummaryOut"
      },
      "RunsListOut": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/RunSummaryOut"
            },
            "type": "array",
            "title": "Items"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "has_more": {
            "type": "boolean",
            "title": "Has More",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "RunsListOut"
      },
      "StatsOut": {
        "properties": {
          "goods_count": {
            "type": "integer",
            "title": "Goods Count",
            "default": 0
          },
          "category_count": {
            "type": "integer",
            "title": "Category Count",
            "default": 0
          },
          "tag_count": {
            "type": "integer",
            "title": "Tag Count",
            "default": 0
          },
          "provider_count": {
            "type": "integer",
            "title": "Provider Count",
            "default": 0
          },
          "total_calls_30d": {
            "type": "integer",
            "title": "Total Calls 30D",
            "default": 0
          },
          "skill_version": {
            "type": "string",
            "title": "Skill Version",
            "default": "0.1.0"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "StatsOut"
      },
      "TagOut": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "dimension": {
            "type": "string",
            "title": "Dimension"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "goods_count": {
            "type": "integer",
            "title": "Goods Count",
            "default": 0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "dimension",
          "name"
        ],
        "title": "TagOut"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "uuagent__domains__openclub__schemas__DiscoverRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query",
            "default": ""
          },
          "category_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category Id"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Tags"
          },
          "kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Kind"
          },
          "limit": {
            "type": "integer",
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "default": 10
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "DiscoverRequest"
      }
    }
  },
  "x-generated-from": "A2A-Service uuagent.main app.openapi()（仅 /api/v1/openclub*）"
}
