Retrieves the number of instances in each state.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The DataWorks workspace ID. You can obtain the ID on the Workspace page of the DataWorks console. |
1234 |
| ProjectEnv |
string |
Yes |
The runtime environment. Valid values: PROD and DEV. |
PROD |
| BizDate |
string |
Yes |
The business date for which to query instance status statistics. Format: yyyy-MM-dd. |
2020-01-01 |
| SchedulerType |
string |
No |
The scheduling type of the node. Valid values:
|
NORMAL |
| DagType |
string |
No |
The type of the directed acyclic graph (DAG). Valid values:
|
MANUAL |
| SchedulerPeriod |
string |
No |
The scheduling cycle. Valid values:
|
DAY |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0000-ABCD-EFG**** |
| StatusCount |
object |
The numbers of instances in different states. |
|
| FailureCount |
integer |
The number of instances that failed to run. |
1 |
| WaitTimeCount |
integer |
The number of instances that are waiting to run. |
1 |
| RunningCount |
integer |
The number of instances that are running. |
1 |
| SuccessCount |
integer |
The number of instances that ran successfully. |
1 |
| TotalCount |
integer |
The total number of instances returned. |
1 |
| NotRunCount |
integer |
The number of instances that have 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.