All Products
Search
Document Center

Container Service for Kubernetes:GetClusterCheck

Last Updated:Oct 13, 2026

Queries the details of a specific check task for a Kubernetes cluster. The intelligent O&M platform for containers provides comprehensive cluster check capabilities, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. You can call this operation to retrieve information such as the check status, specific check items, and the creation and completion time of the check task based on the cluster ID and check task ID.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cs:GetClusterCheck

list

*Cluster

acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}

None None

Request syntax

GET /clusters/{cluster_id}/checks/{check_id} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

cluster_id

string

Yes

The cluster ID.

ce0da5a1d627e4e9e9f96cae8ad07****

check_id

string

Yes

The check ID. You can call the RunClusterCheck operation to obtain the check ID.

1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

Schema of Response

check_id

string

The check ID.

1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto

type

string

The check type.

ClusterUpgrade

status

string

The check status.

Succeeded

message

string

The check status message.

task succeed

created_at

string

The creation time in ISO 8601 format, including time zone information.

2023-10-16T08:31:20.292030178Z

finished_at

string

The completion time.

2023-10-16T08:35:20.292030178Z

check_items

object

The check items.

array<object>

The list of check items.

object

The detailed properties of the check items.

{ "Group": "ClusterResource", "Level": { "normal": { "Message": "", "Targets": [ { "Target": "v1beta1.metrics.k8s.io", "Value": "All Available" }

Examples

Success response

JSON format

{
  "check_id": "1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto",
  "type": "ClusterUpgrade",
  "status": "Succeeded",
  "message": "task succeed",
  "created_at": "2023-10-16T08:31:20.292030178Z",
  "finished_at": "2023-10-16T08:35:20.292030178Z",
  "check_items": {
    "key": [
      {
        "test": "test",
        "test2": 1
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.