These endpoints query your knowledge graphs. For the full parameter reference, see Search Basics.Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
GET /api/v1/recall — Retrieve recall history for the authenticated user.
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.
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.