Skip to content

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!]!

NameTypeDescription
entityTypeParticipantEntityType!—
entityIdID!—
limitInt—
sportCodeSportCodeOptional sport scope (POD-354) — restricts candidate matches to the same sport as the named code. Harmless for single-sport racing types; omitted → no filter.