API Reference
Retrieve Documents
Retrieve relevant documents.
Args: request: RetrieveRequest containing:
- query: Search query text
- filters: Optional metadata filters
- k: Number of results (default: 4)
- min_score: Minimum similarity threshold (default: 0.0)
- use_reranking: Whether to use reranking
- use_colpali: Whether to use ColPali-style embedding model
- folder_name: Optional folder to scope the search to
- end_user_id: Optional end-user ID to scope the search to auth: Authentication context
Returns: List[DocumentResult]: List of relevant documents
POST
Headers
Body
application/json
Base retrieve request model
Response
200
application/json
Successful Response
The response is of type object[]
.