You can call this operation to query the status information of multiple instances.


  • For information about the lifecycle of an ECS instance, see Instance states.
  • You can also call this operation to query the list of instances.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeInstanceStatus

The operation that you want to perform. Set the value to DescribeInstanceStatus.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list.

InstanceId.N RepeatList No i-bp1j4i2jdf3owlhe****

The ID of instance N. Valid values of N: 1 to 100. Specify multiple values in the repeated list format.

ZoneId String No cn-hangzhou-d

The zone ID of the instance.

ClusterId String No cls-bp67acfmxazb4p****

The cluster ID of the instance.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1.

Default value: 1.

PageSize Integer No 10

The number of entries to return on each page. Valid values: 1 to 50.

Default value: 10.

Response parameters

Parameter Type Example Description
InstanceStatuses Array

The status information of instances.

InstanceId String i-bp1j4i2jdf3owlhe****

The ID of the instance.

Status String Running

The status of the instance.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 1

The number of entries returned per page.

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

TotalCount Integer 58

The total number of instances.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

	"PageNumber": 1,
	"InstanceStatuses": {
		"InstanceStatus": [
				"Status": "Running",
				"InstanceId": "i-bp1j4i2jdf3owlhe****"
	"TotalCount": 58,
	"PageSize": 1,
	"RequestId": "746C3444-9A24-4D7D-B8A8-DCBF7AC8BD66"

Error codes

For a list of error codes, visit the API Error Center.