Queries the execution records of data quality scans in a project.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| dataworks:ListDataQualityScanRuns | list | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DataQualityScanId | long | No | The ID of the data quality monitor. | 10001 |
| CreateTimeFrom | long | No | The earliest time when the data quality monitor starts to run. | 1710239005403 |
| CreateTimeTo | long | No | The latest time when the data quality monitor starts to run. | 1710239005403 |
| Status | string | No | The status of the data quality check result.
| Fail |
| SortBy | string | No | The list of sorting fields. Supports fields such as last modified time and creation time. Format: "SortField+SortOrder (Desc/Asc)", where Asc is the default. Valid values:
| CreateTime Desc |
| PageSize | integer | No | The number of records per page. Default value: 10. | 20 |
| PageNumber | integer | No | The page number of the results. Default value: 1. | 1 |
| ProjectId | long | Yes | The project ID. | 12345 |
| Filter | object | No | The extended query filter. Supported parameters:
| { "TaskInstanceId": 111L } |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "0bc14115***159376359",
"PageInfo": {
"TotalCount": 324,
"PageSize": 10,
"PageNumber": 1,
"DataQualityScanRuns": [
{
"Id": 3155,
"CreateTime": 1710239005403,
"FinishTime": 1710239005403,
"Status": "Fail",
"Parameters": [
{
"Name": "dt",
"Value": "$[yyyy-mm-dd-1]"
}
]
}
]
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-12-02 | The request parameters of the API has changed | View Change Details |
