Skip to main content

Create a New Rule Task

Create a new rule task for a dataset. The request body must contain a valid RuleTask object.

Request Body REQUIRED

RuleTask object to create

exprValidColNames string
ruleValueHR string
ruleValue string REQUIRED
ruleType string REQUIRED

Possible values: [expression, regex, standard_validation]

expressionType string

Possible values: [spel, mvel, cep]

regexType string

Possible values: [java, hyperscan]

standardValidationType string

Possible values: [date, country, email, phone, address, ipaddress, hostname]

standardNameForValidation string
applicableScope string

Possible values: [row, col, metrics, quality, schema, governance]

dqDimension string

Possible values: [accuracy, validity, completeness, comprehensive, uniqueness, consistency, freshness, cardinality, coverage, diversity]

json string
version string
active boolean
assetCreatedDate date-time
assetUpdatedDate date-time
createdTime int64
updatedTime int64
createdBy string
updatedBy string
owner string
tags string[]
id int32
name string
description string
datasetId string
columns string
successMsg string
failureMsg string
onboardingStatus string

Possible values: [drafted, deployed, paused, under_review, approved]

executionStatus string

Possible values: [passing, failing, pending]

criticalityLevel string

Possible values: [high, moderate, less, not]

Responses
201

Rule task created successfully

Schema OPTIONAL
exprValidColNames string OPTIONAL
ruleValueHR string OPTIONAL
ruleValue string
ruleType string

Possible values: [expression, regex, standard_validation]

expressionType string OPTIONAL

Possible values: [spel, mvel, cep]

regexType string OPTIONAL

Possible values: [java, hyperscan]

standardValidationType string OPTIONAL

Possible values: [date, country, email, phone, address, ipaddress, hostname]

standardNameForValidation string OPTIONAL
applicableScope string OPTIONAL

Possible values: [row, col, metrics, quality, schema, governance]

dqDimension string OPTIONAL

Possible values: [accuracy, validity, completeness, comprehensive, uniqueness, consistency, freshness, cardinality, coverage, diversity]

json string OPTIONAL
version string OPTIONAL
active boolean OPTIONAL
assetCreatedDate date-time OPTIONAL
assetUpdatedDate date-time OPTIONAL
createdTime int64 OPTIONAL
updatedTime int64 OPTIONAL
createdBy string OPTIONAL
updatedBy string OPTIONAL
owner string OPTIONAL
tags string[] OPTIONAL
id int32 OPTIONAL
name string OPTIONAL
description string OPTIONAL
datasetId string OPTIONAL
columns string OPTIONAL
successMsg string OPTIONAL
failureMsg string OPTIONAL
onboardingStatus string OPTIONAL

Possible values: [drafted, deployed, paused, under_review, approved]

executionStatus string OPTIONAL

Possible values: [passing, failing, pending]

criticalityLevel string OPTIONAL

Possible values: [high, moderate, less, not]

400

Malformed request or missing required fields

409

A rule task with the same name, dataset, and columns already exists