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

string
required
UUID of the starting memory.

Query Parameters

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

Response (200 OK)

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

Example

Response