Skip to main content
Add a memory node to a cube. The node is vectorized for later semantic search and edge wiring.

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
Node type (text / tool_trace / persona / skill); server default when omitted.
string
required
Node content text.
integer
Tier (1–4).
string
Source type (document / chunk / session / wiki).
string
Source object id.

Response

string
New node id (node_...).

Example