Search Collection

Search your collection using semantic and hybrid search. This is the primary search endpoint providing powerful AI-powered search capabilities: **Search Strategies:** - **hybrid** (default): Combines neural (semantic) and keyword (BM25) matching - **neural**: Pure semantic search using embeddings - **keyword**: Traditional keyword-based BM25 search **Features:** - **Query expansion**: Generate query variations to improve recall - **Filter interpretation**: Extract structured filters from natural language - **Reranking**: LLM-based reranking for improved relevance - **Answer generation**: AI-generated answers based on search results **Note**: Accepts both new SearchRequest and legacy LegacySearchRequest formats for backwards compatibility.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

readable_idstringRequired
The unique readable identifier of the collection to search

Request

This endpoint expects an object.
SearchRequestobjectRequired
OR
LegacySearchRequestobjectRequired

Response

Search results with optional AI completion
resultslist of maps from strings to any

Array of search result objects containing the found documents, records, or data entities. Each result includes entity_id, source_name, md_content, metadata, score, breadcrumbs, and url.

completionstring or null

AI-generated natural language answer to your query based on the search results. Only included when generate_answer is true in the request.

Errors