Aurabase Logo
aurabasedocs
Aurabase Logo
aurabasedocs
API/AI Gateway/Semantic Vector Search

Semantic Vector Search

GET/v1/ai/{project_id}/search

Performs high-performance semantic similarity queries across vector namespaces with tunable thresholds and top-k limits.

#
Query

Query Parameters

ParameterTypeRequiredDescription
querystringyesSearch phrase or natural language query.
namespacestringyesTarget partition namespace to query against.
top_knumbernoMaximum documents returned (default 5, max 100).
thresholdnumbernoMinimum cosine similarity threshold from 0.0 to 1.0 (default 0.7).
#
Performance

Dynamic HNSW Tuning

Info

The search endpoint dynamically sets PostgreSQL's hnsw.ef_search variable based on requested top_k ((top_k * 4).max(64)), guaranteeing high recall even when filtering post-index candidates.

v1.0 · revised Oct 31, 2026