All Products
Search
Document Center

Cloud Phone:DescribeInvocations

Last Updated:Dec 10, 2025

Queries the execution results of a command run by calling the RunCommand operation.

Operation description

This operation is being deprecated. Use the DescribeTasks operation to query the progress and results of a command execution.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceIds

array

Yes

The IDs of the cloud phone instances. A single request can query the execution results for up to 50 instances.

string

No

The instance ID.

acp-bj9t2gmys****

InvocationId

string

Yes

The ID of the command execution. Use this ID and the cloud phone instance ID to query the result of a command execution.

t-4e98eeb5****

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

440D7342-5E7C-B2DB-D0B4EAC2BDF1****

TotalCount

string

The total number of entries.

10

Data

array<object>

The list of returned results.

object

The returned result.

InvocationId

string

The ID of the command execution.

t-15775dc8****

StartTime

string

The time when the command started to run.

2022-08-11 17:45:03

FinishTime

string

The time when the command finished running.

2022-08-11 17:45:03

Output

string

The output of the command execution.

success

InstanceId

string

The ID of the instance where the command was run.

acp-uto81vfd8t8z****

InvocationStatus

string

The status of the command execution.

Valid values:

  • Failed :

  • Timeout :

  • Running :

  • Success :

  • Pending :

Running

Examples

Success response

JSON format

{
  "RequestId": "440D7342-5E7C-B2DB-D0B4EAC2BDF1****",
  "TotalCount": "10",
  "Data": [
    {
      "InvocationId": "t-15775dc8****",
      "StartTime": "2022-08-11 17:45:03",
      "FinishTime": "2022-08-11 17:45:03",
      "Output": "success",
      "InstanceId": "acp-uto81vfd8t8z****",
      "InvocationStatus": "Running"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.