v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Matching

Approve an AI match-rule suggestion (create the rule)

Approves a PENDING_REVIEW suggestion and creates the match rule through the deterministic configuration write path. This is the ONLY path from an AI suggestion to an active match rule, and it runs only on explicit human approval. The approving principal is recorded for audit. Tenant from the JWT, context from the path.

post/v1/matching/contexts/{contextId}/rule-suggestions/{suggestionId}/approve

Path parameters

contextIdstring uuid required

Context ID

Context ID

suggestionIdstring uuid required

Suggestion ID

Suggestion ID

Response

OK

createdRuleIdstring required

Identifier of the match rule created from the approved suggestion

reviewIdstring required

Identifier of the approved suggestion review

Example response

{
  "createdRuleId": "550e8400-e29b-41d4-a716-446655440000",
  "reviewId": "550e8400-e29b-41d4-a716-446655440000"
}