GET /v1/admin/package-traffic-coverage
查询用户套餐每个周期由全局流量包覆盖的流量(最近周期在前)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_id | query | string(uuid) | No | Optional for platform administrators. When omitted, the control API resolves the subscription's owning tenant from subscription_id before authorizing the usage query. |
subscription_id | query | string(uuid) | Yes | — |
limit | query | integer | No | 返回的周期数,默认 12 |
Responses
| Status | Description |
|---|---|
200 | 每个周期由流量包覆盖的流量(字节,十进制字符串)与扣量批次 Fields: |
400 | 稳定错误信封 |
401 | 稳定错误信封 |
403 | 稳定错误信封 |
404 | 稳定错误信封 |
408 | 稳定错误信封 |
503 | 稳定错误信封 |
What to do on failure
400Fix the parameters or body per the field list; do not retry unchanged.401Check the credential format and whether it expired or was rotated.403Check the key scopes, the owner’s current permissions and the tenant scope; never switch to a more privileged account.404The resource does not exist or belongs to another tenant.503A dependency is unavailable: retry later with the original Idempotency-Key.