Queries a list of reports for a specified inspection task. Supports time-based filtering and pagination.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values: 30, 50, and 100. Default value: 30. |
30 |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from 1. Maximum value: 2147483647. Default value: 1. |
1 |
| TaskId |
string |
No |
The ID of the inspection task. This parameter is required. |
task-001 |
| RegionId |
string |
No |
The region ID of the inspection task. |
cn-hangzhou |
| StartTime |
string |
No |
The start time of the query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mmZ format. The time must be in UTC and cannot be later than the current time. |
2026-11-04T01:00Z |
| EndTime |
string |
No |
The end time of the query. If you specify StartTime, you must also specify EndTime. Specify the time in the ISO 8601 standard in the YYYY-MM-DDTHH:mmZ format. The time must be in UTC and cannot be earlier than the start time. |
2026-11-04T02:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| PageSize |
integer |
The number of entries per page. |
30 |
| PageNumber |
integer |
The current page number. |
1 |
| TotalCount |
integer |
The total number of reports that meet the query conditions. |
1 |
| Score |
integer |
The score returned by the inspection task. |
90 |
| ReportItems |
array<object> |
The list of inspection reports. |
|
|
array<object> |
|||
| ReportId |
string |
The ID of the inspection report. |
report-001 |
| TaskId |
string |
The ID of the inspection task. |
task-001 |
| ReportSummary |
string |
The summary of the inspection report. |
The instance is running normally |
| ReportScore |
integer |
The score of the inspection report. |
90 |
| DBClusterId |
string |
The ID of the inspected PolarDB cluster. |
pc-************** |
| Latest |
string |
Indicates whether this is the latest inspection report. The value is returned as a string. |
true |
| ReportStatus |
string |
The status of the inspection report. |
Completed |
| ReportTime |
string |
The time when the inspection report was generated. The time is in the yyyy-MM-dd HH:mm:ss format and is in the UTC+8 time zone. |
2026-11-05 16:00:00 |
| RegionId |
string |
The region ID of the inspected cluster. |
cn-hangzhou |
| SubItems |
array<object> |
The number of check items categorized by inspection result level. |
|
|
object |
|||
| Info |
integer |
The number of check items at the Info level. |
1 |
| Normal |
integer |
The number of check items at the Normal level. |
10 |
| Warning |
integer |
The number of check items at the Warning level. |
0 |
| Critical |
integer |
The number of check items at the Critical level. |
0 |
| ReportDescription |
string |
The detailed description of the inspection report. |
No critical risks were found in this inspection |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"PageSize": 30,
"PageNumber": 1,
"TotalCount": 1,
"Score": 90,
"ReportItems": [
{
"ReportId": "report-001",
"TaskId": "task-001",
"ReportSummary": "实例运行状态正常",
"ReportScore": 90,
"DBClusterId": "pc-**************",
"Latest": "true",
"ReportStatus": "Completed",
"ReportTime": "2026-11-05 16:00:00",
"RegionId": "cn-hangzhou",
"SubItems": [
{
"Info": 1,
"Normal": 10,
"Warning": 0,
"Critical": 0
}
],
"ReportDescription": "本次巡检未发现严重风险。"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.