Search Collection
Search within a collection using knowledge search with support for different search types including fulltext, semantic, and hybrid search.Headers
Bearer token for authentication
API key for authentication (alternative to Authorization header)
Optional. Derived from API Key, but can be specified if you have access to multiple workspaces
Request Body
Search query string
ID of the collection to search in
Type of search to perform (vector, keyword, hybrid)
Maximum number of results to return (1-100)
Additional filters to apply to the search
Response
Array of search results
Total number of results found
Original search query
Type of search performed
Collection that was searched
Search execution time in milliseconds
Search types:
- vector: Semantic similarity search using embeddings
- keyword: Traditional keyword-based search
- hybrid: Combination of vector and keyword search (recommended)