Skip to main content
Wire an edge with a relation and weight between two nodes in a memory cube, building the memory graph.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: contributor.

Path parameters

string
required
Workspace id.
string
required
Cube id.

Request body

string
required
Source node id.
string
required
Target node id.
string
Relation label (e.g. related_to, causes).
number
Edge weight.

Response

boolean
Always true (added).

Example