API
Document Filtered Search
Performs a full text search on documents in a dataset, then uses those documents to perform an embedding search on the dataset. This is the same as calling /search-documents followed by /search, and using the documents from the first call as a metadata filter.
POST
/
api
/
datasets
/
{id}
/
document-filtered-search
Path Parameters
id
string
requiredDataset ID
Header
Authorization
string
Baseplate API key. Must be in the format βBearer $BASEPLATE_API_KEYβ
Body Parameters
query
string
requiredQuery string
top_k_documents
number
default: "3"Number of documents to use in embedding search filter.
top_k_rows
number
default: "3"Number of documents to use in embedding search filter.