Skip to main content

查询成员用量列表

调用条件、权限、请求字段、响应字段与错误处理。

请求与权限

GET https://openapi.qwenwork.ai/v1/biz/usage/members 鉴权:Authorization: Bearer <access_token>;使用用户 OAuth 授权获得的访问令牌。 所需业务 Scope:biz.usage.read 契约声明的授权方式:组织授权(organization) Scope 需由平台为应用开通;用户须有相应业务权限,目标资源须在其可访问范围内。个人/组织方式是否为该应用开放,以控制台实际配置为准。

功能与限制

分页查询授权企业内的成员用量,支持统计周期、关键词和排序,适用于用量展示或分析。应用需要 biz.usage.read 授权,操作者需要企业用量读取权限。 usage_data_date 省略时使用最新可用数据日期。连续翻页时建议固定该日期,并按响应中的 page_size 和 has_more 继续查询。同一日期的统计结果可能更新。 成功返回 code、msg 和 data,data 包含成员用量及分页信息。用量单位为 Credits,历史用量记录在成员资料缺失时仍会保留。

查询参数

参数类型必填说明及约束
usage_data_datestring否有效日历日期,YYYY-MM-DD,年份 0001–9999。省略时查询最新数据日期。
匹配规则:"^\d{4}-\d{2}-\d{2}$"
periodstring否用量统计周期。
默认值:"cycle"
可选值:["cycle", "7d", "30d", "month", "last_month"]
keywordstring否沿用 Databus 的成员用量关键词查询。
sortstring否可选值:["used_credits", "quota_usage_rate", "last_used_at"]
orderstring否可选值:["asc", "desc"]
page_nointeger否页码从 1 开始,省略时为 1,最大 2147483647;(page_no - 1) × 实际页长不得超过 2147483647,越界返回 400。
默认值:1
格式:"int64"
最小值(含):1
最大值(含):2147483647
page_sizeinteger否请求页长,省略时为 20,接受 1~1000,超过 200 时按 200 执行;超出输入范围返回 400。按响应 page_size 和 has_more 翻页。
默认值:20
格式:"int64"
最小值(含):1
最大值(含):1000

请求体

公开契约未声明请求体。不要自行添加身份字段或未经声明的业务字段。

成功响应

保持各业务接口原始响应结构,不统一添加 code/msg/data 包装。

HTTP 200

查询成员用量列表成功 响应类型:application/json
{
  "code": 200,
  "data": {
    "has_more": false,
    "last_data_update_time": null,
    "next_reset_date": null,
    "page_no": 1,
    "page_size": 20,
    "rows": [],
    "total": 0
  },
  "msg": ""
}
字段类型必含说明及约束
codeinteger是可选值:[200]
dataobject是额外字段:false
data.has_moreboolean是—
data.last_data_update_timestring | null是统计更新时间。
data.next_reset_datestring | null是额度重置日期。
data.page_nointeger是本页页码。
格式:"int64"
data.page_sizeinteger是本页实际分页大小,最多 200;请求超过 200 时收敛为 200。
格式:"int64"
data.rowsarray是—
data.rows[]object否额外字段:false
data.rows[].cycle_quota_creditsnumber | null是—
data.rows[].cycle_used_creditsnumber是—
data.rows[].last_used_atstring | null是上次使用时间。
data.rows[].quota_usage_ratenumber | null是额度使用百分数,沿用 Databus 原值。
data.rows[].qw_user_idstring是Databus 成员标识,历史值可能无法关联当前成员。
data.rows[].statusstring | null是可选值:["pending", "active", "frozen", "removed", null]
data.rows[].used_creditsnumber是所选周期的用量,单位 Credits。
data.rows[].user_namestring | null是成员显示名。
data.totalinteger是Databus 返回的用量查询计数。
格式:"int64"
msgstring是—

错误响应

HTTP说明及处理
400请求不符合参数契约。
401令牌缺失或无效。检查企业授权访问令牌。
403企业授权、操作者权限或应用来源 IP 校验失败。
422参数值未通过 Biz 校验。检查请求路径及参数。
429调用频率超限。降低调用频率后重试。
500Databus 拒绝查询或 Biz 处理失败。保留请求 ID 联系维护方。
502用量上游响应无效或 Gateway 未取得有效的 Biz 响应。保留请求 ID 联系维护方。
503用量依赖、Biz 或平台暂不可用。稍后重试。
504调用超时。
default其他平台或服务错误。按 error_code 判断处理方式,并保留请求 ID。
保留响应中的请求 ID 和错误字段用于排查。写操作超时或断线后可能已经生效,不能仅凭没有收到成功响应就自动重试。

完整字段契约

下方 JSON 包含本接口完整请求、响应、错误 Schema、嵌套约束和公开扩展定义,可复制用于核对。未声明的成功示例不作推测。
{
  "components": {
    "securitySchemes": {
      "OpenPlatformBearer": {
        "description": "企业授权应用访问令牌;Scope 不代替操作者权限与资源隔离",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/biz/usage/members": {
      "get": {
        "description": "分页查询授权企业内的成员用量,支持统计周期、关键词和排序,适用于用量展示或分析。应用需要 biz.usage.read 授权,操作者需要企业用量读取权限。\n\nusage_data_date 省略时使用最新可用数据日期。连续翻页时建议固定该日期,并按响应中的 page_size 和 has_more 继续查询。同一日期的统计结果可能更新。\n\n成功返回 code、msg 和 data,data 包含成员用量及分页信息。用量单位为 Credits,历史用量记录在成员资料缺失时仍会保留。",
        "operationId": "biz-list-member-usage",
        "parameters": [
          {
            "description": "有效日历日期,YYYY-MM-DD,年份 0001–9999。省略时查询最新数据日期。",
            "in": "query",
            "name": "usage_data_date",
            "schema": {
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          {
            "description": "用量统计周期。",
            "in": "query",
            "name": "period",
            "schema": {
              "default": "cycle",
              "enum": [
                "cycle",
                "7d",
                "30d",
                "month",
                "last_month"
              ],
              "type": "string"
            }
          },
          {
            "description": "沿用 Databus 的成员用量关键词查询。",
            "in": "query",
            "name": "keyword",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "schema": {
              "enum": [
                "used_credits",
                "quota_usage_rate",
                "last_used_at"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "order",
            "schema": {
              "enum": [
                "asc",
                "desc"
              ],
              "type": "string"
            }
          },
          {
            "description": "页码从 1 开始,省略时为 1,最大 2147483647;(page_no - 1) × 实际页长不得超过 2147483647,越界返回 400。",
            "in": "query",
            "name": "page_no",
            "schema": {
              "default": 1,
              "format": "int64",
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "请求页长,省略时为 20,接受 1~1000,超过 200 时按 200 执行;超出输入范围返回 400。按响应 page_size 和 has_more 翻页。",
            "in": "query",
            "name": "page_size",
            "schema": {
              "default": 20,
              "format": "int64",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "code": 200,
                  "data": {
                    "has_more": false,
                    "last_data_update_time": null,
                    "next_reset_date": null,
                    "page_no": 1,
                    "page_size": 20,
                    "rows": [],
                    "total": 0
                  },
                  "msg": ""
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "enum": [
                        200
                      ],
                      "type": "integer"
                    },
                    "data": {
                      "additionalProperties": false,
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "last_data_update_time": {
                          "description": "统计更新时间。",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_reset_date": {
                          "description": "额度重置日期。",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "page_no": {
                          "description": "本页页码。",
                          "format": "int64",
                          "type": "integer"
                        },
                        "page_size": {
                          "description": "本页实际分页大小,最多 200;请求超过 200 时收敛为 200。",
                          "format": "int64",
                          "type": "integer"
                        },
                        "rows": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "cycle_quota_credits": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "cycle_used_credits": {
                                "type": "number"
                              },
                              "last_used_at": {
                                "description": "上次使用时间。",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "quota_usage_rate": {
                                "description": "额度使用百分数,沿用 Databus 原值。",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "qw_user_id": {
                                "description": "Databus 成员标识,历史值可能无法关联当前成员。",
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "pending",
                                  "active",
                                  "frozen",
                                  "removed",
                                  null
                                ],
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "used_credits": {
                                "description": "所选周期的用量,单位 Credits。",
                                "type": "number"
                              },
                              "user_name": {
                                "description": "成员显示名。",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "qw_user_id",
                              "user_name",
                              "used_credits",
                              "cycle_used_credits",
                              "cycle_quota_credits",
                              "quota_usage_rate",
                              "last_used_at",
                              "status"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "total": {
                          "description": "Databus 返回的用量查询计数。",
                          "format": "int64",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "rows",
                        "total",
                        "page_no",
                        "page_size",
                        "has_more",
                        "next_reset_date",
                        "last_data_update_time"
                      ],
                      "type": "object"
                    },
                    "msg": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "查询成员用量列表成功",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "example": {
                  "code": 400,
                  "data": null,
                  "error_code": "OPENAPI_INVALID_REQUEST",
                  "msg": "请求参数不符合接口要求"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "请求不符合参数契约。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "example": {
                  "code": 401,
                  "data": null,
                  "error_code": "OPENAPI_UNAUTHENTICATED",
                  "msg": "访问凭证缺失、无效或已失效"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "令牌缺失或无效。检查企业授权访问令牌。",
            "headers": {
              "WWW-Authenticate": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "example": {
                  "code": 403,
                  "data": null,
                  "error_code": "openapi_permission_denied",
                  "msg": "没有操作权限"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "企业授权、操作者权限或应用来源 IP 校验失败。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "example": {
                  "code": 422,
                  "data": null,
                  "error_code": "OPENAPI_INVALID_REQUEST",
                  "msg": "请求参数无效"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "参数值未通过 Biz 校验。检查请求路径及参数。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "example": {
                  "code": 429,
                  "data": null,
                  "error_code": "OPENAPI_RATE_LIMITED",
                  "msg": "调用频率超限"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "调用频率超限。降低调用频率后重试。",
            "headers": {
              "Retry-After": {
                "description": "Delay in seconds or HTTP date before retrying.",
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "example": {
                  "code": 500,
                  "data": null,
                  "error_code": "usage_request_rejected",
                  "msg": "用量查询被上游拒绝"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Databus 拒绝查询或 Biz 处理失败。保留请求 ID 联系维护方。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "502": {
            "content": {
              "application/json": {
                "example": {
                  "code": 502,
                  "data": null,
                  "error_code": "usage_upstream_invalid",
                  "msg": "用量服务返回无效数据"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "用量上游响应无效或 Gateway 未取得有效的 Biz 响应。保留请求 ID 联系维护方。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "example": {
                  "code": 503,
                  "data": null,
                  "error_code": "usage_unavailable",
                  "msg": "用量服务暂不可用"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "用量依赖、Biz 或平台暂不可用。稍后重试。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "example": {
                  "code": 504,
                  "data": null,
                  "error_code": "OPENAPI_TIMEOUT",
                  "msg": "请求处理超时"
                },
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "调用超时。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "null"
                    },
                    "error_code": {
                      "type": "string"
                    },
                    "msg": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "trace_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "msg",
                    "data",
                    "error_code"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "其他平台或服务错误。按 error_code 判断处理方式,并保留请求 ID。",
            "headers": {
              "X-Request-ID": {
                "description": "开放平台为每次 HTTP 请求生成的请求 ID,用于日志关联与故障排查;重试生成新的 ID,不是幂等键或分布式 Trace ID。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "开放平台当前请求的 OpenTelemetry TraceID,通过请求日志与 X-Request-ID 关联;采样未保留时可能没有完整链路记录。",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          }
        },
        "security": [
          {
            "OpenPlatformBearer": []
          }
        ],
        "summary": "查询成员用量列表",
        "tags": [
          "用量"
        ]
      }
    }
  },
  "info": {
    "title": "查询成员用量列表",
    "version": "2026-11-24"
  },
  "servers": [
    {
      "url": "https://openapi.qwenwork.ai"
    }
  ]
}
返回 OpenAPI 总览。