Getting Started
REST API Quick Start
Talk to MetaMemory directly from any HTTP client.
Last updated: March 2026
Authentication
Every request needs Authorization: Bearer YOUR_API_KEY. Get your key from the dashboard after signing in.
Store a Memory
curl -X POST https://api.metamemory.tech/v1/memories \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "Prefers TypeScript with strict mode enabled.",
"userId": "alex"
}'Search Memories
curl -X POST https://api.metamemory.tech/v1/memories/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "What language does the user prefer?",
"strategy": "auto",
"limit": 5
}'strategy: "auto" activates the adaptive pipeline. You can also pass"semantic", "temporal", or "fused" to force a specific retrieval mode.
Get / Delete by ID
curl https://api.metamemory.tech/v1/memories/<id> \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X DELETE https://api.metamemory.tech/v1/memories/<id> \
-H "Authorization: Bearer YOUR_API_KEY"Check Usage
curl https://api.metamemory.tech/v1/account/usage \
-H "Authorization: Bearer YOUR_API_KEY"