Find notes by meaning, not exact words: `{query, results: [{path, score, heading, snippet,
const url = 'https://example.com/datanotes/operations/semantic_search/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"query":"example","limit":10,"tables":null,"folder":null,"min_score":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/operations/semantic_search/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "query": "example", "limit": 10, "tables": null, "folder": null, "min_score": null }'Find notes by meaning, not exact words: {query, results: [{path, score, heading, snippet, table?}]}, one result per note (its best passage), best first. Use it for vague questions
(“the dinner where we talked about moving”, “what did I decide about the car”) and to find the
rows to read or update; then read_note / select_rows for the details. Filters: tables
(qualified or short names), folder, min_score (cosine 0–1; ~0.5+ is usually relevant).
limit: default 10, max 100. Fails with a clear message when semantic search is not enabled in
the engine settings.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Done.
object
One result per note, best first.
object
Similarity, 0..1.
Heading of the best passage.
Qualified table of a row note.
Example generated
{ "query": "example", "results": [ { "path": "example", "score": 1, "heading": "example", "snippet": "example", "table": "example" } ]}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Missing or wrong bearer token.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Unexpected error.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}