API Reference
The mem0-compatible REST endpoints.
Authenticate every request with Authorization: Bearer fm_.... The API is
mem0-compatible, so existing mem0 clients work with a base-URL change.
| Method & path | Purpose |
|---|---|
POST /v1/memories | Add memories |
GET /v1/memories?user_id=… | List by scope |
POST /v1/memories/search | Search |
GET /v1/memories/{id} | Fetch one |
PUT /v1/memories/{id} | Update content / metadata |
DELETE /v1/memories/{id} | Delete one |
GET /v1/memories/{id}/history | Change log (ADD / UPDATE / INVALIDATE / DELETE) |
Credits: inferred add 2 · raw add 1 · search 1 · reads free. 1000 credits ≈ $1.
A full OpenAPI playground is on the roadmap.