Repository navigation
Closed
Labels
Milestone
Description
Summary
Server API is missing several endpoints that exist in CLI. Add GET /memory, expand DELETE /forget, and add optional fields to POST /remember for better API parity.
Acceptance Criteria
New Endpoints
-
GET /memory?id=<uuid>— get single memory by ID -
DELETE /forget?all=true&namespace=<ns>&confirm=true— bulk delete all in namespace -
DELETE /forget?cold=true&namespace=<ns>— bulk delete cold memories
Expanded Endpoints
-
POST /rememberaccepts optional fields:type,valid_from,valid_until,detect_contradiction -
POST /rememberreturns created memory metadata (not just ID)
Behavior
- All new endpoints return proper JSON responses
- Error responses use consistent format
{"error": "message"} -
--helpon uteke-serve documents all endpoints
Depends On
- feat: UTEKE_HOME env var for custom data directory #95 (UTEKE_HOME)
- feat: uteke-serve reads uteke.toml config, default host 0.0.0.0 #96 (Server reads config)
Verification
uteke-serve &
# Remember with type
curl -X POST http://localhost:8767/remember \
-d '{"content":"deploy Friday","tags":["ops"],"type":"decision"}'
# Returns: {"id":"...","type":"decision",...}
# Get by ID
curl http://localhost:8767/memory?id=<id>
# Returns: {"id":"...","content":"deploy Friday","tags":["ops"],...}
# Bulk forget cold
curl -X "DELETE http://localhost:8767/forget?cold=true&namespace=default"
# Returns: {"deleted": 5}
Activity
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint
feat(server): API parity — expanded remember, GET /memory endpoint (#108
release: initial sync — main catches up to develop (#171)
feat(server): API parity — expanded remember, GET /memory endpoint (#108