Graph Vis
Embeddable interactive graph explorer.
Returns a self-contained HTML page with an interactive knowledge graph visualization. The page fetches data from the REST API on load, so it works standalone in any browser or embedded in your application via an iframe.
Modes (pick one, or omit all for a random sample):
?query=Reactsearch for memories matching "React" and visualize their connections.?memory_ids=abc,defexplore the neighborhood around specific memories.- (no params) show a random sample of the graph.
Embedding: set search_bar=false to hide the top search bar for
a cleaner look when embedding in an iframe or dashboard.
Query Parameters
query?|
Search query to filter memories and show their connections.
memory_ids?|
Comma-separated memory IDs to explore their neighborhood.
depth?integer
How many hops to traverse from each seed node.
Default
2Range
1 <= value <= 5limit?integer
Maximum number of nodes to return.
Default
50Range
10 <= value <= 300search_bar?boolean
Show the search bar. Set to false for clean embedding (e.g. iframe).
Default
trueResponse Body
text/html
application/json
curl -X GET "http://127.0.0.1:14242/graph/vis""string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}