find_similar_nodes

readSeit v1.0

Find nodes with similar names that might be duplicates. Uses string similarity matching. Useful before creating new nodes to avoid duplication.

Parameter

NameTypPflichtfeldStandardBeschreibung
localeString[find_similar_nodes] Optional locale code to return translated names.
node_typeString[find_similar_nodes] Limit similarity search to nodes of this type.
thresholdNumber0.8[find_similar_nodes] Similarity threshold between 0.0 and 1.0. Pairs scoring above this are returned. Default: 0.8.

Beispielanfrage

{"node_type": "Feature", "threshold": 0.8}

Beispielantwort

{"groups": [{"similarity": 0.92, "nodes": [{"id": "uuid-1", "label": "Auth Integration"}, {"id": "uuid-2", "label": "OAuth Integration"}]}]}