Skip to main content

REST API Reference

The server exposes the MemoryBackend operations over HTTP+JSON. Core routes (confirm exact shapes in the live Swagger):

Method · PathOperation
POST /v1/storescreate a store
POST /v1/stores/{id}/writewrite a memory
POST /v1/stores/{id}/retrieveretrieve within a token budget
POST /v1/stores/{id}/deletehard-delete (if HARD_DELETE)
GET /v1/stores/{id}/auditthe immutable record
GET /v1/stores/{id}/capabilitiesdeclared capability set
GET /healthliveness + version

Live Swagger: https://grafomem-production.up.railway.app/docs

Source: src/aml/server/app.py (OpenAPI)