You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Cloud assistant
DescribeInvocationInstances - Queries task execution object lists
Copy page
Download PDF
DescribeInvocationInstances - Queries task execution object lists
Call the DescribeInvocationInstances operation to query the list of task execution objects.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: DescribeInvocationInstances​
The action that you want to perform. Value: DescribeInvocationInstances.​
​
Version string required Sample value: 2020-04-01​
The version of the API. Valid value: 2020-04-01.​
​
InvocationId string required Sample value: ivk-hz0jdfwd9f****​
The task ID. You can call the DescribeInvocations operation to query and obtain the task ID.​
​
InstanceId string Optional Sample value: i-bp1i7gg2em****​
The instance ID.​
​
PageNumber integer Optional Sample value: 1​
The current page number.​
  • Starting value: 1.​
  • Default value: 1​
​
PageSize integer Optional Sample value: 10​
The number of entries returned on each page in a pagination query.​
  • Value range: 1~100.​
  • Default value: 10.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
PageNumber integer Sample value: 1​
The current page number.​
​
PageSize integer Sample value: 10​
The number of entries returned on each page in a pagination query.​
​
TotalCount integer Sample value: 100​
The total number of execution results.​
​
InvocationInstances object[] Sample value: --​
The information about execution objects that meet the criteria.​
InvocationId string Sample value: i-bp1i7gg30r52z2em****​
The job ID.​
​
InstanceId string Sample value: i-bp1i7gg30r52z2em****​
The instance ID.​
​
​
​
​
Sample request​
​
GET /?Version=2020-04-01&Action=DescribeInvocationInstances&InvocationId=ivk-ycmp***** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
ServiceName: ecs​
​
​
​
GET /?Version=2020-04-01&Action=DescribeInvocationInstances&InvocationId=ivk-ycmp***** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
ServiceName: ecs​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202308301616355A86D*******",​
"Action": "DescribeInvocationInstances",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"PageNumber": 1,​
"PageSize": 10,​
"TotalCount": 1,​
"InvocationInstances": [​
{​
"InvocationId": "ivk-ycmpp*****",​
"InstanceId": "i-ycmd0******"​
}​
]​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common Error Codes.​
​
Status code​
Error code​
Error message​
Description​
400​
MissingParameter.AccountId​
The required parameter AccountId is not supplied.​
The user ID cannot be empty.​
400​
MissingParameter.InvocationId​
The required InvocationId is not supplied.​
The job ID cannot be empty.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Try again. If multiple attempts fail, submit a ticket.​
​
​
Last updated: 2026.06.18 17:48:26