Search notes by criteria
Search View as Markdown
GET/api/search/note
Returns matching notes within joined projects. result=ids returns all matching note ids; result=items returns paged display summaries. Multiple tag values are OR-ed. The literal value "none" means the note has no tags. WIP notes are included by default (includeWip=false to exclude).
Parameters
projectId"@all" | integerqueryRequired- A project ID, or
@allfor every open project you belong to. qstringquery- Keywords to search for in the note title and body (up to 200 characters). Separate keywords with spaces (up to 5); a note must match all of them.
tagIdsstringquery- Comma-separated tag IDs (up to 100).
nonematches notes without tags. tagModeand | excludequery- How to apply
tagIds.andreturns notes that have any of the tags;excludereturns notes that do not. Defaults toand. includeWip0 | 1 | true | falsequery- Whether to include work-in-progress notes:
true,false,1or0. Defaults totrue. resultids | itemsquery- Shape of the response.
idsreturns matching note IDs;itemsreturns note summaries, 30 per page. Defaults toids. pageintegerquery- Page number, starting at 1. Used only when
resultisitems.
Responses
200Matching notes ({ noteIds, truncated } or { items, hasMore })400Invalid query401Authentication is required