GetAgentRuntimeStatistic
Queries the statistics of runtimes of a specified type under the current Alibaba Cloud account, grouped by agent platform and agent provider. The statistics include the total number of runtimes, the number of runtimes without a configured model, the number of runtimes without a configured channel, the number of risky runtimes, and the number of expired runtimes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:GetAgentRuntimeStatistic |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuntimeType |
string |
Yes |
The runtime environment type of the runtime resource. Valid values:
|
CloudDesktop |
| AgentProvider |
string |
No |
The agent provider used to filter the statistics scope, such as AgenticComputer. If this parameter is not specified, all agent providers are included in the statistics. If an unsupported value is passed, a parameter error is returned. Valid values:
|
AgenticComputer |
| BizType |
integer |
Yes |
The business type used to filter runtimes of a specified business type. Valid values:
|
1 |
| AgentPlatform |
string |
No |
The agent platform used to filter the statistics scope, such as ENTERPRISE_AGENTIC_COMPUTER. If this parameter is not specified, all agent platforms are included in the statistics. If an unsupported value is passed, a parameter error is returned. Valid values:
|
ENTERPRISE_AGENTIC_COMPUTER |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The agent runtime statistics. |
||
| Data |
array<object> |
The list of runtime statistics grouped by agent platform and agent provider. If AgentProvider is specified but no matching runtimes are found, a record with all statistical values set to 0 is returned. |
|
|
object |
|||
| AgentProvider |
string |
The agent provider, such as AgenticComputer. Valid values:
|
AgenticComputer |
| AgentPlatform |
string |
The agent platform, such as ENTERPRISE_AGENTIC_COMPUTER. Valid values:
|
ENTERPRISE_AGENTIC_COMPUTER |
| AgentDisplayName |
string |
The display name of the agent, which is determined by both the agent platform and the agent provider. For example, OpenClaw under the ENTERPRISE platform is displayed as OpenClaw, and OpenClaw under the JVS platform is displayed as JVS Claw. |
Agentic Computer |
| TotalRuntimeCount |
integer |
The total number of runtime resources in this group, deduplicated by runtime ID. |
10 |
| NoModelConfiguredRuntimeCount |
integer |
The number of runtime resources without a configured model in this group. A runtime is considered to have a configured model if either the runtime itself or its associated resource group has a model configured. |
2 |
| NoChannelConfiguredRuntimeCount |
integer |
The number of runtime resources without a configured channel in this group, which is the total number of runtime resources minus the number of runtime resources with a configured channel. |
3 |
| RiskyRuntimeCount |
integer |
The number of risky runtime resources in this group, deduplicated by runtime ID. A runtime is counted as risky if it has any of the following risks: the model configuration is modified, the third-party channel configuration is modified, or the agent is being uninstalled. |
1 |
| ExpiredCount |
integer |
The number of expired runtime resources in this group. A runtime is counted as expired if its resource status is Expired or Ceased, case-insensitive. |
0 |
| TotalCount |
integer |
The number of returned statistics records, which is the length of the Data list. |
1 |
| RequestId |
string |
The request ID, which is used to uniquely identify the request. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"Data": [
{
"AgentProvider": "AgenticComputer",
"AgentPlatform": "ENTERPRISE_AGENTIC_COMPUTER",
"AgentDisplayName": "Agentic Computer",
"TotalRuntimeCount": 10,
"NoModelConfiguredRuntimeCount": 2,
"NoChannelConfiguredRuntimeCount": 3,
"RiskyRuntimeCount": 1,
"ExpiredCount": 0
}
],
"TotalCount": 1,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.