Skip to main content

List member usage

Requirements, permissions, request and response fields, and error handling.

Request and permissions

GET https://openapi.qwenwork.ai/v1/biz/usage/members Authentication: Authorization: Bearer <access_token>; use an access token obtained through user OAuth authorization. Required business Scope: biz.usage.read Authorization method declared in the contract: Organization authorization (organization) The platform must enable the Scope for the application. The user must have the required business permissions, and the target resource must be within their accessible scope. Availability of personal or organization authorization depends on the application's actual console configuration.

Behavior and limitations

List member usage in the authorized organization with pagination, reporting periods, keywords, and sorting for usage display or analysis. The application requires biz.usage.read authorization, and the operator requires organization usage read permission. If usage_data_date is omitted, the latest available data date is used. Keep this date fixed when paging, and continue using page_size and has_more from the response. Statistics for the same date may be updated. Success returns code, msg, and data. data contains member usage and pagination information. Usage is measured in Credits. Historical usage records are retained even when member profiles are missing.

Query parameters

ParameterTypeRequiredDescription and constraints
usage_data_datestringNoValid calendar date in YYYY-MM-DD format, year 0001–9999. If omitted, queries the latest data date.
Pattern: "^\d{4}-\d{2}-\d{2}$"
periodstringNoUsage reporting period.
Default: "cycle"
Allowed values: ["cycle", "7d", "30d", "month", "last_month"]
keywordstringNoUses Databus member usage keyword search.
sortstringNoAllowed values: ["used_credits", "quota_usage_rate", "last_used_at"]
orderstringNoAllowed values: ["asc", "desc"]
page_nointegerNoPage numbers start at 1 and default to 1, with a maximum of 2147483647. (page_no - 1) × actual page size must not exceed 2147483647; out-of-range values return 400.
Default: 1
Format: "int64"
Minimum (inclusive): 1
Maximum (inclusive): 2147483647
page_sizeintegerNoRequested page size; defaults to 20 and accepts 1–1000. Values above 200 are capped at 200; values outside the input range return 400. Paginate using page_size and has_more from the response.
Default: 20
Format: "int64"
Minimum (inclusive): 1
Maximum (inclusive): 1000

Request body

The public contract does not declare a request body. Do not add identity fields or undeclared business fields.

Success response

Preserve each business API's original response structure. Do not add a common code/msg/data wrapper.

HTTP 200

Member usage retrieved successfully. Response type: 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": ""
}
FieldTypeRequiredDescription and constraints
codeintegerYesAllowed values: [200]
dataobjectYesAdditional properties: false
data.has_morebooleanYes—
data.last_data_update_timestring | nullYesStatistics update time.
data.next_reset_datestring | nullYesQuota reset date.
data.page_nointegerYesCurrent page number.
Format: "int64"
data.page_sizeintegerYesActual page size, at most 200. Requests above 200 are capped at 200.
Format: "int64"
data.rowsarrayYes—
data.rows[]objectNoAdditional properties: false
data.rows[].cycle_quota_creditsnumber | nullYes—
data.rows[].cycle_used_creditsnumberYes—
data.rows[].last_used_atstring | nullYesLast usage time.
data.rows[].quota_usage_ratenumber | nullYesQuota usage percentage, unchanged from Databus.
data.rows[].qw_user_idstringYesDatabus member identifier. Historical values may not map to a current member.
data.rows[].statusstring | nullYesAllowed values: ["pending", "active", "frozen", "removed", null]
data.rows[].used_creditsnumberYesUsage for the selected period in Credits.
data.rows[].user_namestring | nullYesMember display name.
data.totalintegerYesUsage query count returned by Databus.
Format: "int64"
msgstringYes—

Error responses

HTTPDescription and handling
400The request does not conform to the parameter contract.
401Missing or invalid token. Check the organization-authorized access token.
403Organization authorization, operator permission, or application source IP validation failed.
422Parameter values failed Biz validation. Check the request path and parameters.
429Rate limit exceeded. Reduce the call rate before retrying.
500Databus rejected the query or Biz processing failed. Retain the request ID and contact support.
502The usage upstream response is invalid, or Gateway did not obtain a valid Biz response. Retain the request ID and contact support.
503A usage dependency, Biz, or the platform is temporarily unavailable. Retry later.
504The call timed out.
defaultOther platform or service error. Handle according to error_code and retain the request ID.
Retain the request ID and error fields from the response for troubleshooting. A write operation may have taken effect even after a timeout or disconnection. Do not automatically retry solely because no success response was received.

Complete field contract

The JSON below contains this API's complete request, response, and error schemas, nested constraints, and public extension definitions. Copy it for reference. No success examples are inferred where none are declared.
{
  "components": {
    "securitySchemes": {
      "OpenPlatformBearer": {
        "description": "Organization-authorized application access token; Scope does not replace operator permissions or resource isolation",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/biz/usage/members": {
      "get": {
        "description": "List member usage in the authorized organization with pagination, reporting periods, keywords, and sorting for usage display or analysis. The application requires biz.usage.read authorization, and the operator requires organization usage read permission.\n\nIf usage_data_date is omitted, the latest available data date is used. Keep this date fixed when paging, and continue using page_size and has_more from the response. Statistics for the same date may be updated.\n\nSuccess returns code, msg, and data. data contains member usage and pagination information. Usage is measured in Credits. Historical usage records are retained even when member profiles are missing.",
        "operationId": "biz-list-member-usage",
        "parameters": [
          {
            "description": "Valid calendar date in YYYY-MM-DD format, year 0001–9999. If omitted, queries the latest data date.",
            "in": "query",
            "name": "usage_data_date",
            "schema": {
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          {
            "description": "Usage reporting period.",
            "in": "query",
            "name": "period",
            "schema": {
              "default": "cycle",
              "enum": [
                "cycle",
                "7d",
                "30d",
                "month",
                "last_month"
              ],
              "type": "string"
            }
          },
          {
            "description": "Uses Databus member usage keyword search.",
            "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": "Page numbers start at 1 and default to 1, with a maximum of 2147483647. (page_no - 1) × actual page size must not exceed 2147483647; out-of-range values return 400.",
            "in": "query",
            "name": "page_no",
            "schema": {
              "default": 1,
              "format": "int64",
              "maximum": 2147483647,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "Requested page size; defaults to 20 and accepts 1–1000. Values above 200 are capped at 200; values outside the input range return 400. Paginate using page_size and has_more from the response.",
            "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": "Statistics update time.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_reset_date": {
                          "description": "Quota reset date.",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "page_no": {
                          "description": "Current page number.",
                          "format": "int64",
                          "type": "integer"
                        },
                        "page_size": {
                          "description": "Actual page size, at most 200. Requests above 200 are capped at 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": "Last usage time.",
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "quota_usage_rate": {
                                "description": "Quota usage percentage, unchanged from Databus.",
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "qw_user_id": {
                                "description": "Databus member identifier. Historical values may not map to a current member.",
                                "type": "string"
                              },
                              "status": {
                                "enum": [
                                  "pending",
                                  "active",
                                  "frozen",
                                  "removed",
                                  null
                                ],
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "used_credits": {
                                "description": "Usage for the selected period in Credits.",
                                "type": "number"
                              },
                              "user_name": {
                                "description": "Member display name.",
                                "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": "Usage query count returned by 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": "Member usage retrieved successfully.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "The request does not conform to the parameter contract.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "Missing or invalid token. Check the organization-authorized access token.",
            "headers": {
              "WWW-Authenticate": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "Organization authorization, operator permission, or application source IP validation failed.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "Parameter values failed Biz validation. Check the request path and parameters.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "Rate limit exceeded. Reduce the call rate before retrying.",
            "headers": {
              "Retry-After": {
                "description": "Delay in seconds or HTTP date before retrying.",
                "schema": {
                  "type": "string"
                }
              },
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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 rejected the query or Biz processing failed. Retain the request ID and contact support.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "The usage upstream response is invalid, or Gateway did not obtain a valid Biz response. Retain the request ID and contact support.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "A usage dependency, Biz, or the platform is temporarily unavailable. Retry later.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "The call timed out.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "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": "Other platform or service error. Handle according to error_code and retain the request ID.",
            "headers": {
              "X-Request-ID": {
                "description": "Request ID generated by the open platform for each HTTP request for log correlation and troubleshooting. Retries generate a new ID. This is not an idempotency key or a distributed Trace ID.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              },
              "X-Trace-ID": {
                "description": "OpenTelemetry TraceID of the current open platform request, correlated with X-Request-ID through request logs. A complete trace may not be available if sampling did not retain it.",
                "schema": {
                  "pattern": "^[0-9a-f]{32}$",
                  "type": "string"
                }
              }
            }
          }
        },
        "security": [
          {
            "OpenPlatformBearer": []
          }
        ],
        "summary": "List member usage",
        "tags": [
          "用量"
        ]
      }
    }
  },
  "info": {
    "title": "List member usage",
    "version": "2026-11-24"
  },
  "servers": [
    {
      "url": "https://openapi.qwenwork.ai"
    }
  ]
}
Back to the OpenAPI overview.