The hosted backend at https://mnueron.com exposes a small REST surface.
Every endpoint requires a bearer token (Authorization: Bearer mnu_...)
issued at /account-settings/tokens.
| Method | Path | What it does |
|---|---|---|
| POST | /api/memories | Save a memory |
| GET | /api/memories | List + search memories. Supports query, namespace, date range, metadata filter, paging. |
| GET | /api/memories/:id | Single memory |
| PATCH | /api/memories/:id | Partial update with history audit |
| DELETE | /api/memories/:id | Remove (RLS-scoped) |
| POST | /api/memories/search/bulk | Multiple queries in one round-trip |
| GET | /api/namespaces | List user namespaces |
| GET | /api/stats | total / namespaces / latest |
| GET | /api/threads | Group memories by parent_ref |
| GET | /api/webhooks | List webhook endpoints |
| POST | /api/webhooks | Create endpoint (returns secret once) |
| GET | /api/auth/tokens | List your API tokens |
| POST | /api/auth/tokens | Issue a new token |
| GET | /api/health | Liveness probe (no auth) |
All responses are JSON. Errors use { "error": "message" } with the
appropriate HTTP status code.