Skip to main content
GET
Memory Graph
This endpoint requires wallet authentication for identity. It is free — no payment required.
Price: FREE Traverse the knowledge graph of related memories. Returns connected memories up to N hops away, with relationship edges. This endpoint helps visualize and explore how memories relate to each other through the relations API.

Path Parameters

id
string
required
UUID of the starting memory.

Query Parameters

depth
number
Maximum hops to traverse. Default: 2. Max: 5.
limit
number
Maximum total memories to return. Default: 50. Max: 200.
relation_types
string
Comma-separated list of relation types to include: related_to, derived_from, contradicts, supersedes, supports.

Response (200 OK)

root
object
The starting memory.
nodes
array
All memories discovered in the graph traversal.
edges
array
Relationships between memories.
depth
number
Actual depth traversed.

Example

Response