子账号带宽趋势
bandwidth_trendRetrieve bandwidth usage trends for proxy sub-accounts, with options for real-time data or historical analysis over up to 31 days using start and end timestamps.
Instructions
查询子账号的带宽变化趋势:trend_type=1 取最近的实时数据,trend_type=2 按 startTime、endTime 取历史,跨度不超过 31 天。
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": {
"product": "<product>",
"trend_type": "<trend_type>",
"subAccount": "<subAccount>"
},
"name": "bandwidth_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | 结束时间戳(秒),trend_type=2 时必填 | |
| product | Yes | 产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生) | |
| startTime | No | 开始时间戳(秒),trend_type=2 时必填 | |
| subAccount | Yes | 子账号id | |
| trend_type | Yes | 趋势类型:1=实时,2=历史(要传 startTime、endTime) |