Create and List Policies
Use the following APIs to create a reconciliation policy and list the existing reconciliation policies.
Endpoint(s)
Query Parameters
Name | Type | Required | Description |
---|---|---|---|
page | integer | No | Page number to retrieve when listing policies (default: 0). |
size | integer | No | Page size for pagination (default: 25). |
onlyActive | boolean | No | If true , returns only active Reconciliation policies. |
POST
is used to create a Reconciliation policy (body required, no query params).GET
lists Reconciliation policies with pagination support.
Sample Requests
Create (example) — equality on a join of two assets
curl -X POST "https://{HOST}/catalog-server/api/rules/reconciliation" \
-H "Authorization: Bearer $TOKEN" -H "accessKey: $ACCESS_KEY" -H "secretKey: $SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"rule":{
"name":"ORDERS_vs_ORDERS_STG",
"type":"RECONCILIATION",
"details":{
"leftBackingAssetId":123,
"rightBackingAssetId":124,
"joinConditions":[{"leftColumnName":"id","rightColumnName":"id","operation":"EQ"}]
},
"thresholdLevel":{"success":100,"warning":90}
},
"items":[{"measurementType":"EQUALITY","executionOrder":1}]
}'
Was this page helpful?