Search memos
POST /v1/search
Runs full-text and semantic search over every memo and every section inside one, then merges the two result lists, so an exact identifier and a paraphrase both find the memo.
Each result carries a snippet of the section that matched in matched_section, which can be null. The memo's body is left out, so read the memo when you need it.
score only compares results within one response. Ties break by id, so the same query returns the same order every time.
Body
querystring, required- What to look for, up to 2,000 characters.
limitinteger- 1 to 200, default 20.
bucket_iduuid- Only search inside this bucket.
thread_iduuid- Only search inside this thread.
node_typestring- Only memos of this type.
{
"query": "how do we throttle clients",
"limit": 20
}{
"results": [
{
"id": "018f2a1c-6e31-7f55-b2c4-1d8e3f4a9b23",
"ref": "N:12",
"title": "Rate limiting",
"summary": "How we throttle API clients",
"node_type": "note",
"thread_id": "018f2a1c-5d20-7a44-8e1b-6c9f0a2b7d12",
"bucket_id": "018f2a1c-4b7e-7c11-9a3d-2f6b8e1d4c01",
"score": 0.0491,
"matched_section": {
"id": "018f2a1c-8a53-7177-94e6-3fa05b6c1d45",
"heading": "Token buckets",
"snippet": "Each client gets 60 requests a minute."
}
}
]
}