QueryNetworkRttReport
Queries network RTT and low-RTT user statistics within a specified time range.
Operation description
Queries network round-trip time (RTT) reports. ProductType, StartDate, and EndDate are required for server-side validation. The statistical interval is [StartDate, EndDate). The minimum, maximum, and average RTT values are measured in milliseconds. The low-RTT threshold is determined by the report statistical caliber, and the current API operation does not return this threshold. Results are returned in pages, with a maximum of 1,500 entries per page.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:QueryNetworkRttReport |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppInstanceGroupId |
string |
No |
The ID of the app instance group, which is used to filter data for a specified app instance group. You can call the ListAppInstanceGroup operation to obtain the ID. If this parameter is not specified, data is not filtered by app instance group. |
aig-9ciijz60n4xsv**** |
| PageSize |
integer |
No |
The number of entries per page. Default value: 200. If the specified value is greater than 1,500, it is processed as 1,500. |
100 |
| PageNumber |
integer |
No |
The page number to query. We recommend that you explicitly specify a value starting from 1. If this parameter is not specified, the service processes the request as the first page, but the response may return 0. |
1 |
| BizRegionId |
string |
No |
The ID of the business region, which is used to filter report data. You can call the ListRegions operation to obtain the ID. |
cn-hangzhou |
| StartDate |
string |
No |
The start time of the statistics. Required. Format: |
2026-09-01 00:00:00 |
| EndDate |
string |
No |
The end time of the statistics. Required. Format: |
2026-09-02 00:00:00 |
| ProductType |
string |
No |
The product type. Required. Valid values:
|
CloudApp |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
string |
The business status code. A value of 200 indicates that the request is successful. Other values indicate that the request failed. |
200 |
| Count |
integer |
The total number of records that meet the query conditions. |
3 |
| Message |
string |
The description of the request processing result. The value success is usually returned when the request is successful. |
success |
| NetworkRttReportDataModel |
array<object> |
The list of network RTT report data. |
|
|
object |
The network RTT report data object. |
||
| AppInstanceGroupId |
string |
The ID of the app instance group. |
aig-9ciijz60n4xsv**** |
| LowRttUserCount |
integer |
The number of users that meet the low-RTT criteria of the report. Unit: users. The current API operation does not return the specific threshold. |
85 |
| LowRttUserRate |
number |
The ratio of low-RTT users to the total number of users included in the statistics. Valid values: 0 to 1. To obtain the percentage, multiply the value by 100. |
0.85 |
| RegionId |
string |
The ID of the business region to which the report data belongs. |
cn-hangzhou |
| RttAvg |
number |
The average RTT of all users included in the statistics. Unit: milliseconds. |
35.8 |
| RttMax |
number |
The maximum value among the average RTTs of all users. Unit: milliseconds. |
86.2 |
| RttMin |
number |
The minimum value among the average RTTs of all users. Unit: milliseconds. |
12.5 |
| StatEndDate |
string |
The end time of the statistical window. Format: |
2026-09-01 10:05:00 |
| StatStartDate |
string |
The start time of the statistical window. Format: |
2026-09-01 10:00:00 |
| TotalUserCount |
integer |
The total number of users included in the RTT calculation for the current statistical window. Unit: users. |
100 |
| PageNumber |
integer |
The page number corresponding to the current response. |
1 |
| PageSize |
integer |
The number of entries per page used in the current response. |
200 |
| RequestId |
string |
The unique identifier of the request, which can be used to troubleshoot request issues. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"Code": "200",
"Count": 3,
"Message": "success",
"NetworkRttReportDataModel": [
{
"AppInstanceGroupId": "aig-9ciijz60n4xsv****",
"LowRttUserCount": 85,
"LowRttUserRate": 0.85,
"RegionId": "cn-hangzhou",
"RttAvg": 35.8,
"RttMax": 86.2,
"RttMin": 12.5,
"StatEndDate": "2026-09-01 10:05:00",
"StatStartDate": "2026-09-01 10:00:00",
"TotalUserCount": 100
}
],
"PageNumber": 1,
"PageSize": 200,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.