GET /billing/usage/{tenant_id}/apps/{app_id}/current
按应用维度查询当前计费周期内的资源使用量,用于多应用租户的独立用量监控
计费服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenant_id |
path |
string |
Yes |
|
|
|
租户ID |
app_id |
path |
string |
Yes |
|
|
|
应用ID |
Referenced Schemas
dto.CurrentUsageDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.CurrentUsageResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.CurrentUsageResponse
| Field | Type | Required | Example | Constraints | Description |
api_calls_today |
integer |
No |
150 |
|
|
storage_gb |
number |
No |
2.5 |
|
|
users |
integer |
No |
8 |
|
|