POST /api/extract
Turns a block of text into atomic memory candidates. Stateless: nothing is stored. Without an Anthropic key it uses a local, deterministic extractor; with one, the same route calls Claude.
request
curl -X POST https://memo.uno/api/extract \
-H "Content-Type: application/json" \
-d '{"text":"I maintain Memo. We always run typecheck and tests before deploying."}'response
{
"engine": "local",
"memories": [
{ "content": "Maintains Memo.", "category": "fact", "importance": 0.62 },
{ "content": "Always runs typecheck and tests before deploying.", "category": "preference", "importance": 0.85 }
],
"ms": 12
}textNotes
Required, 8–8,000 characters.
Rate limit
Notes
30 per hour per IP.
POST /api/ask
Answers a question using only the memories you pass in. The route retrieves nothing itself, which makes it usable from any client that already has results.
request
curl -X POST https://memo.uno/api/ask \
-H "Content-Type: application/json" \
-d '{
"query": "What are our deploy rules?",
"context": ["Deploy only after typecheck and tests pass.", "Deploys run from main."]
}'response
{ "engine": "claude", "model": "claude-opus-5-5", "answer": "Deploy from main only after typecheck and tests pass. [1][2]", "usage": { "input_tokens": 412, "output_tokens": 48 } }- Up to 12 context entries are used, each truncated to 500 characters.
- Without a key, or if the model declines or is unavailable, a local answer is returned and
engineislocal. - Rate limit: 40 per hour per IP.
GET /api/status
Public, no authentication. Useful as a health check in scripts and in the CLI status command.
response (shape)
{
"ok": true,
"engine": "local",
"model": null,
"aiConfigured": false,
"database": true,
"storage": "postgres",
"auth": "sessions",
"layers": ["personal", "code"],
"mcp": true,
"embedding": { … },
"version": "0.10.1",
"time": "2026-11-22T09:00:00.000Z"
}Safe to poll
/api/status never exposes memory, account data or configuration values — only which subsystems are live.