Use this API to define a new data reliability rule that enforces a quality check on one or more assets.
When your team identifies a new data quality requirement — for example, “email addresses in customer_orders must not be null” — you use this endpoint to formalize it as a rule. Once created, you can attach it to assets, trigger executions, and monitor outcomes.
This is typically one of your first steps in operationalizing data reliability.
Endpoint
Path Parameters
No path or query parameters are required for this POST method.
Sample Request Body
{ "name": "Customer_Email_Validation", "description": "Checks for null values and pattern mismatches in email column.", "type": "DATA_QUALITY", "measurementType": "PATTERN_MISMATCH", "columnName": "email", "pattern": "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$", "threshold": 0}Sample Request
curl -X POST "https://demo.acceldata.io/catalog-server/api/rules"Response Schema
See Rule Schema.
Was this page helpful?