ReferenceKnowledge graph
Traverse from an entity
Walks outward from an entity.
max_hops is clamped to 1–6 — deep traversals on a dense graph are expensive and rarely more useful than a focused query.
x-api-key<token>
A platform key (ck_live_…) — reaches every memory in the tenant.
In: header
Path Parameters
entity_id*string
Query Parameters
max_hops?integer
Range
1 <= value <= 6Default
2relationship_types?array<string>
Response Body
application/json
curl -X GET "https://example.com/api/v1/memory/graph/explore/ent_acme_corp?relationship_types=WORKS_AT&relationship_types=MENTIONED_IN"{ "nodes": [ { "entity_id": "string", "name": "string", "type": "string", "attributes": {}, "community_id": 0, "centrality": 0.1, "document_count": 0 } ], "edges": [ { "source": "string", "target": "string", "type": "string", "weight": 0.1 } ]}Was this page helpful?Report an issue