Documentation menu
These are pre-release docs from the main branch.

API reference

3 operations in dedupe. Raw spec: openapi.json.

GET/api/v1/dedupe/workflow

GET /api/dedupe/workflow — the org's workflow + the honest gate state.

Responses

StatusDescription
200
404workflow not configured yet (typed unavailable state)

Security: bearer

PUT/api/v1/dedupe/workflow

PUT /api/dedupe/workflow — configure the intelligent dedupe workflow. The gate is the ADR 0011 §3 posture: enabling requires the org's decision model to be configured — the typed refusal is `dedupe_decision_not_configured`, never a silent turn-on.

Request body

DedupeWorkflowRequest

Responses

StatusDescription
200
409dedupe_decision_not_configured — the decision model is not configured
422threshold / schedule / entity kinds out of range

Security: bearer

POST/api/v1/dedupe/workflow/run

POST /api/dedupe/workflow/run — the manual run (and the workbench's "run intelligent dedupe" trigger). Report-first: every suggestion is recorded suggestion-grade and visible in the workbench; in auto_merge mode ONLY the at/above-threshold folds apply (audited, undoable).

Request body

DedupeRunRequest

Responses

StatusDescription
200
409the workflow is disabled or its decision model is unconfigured

Security: bearer