mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-11 03:37:56 +00:00
Renames v5 `attach` to `include`. GET routes take one comma-separated `include` query param (`?include=chunks,memories`); search takes every option in the JSON body, with `include` as an object of booleans. Also fixes the `forgotten` description: it does let forgotten memories come back as primary results. Pairs with supermemoryai/mono#3410.
12 lines
605 B
Text
12 lines
605 B
Text
---
|
|
title: "Search"
|
|
sidebarTitle: "Overview"
|
|
description: "Recall the most relevant memories and source context"
|
|
icon: "book-open"
|
|
---
|
|
|
|
`POST /ns/{namespace}/search` recalls the most useful memories and source chunks for a query. Hybrid search combines both by default; set `searchMode` to `memories` or `chunks` when your experience needs one result type.
|
|
|
|
Every option goes in the JSON request body: `query`, `searchMode`, `limit`, `threshold`, `filter`, `include`, `rerank`, and `rewriteQuery`.
|
|
|
|
See [search migration](/migration/api-v5-recall) and [typed filter migration](/migration/api-v5-filters).
|