You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Resource usage
GetAccountQuotaUsedTrend
Copy page
Download PDF
GetAccountQuotaUsedTrend
Get the resource usage trend of the root user.​
API description​
The IAM user has been granted administrator or member permissions for this application. For details, see Permission management.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAccountQuotaUsedTrend&Version=2022-10-12​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
GetAccountQuotaUsedTrend​
The API name. The current API name is GetAccountQuotaUsedTrend.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
start_time​
Long​
Yes​
1665417600​
Query start time.​
end_time​
Long​
Yes​
1666083280​
Query end time.​
granularity​
String​
Yes​
week​
Time aggregation granularity.​
  • week​
  • day​
  • month​
page_no​
Integer​
Yes​
1​
Page number. The returned resource usage includes the usage of each Aid, sorted by usage in descending order.​
page_size​
Integer​
Yes​
10​
Number of items per page.​
service_keys​
Array of String​
No​
[app_monitor]​
Service list. It defaults to empty, which queries all. The available values are obtained via the GetServiceList method.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAccountQuotaUsedTrend&Version=2022-10-12​
{​
"start_time": 1665417600,​
"end_time": 1666083280,​
"granularity": "week,day,month",​
"page_no": 1,​
"page_size": 10,​
"service_keys": "[app_monitor]"​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
-​
Resource usage trend.​
error_msg​
String​
""​
Error message. It is empty if the request succeeds.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
​
AccountEventTrendData​
​
Parameters​
Type​
Sample value​
Description​
total​
Object of TrendLine​
-​
Total usage trend.​
modules​
Array of TrendLine​
-​
Usage trend of each AID under the root user.​
total_count​
Integer​
20​
Number of AIDs under the root user.​
​
TrendLine​
​
Parameters​
Type​
Sample value​
Description​
name​
String​
test123​
The name of the line. When grouped, the name needs to be set to the value of the grouping dimension. For example, it is used as the legend label for the curve.​
points​
Array of TrendPoint​
-​
The data points on the curve.​
​
TrendPoint​
​
Parameters​
Type​
Sample value​
Description​
alert​
Object of AlertPoint​
-​
The alert message.​
value​
Double​
123​
The metric value.​
timestamp​
Long​
1665417600​
Unix timestamp.​
readable_timestamp​
String​
2022-10-11​
Calendar time.​
​
AlertPoint​
​
Parameters​
Type​
Sample value​
Description​
msg​
String​
-​
The alert message.​
alert​
Boolean​
true​
Whether an alert is required.​
​
Sample response​
​
{​
"data": {​
"total_count": 869,​
"total": {​
"name": "test123",​
"points": [​
{​
"readable_timestamp": "2022-10-11",​
"alert": {​
"alert": true,​
"msg": ""​
},​
"value": 123,​
"timestamp": 1665417600​
}​
]​
},​
"modules": [​
{​
"points": [​
{​
"readable_timestamp": "2022-10-11",​
"alert": {​
"alert": true,​
"msg": ""​
},​
"timestamp": 1665417600,​
"value": 123​
}​
],​
"name": "test123"​
}​
]​
},​
"error_no": 0,​
"error_msg": ""​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.17 16:14:45