workspace__ListUserUsageMetric
Query user usage statistics for a Huawei Cloud Workspace project within a time range, with optional username filtering and usage-hour thresholds.
Instructions
[WORKSPACE] 查询用户使用统计信息;
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"end_time": "<end_time>",
"project_id": "<project_id>",
"start_time": "<start_time>"
},
"name": "workspace__ListUserUsageMetric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | limit范围[1-100],默认值0。 | |
| offset | No | 查询的偏移量,默认值0。 | |
| end_time | Yes | 查询截至时间(0时区)。 | |
| username | No | 用户名(模糊匹配)。 | |
| sort_type | No | 按照指标进行排序的方向;需配合sort_field一起使用 | DESC |
| project_id | Yes | 项目ID。 | |
| sort_field | No | 按照指标进行排序 | |
| start_time | Yes | 查询起始时间(0时区)。 | |
| usage_max_hours | No | 使用时长最大值 | |
| usage_min_hours | No | 使用时长最小值。 |