merge_nodes
mutationSince v1.0Merge duplicate nodes into a single node. All relationships from merged nodes are redirected to the kept node. The merged nodes are then deleted. Use find_similar_nodes to identify candidates.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
keep_node_id | String | ✓ | [merge_nodes] UUID of the node to keep after the merge. Required. |
Example Request
{"keep_node_id": "uuid-1", "merge_node_ids": ["uuid-2", "uuid-3"], "property_strategy": "keep_longest"}Example Response
{"success": true, "operation_count": 5, "versions": [49, 50, 51, 52, 53]}