Nowledge Mem API
RESTful API Reference for Nowledge Mem.
Health Check
Health check endpoint.
List Labels
List all labels with usage counts.
Create Label
Create a new label.
Get Label
Get a specific label by ID.
Delete Label
Delete a label and all its relationships.
Update Label
Update an existing label.
Get Memory Labels
Get labels assigned to a memory.
Assign Label To Memory
Assign a label to a memory.
Remove Label From Memory
Remove a label from a memory.
Toggle Memory Favorite
Toggle memory favorite status.
Toggle Thread Favorite
Toggle favorite status for a thread.
Get Favorite Memories
Get all favorite memories.
Get Favorite Threads
Get all favorite threads.
Search Memories
Memory search with filtering, metadata, and reasoning support.
List Memories
List memories with filtering and pagination.
Create Memory
Create a new memory with automatic entity extraction.
Get Memory
Get a specific memory by ID with associated labels.
Update Memory
Update memory properties like importance, title, and content.
Delete Memory
Delete a memory and optionally its relationships.
Export Memory
Export a memory in various formats.
Preview Memory Kg Extraction
Preview knowledge graph extraction for a memory. This endpoint extracts entities and relationships from a memory's content using the local LLM, pro...
Apply Memory Kg Extraction
Apply knowledge graph extraction results to a memory. This endpoint saves the extracted entities and relationships to the graph database and update...
Reindex Memories Bulk
Reindex multiple memories or all memories needing reindex. This endpoint can work for both single and bulk reindexing: - If memory_ids is provided:...
Get Reindex Status
Get status of memories needing reindex.
Get Thread Summaries
Get all thread titles/summaries.
Search Threads Full
Full thread search with message matching.
Append Messages To Thread
Append messages to existing thread (for MCP integration). Supports two modes: 1. Direct messages: 2. File-based:
List Threads
List threads with filtering and pagination.
Create Thread
Create a new thread with messages.
Get Thread
Get a complete thread with messages.
Delete Thread
Delete a thread and optionally its extracted memories.
Get Thread Coverage
Read-only coverage report for debugging progress issues.
Export Thread
Export a thread in various formats.
List Entities
List entities with optional filtering.
Get Entity Relationships
Get relationships for a specific entity. Returns all connected entities and memories via RELATES_TO and MENTIONS relationships.
Distill Memories From Thread
Create memories from thread content after distillation. This endpoint actually creates memories in the database based on the distillation type. For...
Preview Distillation
Preview distillation results without creating memories in the database. This endpoint processes content and returns distilled data for user review ...
Parse Thread Content
Parse thread content from various formats.
Search Graph
Enhanced graph search that finds relevant content and builds visualization data.
Get Graph Data
Get graph data for visualization.
Expand Neighbors
Expand neighbors of a specific node to get connected nodes and edges with depth-based traversal.
Get Graph Analysis
Get comprehensive graph analysis including community and centrality metrics. This endpoint provides a complete overview of the graph structure, com...
Graph Analysis Health
Health check for graph analysis service. Returns the status of algo extension and graph analysis capabilities.
Get Augmentation State
Get the current graph augmentation state. Returns information about which augmentations are currently applied, their parameters, and the last augme...
Start Augmentation Job
Start a background augmentation job. Supports job types: - 'community_detection': Apply Louvain community detection - 'pagerank_calculation': Apply...
Get Job Status
Get the status of a specific augmentation job. Returns job progress, status, and any error messages.
List Augmentation Jobs
List recent augmentation jobs. Optionally filter by status (pending, running, completed, failed).
Parse Bulk Export
Parse all threads from a bulk export file. This endpoint parses the export file and returns summaries of all threads found. The full thread content...
Import Bulk Threads
Import selected threads from a bulk export. This endpoint starts a background import job and returns immediately. Use the job_id to poll for progress.
Get Import Status
Get the status of a bulk import job.