Queries the number of instances that are in each state.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. | 1234 |
ProjectEnv | string | Yes | The runtime environment. Valid values: PROD and DEV. | PROD |
BizDate | string | Yes | The date on which the numbers of instances in different states are obtained. Specify the date in the yyyy-MM-dd format. | 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 parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0000-ABCD-EFG****",
"StatusCount": {
"FailureCount": 1,
"WaitTimeCount": 1,
"RunningCount": 1,
"SuccessCount": 1,
"TotalCount": 1,
"NotRunCount": 1,
"WaitResCount": 1
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-07 | The request parameters of the API has changed | View Change Details |