Skip to content

Memory API

Stats

GET /v1/memory/stats

Response

json
{
  "short": 12,
  "mid": 45,
  "long": 128
}

Search Memories

GET /v1/memory/search?q=query&layer=all&limit=10

Add Memory

POST /v1/memory/add
Content-Type: application/json
json
{
  "layer": "long",
  "content": "User prefers concise answers",
  "tags": ["preference"]
}

© 2025 云鸢科技(青岛)有限公司 × Dream Lab