Skip to main content
Nowledge MemNowledge Mem

API Reference

RESTful API for Nowledge Mem — memories, threads, knowledge graph, and more.

The Nowledge Mem server exposes a local REST API on port 14242. Every feature in the desktop app and MCP tools uses these same endpoints, so you can build your own connectors, scripts, and automations on top of the same data.

Base URL: http://127.0.0.1:14242


Graph Visualization

Open an interactive, force-directed knowledge graph right in your browser — no desktop app required.

Checking local server…

Memories

Create, search, and manage your knowledge base.

Count semantics

Counts are reported per lifecycle state, so different views can differ without anything being lost. On /stats, memory_count is the active working set (what /memories returns by default and what the Memories page shows). The full picture is broken out as memory_archived_count (superseded and retired memories, kept in history), memory_stored_count (active + archived), and crystal_count (synthesized summaries, counted separately). The /memories state query param selects the lens: active (default), archived, or all.

Knowledge Extraction

Extract entities and relationships from memory content into the knowledge graph.

Distillation

Turn conversation threads into structured memories.

Threads

Import, search, and manage conversation threads from Claude Code, Codex, Cursor, and more.

Session Import

Auto-discover and import coding sessions from AI assistants.

Import Configuration & Watcher

Background Intelligence

The background agent that runs daily briefings, crystallization, insight detection, and more.

Agent Triggers

Manually trigger agent tasks that normally run on a schedule.

Feed Events

The event stream powering the desktop Feed view.

Nowledge FS

Browse Mem as a path-first tree for scripts, web clients, and agents.

Spaces

Manage shared space profiles and discover the current roster across clients.

Sources (Library)

Ingest files, URLs, and documents into the knowledge base.

Ingestion

Graph Analysis & Maintenance

Advanced graph operations — community detection, centrality, orphan cleanup.

Labels & Organization

Favorites

Skills

Procedural memory: skills born from your evidence, proven before they run, sharpened with use.

Entities & Communities

Models & Search Index

Manage the embedding models and search infrastructure.

Storage & Data

System

Embeddings (OpenAI-compatible)

Drop-in replacement for OpenAI's embedding API, powered by the local model.

On this page