v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v2
admin
admin
memory

Get Graph

Single-shot graph payload for the visualizer canvas.

Returns nodes + edges in one round-trip so the frontend can hand the whole thing to a force-directed layout without N+1 fetches.

Defaults to entities + communities (the "what does my memory know about" view). include_episodes=True adds the temporal :Episodic nodes — useful for debugging extraction but noisy for the typical inspector view.

get/api/admin/memory/{user_id}/graph

Path parameters

user_idstring required

User id or 'me'

User id or 'me'

Query parameters

node_limitinteger
edge_limitinteger
include_episodesboolean
include_communitiesboolean

Response

Successful Response

user_idstring required
group_idstring required
truncatedboolean

True when the result was capped by node_limit / edge_limit. Frontend should surface this so the user knows they're not seeing the full graph.