# SDK: Simpler search in the TypeScript SDK

[Changelog](https://supermemory.ai/changelog) · [SDK](https://supermemory.ai/changelog/sdk)

SDKJuly 20, 2026

## Simpler search in the TypeScript SDK[#](https://supermemory.ai/changelog/simpler-search)

Call client.search() once instead of client.search.memories() and client.search.documents(). Pass searchMode to return memories, documents, or both.

One call replaces the nested memories and documents search methods.

### Improvements

* [Pass searchMode as memories, documents, or hybrid on the same client.search() call.](https://supermemory.ai/docs/search)
* [Existing client.search.memories() and client.search.documents() calls keep working.](https://github.com/supermemoryai/sdk-ts)

```
const memories = await client.search({
  q: 'What did we decide about pricing?',
  searchMode: 'memories',
})

const documents = await client.search({
  q: 'onboarding checklist',
  searchMode: 'documents',
})

const both = await client.search({
  q: 'Simpler search!',
  searchMode: 'hybrid',
})
```

## Start building with supermemory.

Memory and continual learning for any model, any harness. Available through our API, plugins, and MCP.

[Build with supermemory ](https://console.supermemory.ai/)
