Search Modes
Thesearch_mode field determines the level of control and type of retrieval performed.
| Mode | Description | 
|---|---|
basic | Performs a standard semantic search using vector embeddings. Ideal for quick and simple retrievals. | 
advanced | Combines semantic search with full-text search for broader and more comprehensive results. | 
custom | Grants full control via a SearchSettings object, allowing fine-tuned configurations for specialized applications. | 
Filters
Filters can be used to restrict search results by document attributes or metadata. Apply filters directly insidesearch_settings.filters.
Supported operators:
$eq, $neq, $gt, $gte, $lt, $lte, $like, $ilike, $in, $nin.
Example:
Hybrid Search
Hybrid search combines semantic similarity with keyword-based retrieval, improving result relevance by leveraging both vector embeddings and traditional text search. Enable hybrid search by settinguse_hybrid_search: true in search_settings and configure with hybrid_settings .
Configuration Example:
full_text_weight: Adjusts the influence of keyword search.semantic_weight: Adjusts the influence of semantic similarity.full_text_limit: Limits keyword results before fusion.rrf_k: Rank fusion parameter controlling hybrid blending strength.
Graph-Enhanced Search
The Search API supports knowledge graph integration, enabling entity- and relationship-aware retrieval. This allows search results to include contextually related information based on graph traversal. Knowledge graph integration is enabled by default. Configure it withgraph_search_settings .
Configuration Example:
use_graph_search: Enables or disables graph integration.kg_search_type: Defines scope —"local"(collection-level) or"global"(across all graphs).
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The search query text
Default value of custom allows full control over search settings. Pre-configured search modes: basic: A simple semantic-based search. advanced: A more powerful hybrid search combining semantic and full-text. custom: Full control via search_settings. If filters or limit are provided alongside basic or advanced, they will override the default settings for that mode.ID of the collection to search in
basic, advanced, custom The search configuration object. If search_mode is custom, these settings are used as-is. For basic or advanced, these settings will override the default mode configuration. Common overrides include filters to narrow results and limit to control how many results are returned.
Response
200