Gets data quality monitoring details.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Id | long | No | The ID of the monitor. | 10001 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "204EAF68-CCE3-5112-8DA0-E7A60F02XXXX",
"DataQualityScan": {
"Id": 10001,
"Name": "data_quality_scan_001",
"Description": "aily data quality scanning of ods tables.",
"ProjectId": 101,
"CreateTime": 1731550150000,
"ModifyTime": 1731550150000,
"CreateUser": 2374924198591250,
"ModifyUser": 23482597582479,
"Owner": 231263586109857400,
"Spec": {
"datasets": [
{
"type": "Table",
"dataSource": {
"name": "odps_first",
"envType": "Prod"
},
"tables": [
"ods_d_user_info"
],
"filter": "pt = $[yyyymmdd-1]"
}
],
"rules": [
{
"assertion": "row_count > 0"
},
{
"templateId": "SYSTEM:field:null_value:fixed",
"pass": "when = 0",
"name": "The id cannot be empty.",
"severity": "High",
"identity": "a-customized-data-quality-rule-uuid"
}
]
},
"Parameters": [
{
"Value": 10,
"Name": "e2e_autolabel"
}
],
"ComputeResource": {
"Name": "polardb_to_holo",
"Runtime": {
"Engine": "Hive",
"HiveConf": {
"test": "test",
"test2": 1
},
"SparkConf": {
"test": "test",
"test2": 1
}
},
"EnvType": "Prod"
},
"RuntimeResource": {
"Id": 122878,
"Cu": 10,
"Image": "hp-tlp-e2e-repo-registry-vpc.cn-heyuan-acdr-1.cr.aliyuncs.com/hp-service/worker:9b28b6d-202506091008"
},
"Trigger": {
"Type": "BySchedule",
"TaskIds": [
1023777390
]
},
"Hooks": [
{
"Condition": "results.any { r -> r.status == 'Fail' && r.rule.severity == 'Normal' || r.status == 'Error' && r.rule.severity == 'High' || r.status == 'Warn' && r.rule.severity == 'High' }",
"Type": "BlockTaskInstance"
}
]
}
}Error codes
For a list of error codes, visit the Service error codes.
