130 lines
4.9 KiB
Markdown
130 lines
4.9 KiB
Markdown
# agentmemory REST API reference
|
|
|
|
Generated from `src/triggers/api.ts`. Do not edit the block below by hand; run `npm run skills:gen` after changing the registered endpoints.
|
|
|
|
<!-- AUTOGEN:rest START - generated by scripts/skills/generate.ts, do not edit by hand -->
|
|
The REST API is the primary surface. All paths are under `http://localhost:3111` (override with `--port`). When `AGENTMEMORY_SECRET` is set, send `Authorization: Bearer $AGENTMEMORY_SECRET`; localhost is otherwise open.
|
|
|
|
117 registered endpoints:
|
|
|
|
| Method | Path |
|
|
| --- | --- |
|
|
| POST | `/agentmemory/actions` |
|
|
| POST | `/agentmemory/actions/edges` |
|
|
| GET | `/agentmemory/actions/get` |
|
|
| POST | `/agentmemory/actions/update` |
|
|
| GET | `/agentmemory/audit` |
|
|
| POST | `/agentmemory/auto-forget` |
|
|
| GET | `/agentmemory/branch/detect` |
|
|
| GET | `/agentmemory/branch/sessions` |
|
|
| GET | `/agentmemory/branch/worktrees` |
|
|
| POST | `/agentmemory/cascade-update` |
|
|
| POST | `/agentmemory/checkpoints` |
|
|
| POST | `/agentmemory/checkpoints/resolve` |
|
|
| GET | `/agentmemory/claude-bridge/read` |
|
|
| POST | `/agentmemory/claude-bridge/sync` |
|
|
| GET | `/agentmemory/commits` |
|
|
| POST | `/agentmemory/compress-file` |
|
|
| GET | `/agentmemory/config/flags` |
|
|
| POST | `/agentmemory/consolidate` |
|
|
| POST | `/agentmemory/consolidate-pipeline` |
|
|
| POST | `/agentmemory/context` |
|
|
| GET | `/agentmemory/crystals` |
|
|
| POST | `/agentmemory/crystals/auto` |
|
|
| POST | `/agentmemory/crystals/create` |
|
|
| POST | `/agentmemory/diagnostics` |
|
|
| GET | `/agentmemory/diagnostics/followup` |
|
|
| POST | `/agentmemory/diagnostics/heal` |
|
|
| POST | `/agentmemory/enrich` |
|
|
| POST | `/agentmemory/evict` |
|
|
| POST | `/agentmemory/evolve` |
|
|
| GET | `/agentmemory/export` |
|
|
| POST | `/agentmemory/facets` |
|
|
| POST | `/agentmemory/facets/query` |
|
|
| POST | `/agentmemory/facets/remove` |
|
|
| GET | `/agentmemory/facets/stats` |
|
|
| POST | `/agentmemory/file-context` |
|
|
| POST | `/agentmemory/flow/compress` |
|
|
| POST | `/agentmemory/forget` |
|
|
| GET | `/agentmemory/frontier` |
|
|
| POST | `/agentmemory/generate-rules` |
|
|
| POST | `/agentmemory/governance/bulk-delete` |
|
|
| DELETE | `/agentmemory/governance/memories` |
|
|
| POST | `/agentmemory/graph/build` |
|
|
| POST | `/agentmemory/graph/extract` |
|
|
| POST | `/agentmemory/graph/query` |
|
|
| POST | `/agentmemory/graph/reset` |
|
|
| POST | `/agentmemory/graph/snapshot-rebuild` |
|
|
| GET | `/agentmemory/graph/stats` |
|
|
| GET | `/agentmemory/health` |
|
|
| POST | `/agentmemory/import` |
|
|
| GET | `/agentmemory/insights` |
|
|
| POST | `/agentmemory/insights/search` |
|
|
| POST | `/agentmemory/leases/acquire` |
|
|
| POST | `/agentmemory/leases/release` |
|
|
| POST | `/agentmemory/leases/renew` |
|
|
| POST | `/agentmemory/lessons` |
|
|
| POST | `/agentmemory/lessons/search` |
|
|
| POST | `/agentmemory/lessons/strengthen` |
|
|
| GET | `/agentmemory/livez` |
|
|
| GET | `/agentmemory/memories` |
|
|
| GET | `/agentmemory/memories/:id` |
|
|
| GET | `/agentmemory/mesh/export` |
|
|
| POST | `/agentmemory/mesh/peers` |
|
|
| POST | `/agentmemory/mesh/receive` |
|
|
| POST | `/agentmemory/mesh/sync` |
|
|
| POST | `/agentmemory/migrate` |
|
|
| GET | `/agentmemory/next` |
|
|
| GET | `/agentmemory/observations` |
|
|
| POST | `/agentmemory/observe` |
|
|
| POST | `/agentmemory/obsidian/export` |
|
|
| POST | `/agentmemory/patterns` |
|
|
| GET | `/agentmemory/procedural` |
|
|
| GET | `/agentmemory/profile` |
|
|
| POST | `/agentmemory/reflect` |
|
|
| POST | `/agentmemory/relations` |
|
|
| POST | `/agentmemory/remember` |
|
|
| POST | `/agentmemory/replay/import-jsonl` |
|
|
| GET | `/agentmemory/replay/load` |
|
|
| GET | `/agentmemory/replay/sessions` |
|
|
| POST | `/agentmemory/routines` |
|
|
| POST | `/agentmemory/routines/run` |
|
|
| GET | `/agentmemory/routines/status` |
|
|
| POST | `/agentmemory/search` |
|
|
| GET | `/agentmemory/semantic` |
|
|
| POST | `/agentmemory/sentinels` |
|
|
| POST | `/agentmemory/sentinels/cancel` |
|
|
| POST | `/agentmemory/sentinels/check` |
|
|
| POST | `/agentmemory/sentinels/trigger` |
|
|
| GET | `/agentmemory/session/by-commit` |
|
|
| POST | `/agentmemory/session/commit` |
|
|
| POST | `/agentmemory/session/end` |
|
|
| POST | `/agentmemory/session/start` |
|
|
| GET | `/agentmemory/sessions` |
|
|
| GET | `/agentmemory/signals` |
|
|
| POST | `/agentmemory/signals/send` |
|
|
| POST | `/agentmemory/sketches` |
|
|
| POST | `/agentmemory/sketches/add` |
|
|
| POST | `/agentmemory/sketches/discard` |
|
|
| POST | `/agentmemory/sketches/gc` |
|
|
| POST | `/agentmemory/sketches/promote` |
|
|
| GET | `/agentmemory/slot` |
|
|
| POST | `/agentmemory/slot/append` |
|
|
| POST | `/agentmemory/slot/reflect` |
|
|
| POST | `/agentmemory/slot/replace` |
|
|
| GET | `/agentmemory/slots` |
|
|
| POST | `/agentmemory/smart-search` |
|
|
| POST | `/agentmemory/snapshot/create` |
|
|
| POST | `/agentmemory/snapshot/restore` |
|
|
| GET | `/agentmemory/snapshots` |
|
|
| POST | `/agentmemory/summarize` |
|
|
| GET | `/agentmemory/team/feed` |
|
|
| GET | `/agentmemory/team/profile` |
|
|
| POST | `/agentmemory/team/share` |
|
|
| POST | `/agentmemory/timeline` |
|
|
| POST | `/agentmemory/verify` |
|
|
| GET | `/agentmemory/viewer` |
|
|
| POST | `/agentmemory/vision-embed` |
|
|
| POST | `/agentmemory/vision-search` |
|
|
<!-- AUTOGEN:rest END -->
|