Skip to content

feat: Server API parity — missing endpoints #105

Closed

Description

@ajianaz

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 /remember accepts optional fields: type, valid_from, valid_until, detect_contradiction
  • POST /remember returns created memory metadata (not just ID)

Behavior

  • All new endpoints return proper JSON responses
  • Error responses use consistent format {"error": "message"}
  • --help on uteke-serve documents all endpoints

Depends On

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

  1. added 6 commits that reference this issue on Jun 1, 2026
    66820c3
    e38b33c
    0b5b4f8
    b0b5bdf
    9789ea1
    32b9890
  2. added 2 commits that reference this issue on Jun 1, 2026
    fd40954
    777bf12
  3. added a commit that references this issue on Aug 13, 2026
    2609c06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:coretype:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions