Queries a list of instances generated by a data quality monitoring task by page.
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 |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. | 100 |
DataQualityEvaluationTaskId | long | No | The ID of the data quality monitoring task. | 10000 |
TableGuid | string | No | The ID of the table in Data Map. | odps.unit_test.tb_unit_test |
CreateTimeFrom | long | No | The earliest start time at which the instances are generated. | 1710239005403 |
CreateTimeTo | long | No | The latest start time at which the instances are generated. | 1710239005403 |
BizdateFrom | string | No | The start time of the data quality monitoring task. | 2024-04-01 |
BizdateTo | string | No | The end time of the data quality monitoring task. | 2024-05-01 |
TriggerClientId | string | No | The ID of the instance that is generated by the task. | 1001 |
TriggerClient | string | No | The name of the trigger module of the instance. | CWF2 |
PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
PageNumber | integer | No | The page number. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 294,
"DataQualityEvaluationTaskInstances": [
{
"Id": 10001,
"CreateTime": 1710239005403,
"FinishTime": 1710239005403,
"Status": "Critical",
"Parameters": "{\n \"bizdate\": \"20240517\",\n \"triggerTime\": \"1710239005403\"\n}",
"TriggerContext": "{\n \"TriggerClientId\": 10001,\n \"TriggerClient\": \"CWF2\"\n}",
"ProjectId": 100,
"Task": {
"Id": 10001,
"RegionId": "cn-shanghai",
"Description": "This is a daily run data quality evaluation plan.",
"ProjectId": 100,
"Target": {
"Type": "Table",
"DatabaseType": "maxcompute",
"TableGuid": "odps.unit_test.tb_unit_test",
"PartitionSpec": "ds=$[yyyymmdd-1]"
},
"Trigger": {
"Type": "ByScheduledTaskInstance",
"TaskIds": [
10000
]
},
"RuntimeConf": "{ \"queue\": \"default\", \"sqlEngine\": \"SPARK-SQL\" }",
"Hooks": [
{
"Type": "BlockTaskInstance",
"Condition": "${severity} == \"High\" AND ${status} == \"Critical\""
}
],
"Notifications": {
"Condition": "${severity} == \"High\"",
"Notifications": [
{
"NofiticationReceivers": [
{
"ReceiverType": "AliUid",
"Extension": "{\"atAll\":\"true\"}",
"ReceiverValues": [
"10000001"
]
}
],
"NotificationChannels": [
{
"Channels": [
"Mail"
]
}
]
}
]
},
"Name": ""
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-12-19 | The response structure of the API has changed | View Change Details |
2024-11-06 | The response structure of the API has changed | View Change Details |