Search Collection (Legacy)
**DEPRECATED**: Use POST /collections/{readable_id}/search instead.
This legacy GET endpoint provides basic search functionality via query parameters.
Migrate to the POST endpoint for access to advanced features like:
- Structured filters
- Query expansion
- Reranking
- Streaming responses
Authentication
x-api-keystring
API Key authentication via header
Path parameters
readable_id
The unique readable identifier of the collection to search
Query parameters
query
The search query text to find relevant documents and data
response_type
Format of the response: ‘raw’ returns search results, ‘completion’ returns AI-generated answers
Allowed values:
limit
Maximum number of results to return
offset
Number of results to skip for pagination
recency_bias
How much to weigh recency vs similarity (0=similarity only, 1=recency only)
Response
Search results
results
Array of search result objects
response_type
Indicates whether results are raw search matches or AI-generated completions
Allowed values:
status
Status of the search operation
Allowed values:
completion
AI-generated natural language answer when response_type is ‘completion’