deprecated_vector_stores
[DEPRECATED] Perform semantic search across vector store chunks
Changed onDEPRECATED: Use POST /stores/search instead
post/v1/vector_stores/search
Request
- Base URLhttps://api.mixedbread.com
- URLhttps://api.mixedbread.com/v1/vector_stores/search
- AuthHTTP bearer
Request body
Example request
{
"query": "how to configure SSL",
"filters": {
"all": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"any": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"none": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
]
},
"search_options": {
"rerank": {
"model": "rerank_model",
"top_k": 10
}
}
}Response
List of semantically similar chunks with relevance scores and pagination details
Example response
{
"data": [
{
"mime_type": "text/plain",
"model": "text-embedding-ada-002",
"score": 0.5,
"file_id": "file1",
"filename": "file1",
"vector_store_id": "store1",
"metadata": {
"key": "value"
},
"context": "This chunk is from an SEC filing on ACME corp's Q2 2023 performance.",
"summary": "A short overview of ACME's Q2 2023 performance."
}
]
}Changes
- warning
removed the request property
/
- warning
- info
request property
/deprecated
- info