CreateDataQualityScanRun

Updated at:

Triggers the execution of a specified data quality monitoring task and returns the run instance ID.

Operation description

You must purchase DataWorks Basic Edition or a higher edition to use this feature.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

DataQualityScanId

integer

No

The ID of the data quality monitoring task to run. This parameter is required. Call the ListDataQualityScans operation to query the quality monitoring tasks in the destination workspace, read the Id from the target record in PageInfo.DataQualityScans[], and use the corresponding ProjectId to submit the run.

20000001

ProjectId

integer

No

The project ID.

10000

Parameters

array<object>

No

The parameter settings used during the actual run. The triggerTime parameter is required.

object

No

The parameter settings used during the actual run.

Value

string

No

The value of the run parameter. If Name is triggerTime, specify the millisecond-level UNIX timestamp corresponding to the scheduling time as a string.

1775812636000

Name

string

No

The parameter name. Supported parameters:

  • triggerTime

Other scheduling parameters are not supported.

triggerTime

RuntimeResource

object

No

The scheduling resource group used during the runtime of the data quality monitoring task. This parameter shares the same data structure as the scheduling API.

Id

string

No

The ID of the resource group.

e9455a13-ff00-4965-833c-337546ba4854

Cu

number

No

The reserved compute unit (CU) configuration when the resource group runs the data quality monitoring task.

0.25

Image

string

No

The image settings when the resource group is used to run the data quality monitoring task.

i-xxxxxx

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

0bc14115***159376359

Id

integer

The ID of the run record for this data quality monitoring task. You can use this ID to query the run details and run logs.

248840

Examples

Success response

JSON format

{
  "RequestId": "0bc14115***159376359",
  "Id": 248840
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.