MCP Endpoints
Query Dataset
Semantic search over a dataset using hybrid vector + keyword search
POST
Query Dataset
Request
Performs semantic search combining vector similarity and keyword matching.Headers
Bearer token for authentication
Body
Search query or question (max 1000 characters)
Dataset to search
Number of results to return (max: 50)
Enable Cohere reranking for better quality
Filter by metadata fields
Response
Array of search results
Unique chunk identifier
Text content of the chunk
Relevance score (0-1, higher is better)
Document metadata
Parent document ID
Query execution time in milliseconds
Examples
Basic Query
cURL
Python
JavaScript
With Reranking
With Filters
Response
Search Algorithm
FLTR uses hybrid search combining:- Vector Search - Semantic similarity using embeddings
- Keyword Search - BM25 for exact matches
- Fusion - RRF (Reciprocal Rank Fusion) to combine results
Scoring
Scores range from 0 to 1:- 0.9-1.0 - Excellent match
- 0.7-0.9 - Good match
- 0.5-0.7 - Moderate match
- Below 0.5 - Weak match
Performance
- Average latency: 50-200ms
- With reranking: +100-300ms
- Timeout: 10 seconds
Limits
- Max query length: 1,000 characters
- Max results: 50 per request
- Filters: 10 fields maximum
Tips
- Use natural language questions
- Include context in your query
- Enable reranking for better quality
- Filter by metadata to narrow results
- Request 3-5 results for most use cases
Query Dataset