notes
Search notes
Searches encrypted titles, original text and the current AI-transformed
text using Klang's blind index. Requires an API key or notes:read.
Only the authenticated owner's notes are searched. Each result is verified
against decrypted text and snippets identify which version matched.
All terms must match within one version (including its title).
Supports quoted phrases and date filters from global search.
New saves may take time to appear in search. Listing and reading are immediate.
When workspace content search is disabled, enabled is false and results is empty.
Results are bounded; truncated is true when verification limits omit candidates.
GET
/api/v1/notes/search Query parameters
| qREQUIRED string | At least two characters for Latin text, one for CJK. Stopword-only queries return no results. |
Response fields
| enabled boolean | |
| truncated boolean | |
| results array of object | |
| ↳type "note" | |
| ↳id string · uuid | |
| ↳name string | Decrypted note title. |
| ↳created_at string · date-time | |
| ↳updated_at string · date-time | |
| ↳snippets array of object | |
| ↳text string | |
| ↳version "original" · "transformed" |