Queries the execution records of a task flow.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DagId | long | Yes | The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain the ID of the task flow. | 7*** |
TriggerType | integer | No | The mode in which the task flow is triggered. Valid values:
| 1 |
StartTimeBegin | string | No | The beginning of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format. | 2022-01-07 |
StartTimeEnd | string | No | The end of the time range to query the execution records of the task flow. Specify the time in the yyyy-MM-DD format. | 2022-04-08 |
PageIndex | integer | Yes | The number of the page to return. | 1 |
PageSize | integer | Yes | The number of entries to return on each page. | 20 |
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID. | 3*** |
UseBizDate | boolean | No | Adjust filter conditions:
| true |
Status | integer | No | The running status of the task node. Valid values:
| 3 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "8CFF2295-8249-5287-B888-DBD4F0D76CB0",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"DAGInstanceList": {
"DAGInstance": [
{
"Id": 9234,
"BusinessTime": "2021-11-10 14:37:26",
"startTime": "2021-11-11 14:35:57\n",
"EndTime": "2021-11-11 14:38:57",
"DagId": "7***",
"TriggerType": 1,
"Status": 4,
"Message": "test",
"HistoryDagId": 0,
"DagName": "Spark_SQL_test",
"OwnerName": "test_name",
"DagVersion": "[]"
}
]
},
"TotalCount": 1
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-05-25 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |