Context
Get session context
Section titled “Get session context”POST /api/v1/contextContent-Type: application/jsonReturns ranked, contextually relevant nodes for a session.
Request body
Section titled “Request body”{ "focus_node_ids": ["node_id_1", "node_id_2"], "mode": "hybrid"}| Field | Type | Required | Description |
|---|---|---|---|
focus_node_ids | string[] | No | Node IDs to use as context anchors |
mode | string | No | Search mode: keyword, semantic, or hybrid |
Graph health
Section titled “Graph health”GET /api/v1/graph-healthReturns knowledge graph statistics:
{ "total_nodes": 156, "validated_nodes": 120, "total_captures": 200, "pending_captures": 3, "total_links": 450, "stale_nodes": 12}Link suggestions
Section titled “Link suggestions”GET /api/v1/links/suggestions?text=your+search+text| Parameter | Type | Description |
|---|---|---|
text | string | Text to find link suggestions for (max 10,000 chars) |
Returns suggested nodes that could be linked based on content similarity:
{ "suggestions": [ { "node_id": "abc123", "title": "Related concept", "score": 0.85 } ]}