Queries the details of directed acyclic graphs (DAGs) for a single data backfill instance based on OpSeq.
Operation description
Supported DAG types:
- MANUAL: DAG for a manually triggered workflow
- SMOKE_TEST: DAG for a smoke testing workflow
- SUPPLY_DATA: DAG for a data backfill instance
- BUSINESS_PROCESS_DAG: DAG for a one-time workflow
Supported DAG states:
- CREATED: The DAG is created.
- RUNNING: The DAG is running.
- FAILURE: The DAG fails to run.
- SUCCESS: The DAG is successfully run.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OpSeq | long | Yes | The sequence number that uniquely identifies the data backfill operation. You can call the GetDag operation to query the sequence number. | 123 |
ProjectEnv | string | Yes | The environment of the workspace. Valid values: PROD and DEV. The value PROD indicates the production environment, and the value DEV indicates the development environment. | PROD |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "7782a299-b291-4fee-8424-cf8058efa8e8",
"ErrorMessage": "The connection does not exist.",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": {
"Dags": [
{
"Type": "MANUAL_FLOW",
"Status": "FAILURE",
"FinishTime": 1605052800000,
"CreateTime": 1605052800000,
"ProjectId": 112345,
"DagId": 351249682,
"Gmtdate": 1605052800000,
"StartTime": 1605052800000,
"CreateUser": "1736629400048545",
"Bizdate": 1605052800000,
"Name": "test_dag",
"ModifyTime": 1605052800000,
"OpSeq": 123
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history