GET /billing/statistics/{tenant_id}
查询租户的综合计费统计,包括活跃用户数、资源使用量等汇总指标。可选按 app_id 过滤。
计费服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenant_id |
path |
string |
Yes |
|
|
|
租户ID |
app_id |
query |
string |
No |
|
|
|
应用ID(可选) |
Referenced Schemas
dto.TenantStatisticsDetailResponse
dto.TenantStatisticsResponse
| Field | Type | Required | Example | Constraints | Description |
active_users |
integer |
No |
45 |
|
|
app_id |
string |
No |
app_001 |
|
|
mrr |
number |
No |
99 |
|
|
retention_rate |
number |
No |
0.95 |
|
|
tenant_id |
string |
No |
tnt_xyz789 |
|
|
total_spend |
number |
No |
1188 |
|
|