Developers

Memory Runtime API

Default address http://127.0.0.1:18960. Once storage.token, MEMMY_MEMORY_TOKEN, or MEMORY_SERVICE_TOKEN is set, all endpoints except the health check require a bearer token.

MethodPathDescription
GET/api/v1/healthHealth check
POST/api/v1/sessions/openOpen an Agent session
POST/api/v1/sessions/:sessionId/closeClose a session
POST/api/v1/turns/startRecord a turn start
POST/api/v1/turns/:turnId/completeRecord a turn completion
POST/api/v1/memory/searchSearch memories
POST/api/v1/memory/addWrite a memory
GET/api/v1/memory/:idMemory details
DELETE/api/v1/memory/:idDelete a memory
GET/api/v1/panel/overviewPanel overview
GET/api/v1/panel/analysisMemory analytics
GET/api/v1/panel/itemsEntry list

Analysis metrics

GET /api/v1/panel/analysis returns metrics. metrics.recentlyUsedSkills counts recall hits and invocation records for skills whose current status is activated. The window covers the current calendar day and the six days before it, in the time zone resolved for the request. An event counts when its creation time falls in that window.

The same skill ID counts once inside one recall. Separate recalls and invocations count again. The value is a usage total, not a count of distinct skills or of recently edited skill records. Editing a skill alone does not increase it.

Local Storage Configuration

memmyMemory is a flat config. activeProfile and profiles belong to the old layout; the current runtime rejects a config that still contains either field.

memmyMemory:
  version: 1
  roleRouting:
    summary: follow
    evolution: follow
  storage:
    mode: local
    backend: sqlite
    sqlitePath: ~/.memmy/memory-service/memory.sqlite
    endpoint: http://127.0.0.1:18960
    token: local-token
  embedding:
    provider: local
    mode: local

On this page