Links
Update links
Section titled “Update links”PATCH /api/v1/nodes/:id/linksContent-Type: application/jsonSet the links for a node. This is a full replacement — existing links not in the request are removed.
Request body
Section titled “Request body”{ "links": [ { "target_id": "node_abc", "type": "related" }, { "target_id": "node_def", "type": "related" } ]}Links are bidirectional — creating a link from A to B also creates the reverse link.
Get related nodes
Section titled “Get related nodes”GET /api/v1/nodes/:id/relatedReturns 1-hop graph neighbors of the specified node.
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | number | — | Max results (1-500) |
{ "nodes": [ { "id": "node_abc", "title": "Related concept", "summary": "Brief description", "relationship_type": "related" } ]}