POST /v1/memory/search
Request body
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | ✅ | User to search memories for |
query | string | ✅ | Search query |
app_id | string | Filter to a specific application | |
workspace_id | string | Filter to a specific workspace or team | |
agent_id | string | Filter to a specific agent | |
category | string | Filter by memory category (e.g. preference, fact, instruction) | |
top_k | integer | Number of results to return (default: 10) |