supermemory/apps/docs/recall
sohamd22 ca89d161cc docs(api): move v5 search and ingest options into the request body (#1808)
Fixes v5 search and recall docs that didn't match the API.

- **Options in the URL.** Search examples passed `searchMode`/`limit` as query params, and ingest examples passed `dreaming`/`taskType` the same way. v5 rejects every query param on these routes with `400`. They now go in the JSON body (quickstart, rules, super-rag, recall/search).
- **`include`, not `attach`.** Renamed the search option. Its `forgotten` flag also admits forgotten memories into the main results, not just related context.
- **Search response.** Added the required `isInference`. `metadata` is always an object, and `system.createdAt` is optional.
- **Search add-ons are billed.** `rewriteQuery` and `rerank` each bill one extra operation; the docs said "no extra cost".
- **Removed claims that don't match current behavior:**
  - inferred memories being down-weighted in search;
  - AST code chunking via `code-chunk` (super-rag now describes how chunking actually works);
  - a 64-character metadata key limit.
- **Smaller fixes:**
  - The namespace is the SDK's first argument; the docs called it a top-level key.
  - "No v5 Python SDK" was stale.
  - Memory review: `total` semantics, the internal review stamp, and the missing 403.

Checked against the current API and the published SDKs (TS 5.0.1, Python 5.0.0). Legacy v3/v4 docs are unchanged apart from factual fixes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-10-15 18:52:40 +00:00
..
memory-operations.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
memory-review.mdx docs(api): move v5 search and ingest options into the request body (#1808) 2026-10-15 18:52:40 +00:00
search.mdx docs(api): move v5 search and ingest options into the request body (#1808) 2026-10-15 18:52:40 +00:00
user-profiles.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00