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
string
required
Bearer token for authentication
Body
string
required
Search query or question (max 1000 characters)
string
required
Dataset to search
integer
default:5
Number of results to return (max: 50)
boolean
default:false
Enable Cohere reranking for better quality
object
Filter by metadata fields
Response
array
Array of search results
string
Unique chunk identifier
string
Text content of the chunk
number
Relevance score (0-1, higher is better)
object
Document metadata
string
Parent document ID
integer
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