All Products
Search
Document Center

Container Service for Kubernetes:ListClusterInspectReports

Last Updated:Jan 26, 2026

Obtains the details of the cluster inspection report.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cs:ListClusterInspectReportslist
*Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request syntax

GET /clusters/{clusterId}/inspectReports HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
clusterIdstringYes

The cluster ID.

c82e6987e2961451182edacd74faf****
nextTokenstringNo

The pagination token.

AK8uQQrxgFKsI3OiS5TbhUQ9R3kPme4I3
maxResultsintegerNo

The maximum number of returned results. Maximum value: 50.

20

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

The request ID.

49511F2D-D56A-5C24-B9AE-C8491E09B***
nextTokenstring

The pagination token.

405b99e5411f9a4e7148506e45
reportsarray<object>

The list of inspection reports.

reportobject
reportIdstring

An inspection report ID.

782df89346054a0000562063a6****
startTimestring

The report start time.

2024-12-18T19:40:16.778333+08:00
endTimestring

The report completion time.

2024-12-18T19:40:16.778333+08:00
statusstring

The inspection report status.

completed
summaryobject

The inspection summary.

codestring

Aggregated inspection task result code.

warning
normalCountinteger

The number of items whose result is normal.

1
adviceCountinteger

The number of items whose result is advice.

0
warnCountinteger

The number of items whose result is warning.

0
errorCountinteger

The number of items whose result is error.

0

Examples

Sample success responses

JSONformat

{
  "requestId": "49511F2D-D56A-5C24-B9AE-C8491E09B***",
  "nextToken": "405b99e5411f9a4e7148506e45",
  "reports": [
    {
      "reportId": "782df89346054a0000562063a6****",
      "startTime": "2024-12-18T19:40:16.778333+08:00",
      "endTime": "2024-12-18T19:40:16.778333+08:00",
      "status": "completed",
      "summary": {
        "code": "warning",
        "normalCount": 1,
        "adviceCount": 0,
        "warnCount": 0,
        "errorCount": 0
      }
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.