GET /billing/usage/{tenant_id}/current
查询当前计费周期内的已使用资源量(用户数、存储、API调用),用于实时用量监控
计费服务 `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.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 |
|
|