Basic search
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query | str | required | Natural language search query |
limit | int | 5 | Maximum results to return |
graph_depth | int | 2 | How many hops to traverse in the knowledge graph |
user_id | str | ”default” | User whose memories to search |
filters | dict | None | Metadata key-value filters |
Metadata filters
Filter search results by metadata stored on entities. Uses PostgreSQL JSONB containment (@>) for fast filtering with GIN indexes.