Examples
Request
Parameters
The search query. Can be a question, statement, or keywords.
The slug of the knowledge base to search in.
Maximum number of results to return (1-100).
Search mode:
- “fast”: fastest, good quality
- “balanced”: balances speed and quality
- “deep”: slow with best quality.
We recommend using balanced for most operations
Response
Returns
Array of search result objects, ranked by relevance.
The original search query.
The knowledge base slug searched.
The search mode used.
Search time in milliseconds.
The chunk text content.
Relevance score (0-1, higher is more relevant).
Additional metadata about the chunk.
