Memorylayer exposes a hosted service surface around the Engram engine: workspace API keys, agent bootstrap, an HTTP MCP bridge, downloadable starter skills, and regular JSON endpoints for the memory lifecycle.
Status, search, remember, recent memory, audit history, usage tracking, and bootstrap.
One authenticated endpoint for a focused set of Engram tools.
Markdown skills for Codex or Claude-style memory workflows.
All workspace API routes accept a workspace key in either `Authorization: Bearer` or `X-API-Key`.
Use one workspace call to discover the rest of the integration surface.
These are the main hosted routes an agent or service uses day to day.
GET /api/workspaces/{slug}/status
Workspace memory counts and graph stats.
POST /api/workspaces/{slug}/search
Run hosted retrieval without touching the underlying Engram runtime directly.
POST /api/workspaces/{slug}/remember
Store new narrative, fact, or procedure memories.
GET /api/workspaces/{slug}/memories/recent
Load the last memories written to the workspace.
GET /api/workspaces/{slug}/audit
Inspect workspace-level key usage and memory activity.
GET /api/workspaces/{slug}/usage
Read per-key API activity, route counts, and the latest service calls.
POST /api/workspaces/{slug}/mcp
Call selected Engram tools through one hosted bridge.
The hosted bridge intentionally exposes a smaller, reliable subset of Engram.
Return workspace-level memory counts and graph stats.
Run the main Engram retrieval flow against the workspace.
Load the most recent memories for the workspace.
Store a new memory in the workspace.
Store an explicit decision and rationale.
Update project-level state for the workspace.
Generate a brief about the most relevant memory context for a task.
Identify dense or high-interest areas in the memory graph.
Compare how two queries retrieve and overlap.
These skills are available as JSON or plain markdown for agent bootstrapping.
Use the hosted workspace memory service for project recall, remember, and recent context.
Capture the minimum high-value handoff state before stopping work.