Quality Rules
Retrieve the specified quality rule by ID if the user has view permission.
Rule ID
Quality rule response
Unauthorized
Forbidden
Not found
Internal Server Error
GET /api/rules/{id} HTTP/1.1
Accept: */*
{
"data": {
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
},
"user_permissions": {
"manage_quality_rules": true
}
}Update an existing quality rule using the provided data after permission checks.
Rule ID
Quality rule response
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
PUT /api/rules/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"rule": {
"active": true,
"business_concept_id": 42,
"description": "Check for null values",
"domain_id": 1,
"name": "Null check"
}
}{
"data": {
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
},
"user_permissions": {
"manage_quality_rules": true
}
}Delete the quality rule identified by ID if the current user has deletion permission.
Rule ID
No content
No content
Unauthorized
Forbidden
Not found
Internal Server Error
DELETE /api/rules/{id} HTTP/1.1
Accept: */*
No content
Update an existing quality rule using the provided data after permission checks.
Rule ID
Quality rule response
Unauthorized
Forbidden
Not found
Unprocessable Entity
Internal Server Error
PATCH /api/rules/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"rule": {
"active": true,
"business_concept_id": 42,
"description": "Check for null values",
"domain_id": 1,
"name": "Null check"
}
}{
"data": {
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
},
"user_permissions": {
"manage_quality_rules": true
}
}Upload a CSV file containing quality rules and process the records for ingestion.
Rule upload response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/rules/upload HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 161
{
"rules": "name;domain_external_id;description;template;first_field;second_field;third_field\nRule name;Domain ext id;Rule description;Template name;1;aaa;bbb\n"
}{
"errors": [],
"ids": [
11,
12
]
}Search quality rules using the request payload and return paginated results.
Page number
Page size
Page number
0Page size
20Rule search response
Unauthorized
Internal Server Error
POST /api/rules/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"filters": {
"active": [
true
]
},
"page": 0,
"size": 20
}{
"data": [
{
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"updated_by": {},
"version": 1
}
],
"filters": {},
"user_permissions": {
"manage_quality_rules": true
}
}Retrieve quality rules filtered by the specified business concept and authorize access where applicable.
Business concept ID
Quality rules response
Unauthorized
Internal Server Error
GET /api/rules/concept/{business_concept_id} HTTP/1.1
Accept: */*
{
"data": [
{
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
}
],
"user_permissions": {
"manage_quality_rules": true
}
}Return the available filter values for quality rule searches.
Filter response
Unauthorized
Forbidden
Internal Server Error
POST /api/rule_filters/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"filters": {
"domain_id": [
1,
2
]
}
}{
"filters": {
"active": [
true
]
}
}Trigger a full reindex of the quality rule search index for the current tenant.
Accepted
No content
Unauthorized
Internal Server Error
GET /api/rules/search/reindex_all HTTP/1.1
Accept: */*
No content
Retrieve all quality rules visible to the current user and include domain enrichment.
Quality rules response
Unauthorized
Forbidden
Internal Server Error
GET /api/rules HTTP/1.1
Accept: */*
{
"data": [
{
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
}
],
"user_permissions": {
"manage_quality_rules": true
}
}Create a new quality rule from the provided payload after authorization.
Quality rule response
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/rules HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"rule": {
"active": true,
"business_concept_id": 42,
"description": "Check for null values",
"domain_id": 1,
"name": "Null check"
}
}{
"data": {
"active": true,
"domain_id": 1,
"id": 11,
"inserted_at": "2026-06-23T12:18:55",
"name": "Null check",
"updated_at": "2026-06-23T12:18:55",
"version": 1
},
"user_permissions": {
"manage_quality_rules": true
}
}Last updated