613ceff68dc7
Create a reconciliation rule
Request body
Optional human-readable description of what this rule matches
Response
Rule created
Lower values run first
Side A field keys to group records by before matching. The first key is the primary axis: in rollup.group_by_kind 'date' mode it must be a date field; in 'identifier' mode it can be any field (e.g. a batch id in metadata). Additional keys further segment Side A — in date mode each segment matches only Side B records with the same value for those fields; in identifier mode they form a composite cohort key.
Match cardinality. 'one_to_one' matches single records on each side. 'many_to_one' rolls up multiple records on one side to match a single record on the other side — requires the rollup field to be set.
Optional human-readable description of what this rule matches
Origin of the rule. 'user' = created manually via the API or UI. 'ai' = created by the AI rules engine. 'default' = seeded built-in rule.
Active rules are used by the reconciliation engine. Proposed rules are awaiting review from a cold start.
AI confidence rating. Only present on AI-generated rules from cold start.
How many sample records this rule matched during dry-run evaluation (e.g. '42/50'). Only present on AI-generated rules from cold start.