cURL
curl --request GET \ --url https://api.kadoa.com/v4/data-validation/rules \ --header 'x-api-key: <api-key>'
{ "error": false, "data": [ { "id": "abc123", "name": "Email Validation Rule", "status": "preview", "createdAt": "2024-01-15T10:30:00.000Z", "updatedAt": "2024-01-15T10:30:00.000Z", "description": "<string>", "ruleType": "custom_sql", "workflowId": "<string>", "groupId": "<string>", "userId": "<string>", "teamId": "<string>", "targetColumns": [ "<string>" ], "parameters": { "sql": "<string>", "params": [ "<unknown>" ], "prompt": "<string>" }, "disabledReason": "<string>", "metadata": {}, "deletedAt": "2024-01-15T10:30:00.000Z", "deletedReason": "<string>" } ], "pagination": { "page": 1, "pageSize": 50, "totalItems": 150, "totalPages": 3 } }
Retrieve a paginated list of data validation rules with optional filtering by workflow, status, and other criteria
API key for authentication
preview
enabled
disabled
x >= 1
1 <= x <= 100
200
Paginated validation rules with metadata
true
false
Show child attributes
Unique identifier
"abc123"
Human-readable rule name
"Email Validation Rule"
ISO 8601 timestamp
"2024-01-15T10:30:00.000Z"
custom_sql
Metadata for paginated responses including page info and totals
Page number for pagination
1
Number of items per page
50
Total number of items available
x >= 0
150
Total number of pages
3