Queries the statistics of instances in different states.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The workspace ID. |
1234 |
| ProjectEnv |
string |
Yes |
The runtime environment. Valid values: PROD and DEV. |
PROD |
| BizDate |
string |
Yes |
The data timestamp of instances. |
2020-01-01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0000-ABCD-EFG**** |
| StatusCount |
object |
The statistics of instances. |
|
| FailureCount |
integer |
The number of instances that failed. |
1 |
| WaitTimeCount |
integer |
The number of instances that are waiting for their scheduling time to arrive. |
1 |
| RunningCount |
integer |
The number of instances that are running. |
1 |
| SuccessCount |
integer |
The number of instances that are successfully run. |
1 |
| TotalCount |
integer |
The total number of instances returned. |
1 |
| NotRunCount |
integer |
The number of instances that are not run. |
1 |
| WaitResCount |
integer |
The number of instances that are waiting for resources. |
1 |
Examples
Success response
JSON format
{
"RequestId": "0000-ABCD-EFG****",
"StatusCount": {
"FailureCount": 1,
"WaitTimeCount": 1,
"RunningCount": 1,
"SuccessCount": 1,
"TotalCount": 1,
"NotRunCount": 1,
"WaitResCount": 1
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.