Skip to content

Preview Detection Rule

POST
/duplicates/settings/preview-detection-rule

Dry-run a duplicate-detection rule. Writes nothing.

Returns the pair count the rule would match plus a small sample, which is the only way to size a rule before auto-merge acts on it. A POST because the rule is a body; tiered a read so a read-only key can check a rule before someone saves it.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Dry-run a duplicate-detection rule. Writes nothing.

Returns how many pairs the rule would match plus a small sample, which is the only way to size a rule before auto-merge starts acting on it.

object
confidence_bucket
Any of:
string
Allowed values: high medium low
entity_type
required

Object the rule matches on.

string
Allowed values: contact company deal
field
required

Column the rule compares.

string
match_mode
required

How two values are considered equal.

string
Allowed values: exact normalized fuzzy_levenshtein domain_match phone_e164 linkedin_handle
rule_name
required

Name for the rule being previewed.

string
score
Any of:
integer
template
required

Platform rule template the rule is built from.

string

Responses

200

Successful Response

object
data
required

An open envelope for one record, one dashboard or one job receipt.

Open because most of these reads are COMPUTED shapes - an engagement summary, a next-best-step, an intelligence status - that grow with the product, and dropping a field from an advisory read makes it say “nothing to report” rather than “we did not tell you”.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string