REST API Reference
The server exposes the MemoryBackend operations over HTTP+JSON. Core routes (confirm exact shapes in the live Swagger):
| Method · Path | Operation |
|---|---|
POST /v1/stores | create a store |
POST /v1/stores/{id}/write | write a memory |
POST /v1/stores/{id}/retrieve | retrieve within a token budget |
POST /v1/stores/{id}/delete | hard-delete (if HARD_DELETE) |
GET /v1/stores/{id}/audit | the immutable record |
GET /v1/stores/{id}/capabilities | declared capability set |
GET /health | liveness + version |
Live Swagger: https://grafomem-production.up.railway.app/docs
Source: src/aml/server/app.py (OpenAPI)