Search

Semantic Search

Semantic vector search over stored memories.

Embeds the query text, runs HNSW nearest-neighbour search, and returns ranked text chunks with similarity scores. No planner LLM call.

Scoped to the current tenant (org_id + user_id).

post/search

Request

Request body

querystring required

Natural language search query

top_kinteger

Number of results to return

min_scorenumber nullable

Minimum similarity score (0-1)

labelstring nullable

Filter by node label/type

metadata_filterobject nullable

Key-value metadata filters

Response

Successful Response

query_embedding_msinteger

Time to embed query (ms)

search_msinteger

Time to search HNSW index (ms)

Changes

No recorded changes to this operation across all 1 revision of this API.