potentialMatches
Query
Surfaces canonical entities of the same type whose name is trigram-similar
to the entity at entityId (similarity above 0.6), closest name first
(REQ-005, REQ-020). Horses also need one agreeing pedigree field or foaling
year and no known conflict. The target entity and dismissed pairs are
always excluded. Deterministic, with no confidence score.
Returns: [PotentialMatch!]!
Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
entityType | ParticipantEntityType! | — |
entityId | ID! | — |
limit | Int | — |
sportCode | SportCode | Optional sport scope (POD-354) — restricts candidate matches to the same sport as the named code. Harmless for single-sport racing types; omitted → no filter. |