Skip to main content

Memory API

List Memory Entries

Response:

Get Memory Tags

Returns the most frequent tags across all memory types with their counts.

Search Memory

Response:
results and scores are aligned by index.

Create Memory Entry

Delete Memory Entry

Memory Command Center

Get the full memory system health and diagnostics snapshot for the Settings UI. Memory Labs is experimental and off by default (MYRM_MEMORY_LABS on the server, NEXT_PUBLIC_MEMORY_LABS=1 for the WebUI). The /memory/command-center* routes are mounted only then, except GET /memory/command-center/graph and GET /memory/command-center/evidence/playback, which the default Journey graph tab and memory evidence drawer use and which are always mounted.
Response includes: overview statistics, memory spaces, governance items, health diagnostics, timeline events, migration status, runtime configuration, and more. When project_id is provided, the spaces, governance, and timeline sections are filtered to show only data related to that project’s SharedContext bindings. Empty strings are normalized to the global view.

Learning & Evolution Timeline API

Unified memory and skill lifecycle chronological stream with inline governance.

Get Unified Learning Timeline

Response:
total_count is the number of nodes matching all filters (each source contributes at most its 500 newest records). Skill nodes carry metadata.manageable, metadata.archived and metadata.pinned. An invalid cursor or kind_filter returns 400. is_user_protected is true when the user protects the memory (pinned, or a locked procedural rule). source_chat_id is the conversation a memory was extracted from. Procedural rules carry no importance score, so their importance is a placeholder.

Update Timeline Memory Item

:memory_type is the node’s metadata.memory_type (semantic, episodic or procedural).
importance is optional and only applied when supplied. An edit protects the memory: procedural rules are locked and semantic/episodic memories are pinned, so automated forgetting, merging and rewriting skip them. Memory items report this protection as is_user_locked: true. Returns 404 when the memory does not exist and 400 for rejected content.

Delete Timeline Memory Item

Semantic and episodic memories are archived (recoverable from the memory trash via POST /api/v1/memory/trash/:id/restore); procedural rules are removed permanently.

Archive / Restore Timeline Skill

active=false archives the skill, active=true restores it. Pinned skills return 409; unknown skills return 404.

Memory Command Center: Long-Horizon Economics Profiler

Available only when Memory Labs is enabled.
Response: