Getting Started
Your First Memory
Write a memory and recall it — the smallest end-to-end flow.
A memory is natural-language content plus structured fields the platform infers asynchronously (entities, embeddings, etc.). Code blocks below auto-target this deployment's host.
Write
curl -X POST "https://memclaw.net/api/v1/memories" \
-H "X-API-Key: mc_xxx" \
-H "Content-Type: application/json" \
-d '{
"tenant_id": "YOUR_TENANT_ID",
"agent_id": "my-agent",
"content": "The user prefers concise answers and dark mode."
}'
The response shape (and the exact set of returned fields) is defined in the OpenAPI spec — see the API reference.
Recall
curl -X POST "https://memclaw.net/api/v1/recall" \
-H "X-API-Key: mc_xxx" \
-H "Content-Type: application/json" \
-d '{ "tenant_id": "YOUR_TENANT_ID", "query": "UI preferences" }'
Recall is hybrid (semantic + keyword) — the memory pipeline page covers what the search blends together. For non-semantic browse use memclaw_list; for read-by-id use memclaw_manage op=read.