Recall
POST /api/v1/recall — Retrieve information from the knowledge graph.
Auto-routes the query to the best retrieval strategy. This is the primary search endpoint.
include_references boolean (default true). When enabled, completion-style answers get a deterministic Evidence: block appended to the answer text, citing the source chunks or graph context. The response schema is unchanged. Set include_references to false to restore the exact prior answer text.
GET /api/v1/recall — Retrieve recall history for the authenticated user.
Recall prerequisites
Recall reads from an existing knowledge graph — it does not create one. Before recall (or search) returns anything, the dataset must already be ingested and processed:POST /api/v1/remember, orPOST /api/v1/addfollowed byPOST /api/v1/cognify.
A
200 response with an empty list can mean you lack read access to the dataset, not only that the dataset is empty. Confirm the dataset name and your permissions if recall returns [] unexpectedly.Search
POST /api/v1/search — Search for nodes in the graph database.
Provides direct control over the retrieval strategy. Accepts a search_type parameter to select a specific search mode.
include_references boolean (default true), which behaves the same as on POST /api/v1/recall: it appends an Evidence: block to completion-style answer text. Set it to false to disable.
GET /api/v1/search — Retrieve search history for the authenticated user.
Visualize
GET /api/v1/visualize — Generate an HTML visualization of a dataset’s knowledge graph.
Requires a dataset_id query parameter (UUID). Returns a self-contained HTML page with an interactive graph.
POST /api/v1/visualize/multi — Generate a combined visualization from multiple users’ datasets.
recall is recommended for most use cases. Use search when you need to specify a particular retrieval strategy.