from actian_vectorai_client import VectorAIClientimport randomwith VectorAIClient("localhost:6574") as client: # Execute multiple searches at once queries = [ {"vector": [random.gauss(0, 1) for _ in range(64)], "limit": 3} for _ in range(3) ] batch_results = client.points.search_batch("my_collection", queries) for i, results in enumerate(batch_results): ids = [r.id for r in results] print(f"Query {i + 1}: top IDs = {ids}")
import { VectorAIClient } from '@actian/vectorai-client';
const client = new VectorAIClient('localhost:6574');
const batchResults = await client.points.searchBatch('my_collection', [
{ vector: [0.1, 0.2, 0.3, 0.4], limit: 3 },
{ vector: [0.5, 0.6, 0.7, 0.8], limit: 3 },
]);
console.log(`Batch search: ${batchResults.length} result sets`);
for (let i = 0; i < batchResults.length; i++) {
console.log(` Query ${i}: ${batchResults[i].length} results`);
}
client.close();
Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.
POST
/
collections
/
{collection_name}
/
points
/
search
/
batch
Python
from actian_vectorai_client import VectorAIClientimport randomwith VectorAIClient("localhost:6574") as client: # Execute multiple searches at once queries = [ {"vector": [random.gauss(0, 1) for _ in range(64)], "limit": 3} for _ in range(3) ] batch_results = client.points.search_batch("my_collection", queries) for i, results in enumerate(batch_results): ids = [r.id for r in results] print(f"Query {i + 1}: top IDs = {ids}")
import { VectorAIClient } from '@actian/vectorai-client';
const client = new VectorAIClient('localhost:6574');
const batchResults = await client.points.searchBatch('my_collection', [
{ vector: [0.1, 0.2, 0.3, 0.4], limit: 3 },
{ vector: [0.5, 0.6, 0.7, 0.8], limit: 3 },
]);
console.log(`Batch search: ${batchResults.length} result sets`);
for (let i = 0; i < batchResults.length; i++) {
console.log(` Query ${i}: ${batchResults[i].length} results`);
}
client.close();
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"VectorAI DB","colors":{"primary":"#0066CC","light":"#0073E6","dark":"#0052A3"},"logo":{"light":"https://mintcdn.com/actianvectorai/Ux78X2vdOXohKLon/logo/light.svg?fit=max\u0026auto=format\u0026n=Ux78X2vdOXohKLon\u0026q=85\u0026s=1b88940e85e690e376517438c937e9bd","dark":"https://mintcdn.com/actianvectorai/Ux78X2vdOXohKLon/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ux78X2vdOXohKLon\u0026q=85\u0026s=0b12a311c6ad85c0f00177d6d27d730c","href":"https://www.actian.com"},"favicon":"https://mintcdn.com/actianvectorai/NsZIxn1YYT2snpqj/favicon.svg?fit=max\u0026auto=format\u0026n=NsZIxn1YYT2snpqj\u0026q=85\u0026s=8fa150c5e8a33498c52730a734140029","api":{"openapi":["openapi_prepared/authentication-api.yaml","openapi_prepared/collections-api.yaml","openapi_prepared/filters-api.yaml","openapi_prepared/grouped-search-api.yaml","openapi_prepared/points-api.yaml","openapi_prepared/search-api.yaml"],"playground":{}},"navbar":{"links":[{"href":"https://www.actian.com/support","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"/home/quickstart/quickstart"}},"footer":{"socials":{"x":"https://x.com/actiancorp","github":"https://github.com/actiancorp","linkedin":"https://linkedin.com/company/actian"}},"integrations":{"ga4":{"measurementId":"G-NHC5CN295F"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"actianvectorai","hasAudioNarration":false,"actualSubdomain":"actianvectorai","customDomains":["docs.vectoraidb.actian.com"],"gitSource":{"type":"github","owner":"actiancorp","repo":"vectorai-db-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aecfd0b83550c071d08b250","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Fundamentals","count":45},{"language":"default","tag":"API","count":32},{"language":"default","tag":"REST API","count":31},{"language":"default","tag":"Docs","count":26},{"language":"default","tag":"Academy","count":16},{"language":"default","tag":"Collections","count":14},{"language":"default","tag":"Points","count":14},{"language":"default","tag":"Tutorials","count":9},{"language":"default","tag":"Get started","count":9},{"language":"default","tag":"Search","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/rest/search/search/batch-search","slug":"/api-reference/rest/search/search/batch-search","pageMetadata":{"openapi":"post /collections/{collection_name}/points/search/batch","title":"Batch search","description":"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.","href":"/api-reference/rest/search/search/batch-search"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /collections/{collection_name}/points/search/batch","title":"Batch search","description":"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.","href":"/api-reference/rest/search/search/batch-search"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Search"],"summary":"Batch search","description":"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.","operationId":"search_batch","parameters":["fc57ae82-40ed-4d08-b0e3-2d8f14f9ac47"],"requestBody":"7bc15c5e-8a2f-4eaf-add3-d782ff135f3d","responses":{"200":"40bd377c-1b02-474f-867e-b8bbf13f0637","4XX":"63be5ebf-c7f7-4040-b283-fbe4210c769f"},"x-codeSamples":[{"lang":"Python","label":"Batch search","source":"from actian_vectorai_client import VectorAIClient\nimport random\n\nwith VectorAIClient(\"localhost:6574\") as client:\n # Execute multiple searches at once\n queries = [\n {\"vector\": [random.gauss(0, 1) for _ in range(64)], \"limit\": 3}\n for _ in range(3)\n ]\n batch_results = client.points.search_batch(\"my_collection\", queries)\n \n for i, results in enumerate(batch_results):\n ids = [r.id for r in results]\n print(f\"Query {i + 1}: top IDs = {ids}\")\n"},{"lang":"JavaScript","label":"Batch search","source":"import { VectorAIClient } from '@actian/vectorai-client';\n\nconst client = new VectorAIClient('localhost:6574');\n\nconst batchResults = await client.points.searchBatch('my_collection', [\n { vector: [0.1, 0.2, 0.3, 0.4], limit: 3 },\n { vector: [0.5, 0.6, 0.7, 0.8], limit: 3 },\n]);\nconsole.log(`Batch search: ${batchResults.length} result sets`);\nfor (let i = 0; i \u003c batchResults.length; i++) {\n console.log(` Query ${i}: ${batchResults[i].length} results`);\n}\n\nclient.close();\n"},{"lang":"cURL","label":"Batch search","source":"curl -X POST \"http://localhost:6573/collections/my_collection/points/search/batch\" \\\n -H \"Content-Type: application/json\" \\\n -H 'Authorization: Bearer \u003cadmin-jwt-or-access-token>' \\\n -d '{\n \"searches\": [\n {\"vector\": [0.1, 0.2, 0.3, 0.4], \"limit\": 3},\n {\"vector\": [0.5, 0.6, 0.7, 0.8], \"limit\": 3}\n ]\n }'\n"}],"method":"post","type":"path","servers":["40d32e35-3aa7-4c59-9f8a-3465660972c6","5f327f77-24fe-45c8-b609-4ec764dcfb84"],"security":["627890d8-5046-424c-a7be-fb76e8a99359"],"path":"/collections/{collection_name}/points/search/batch","baseUrlOptions":["http://localhost:6573","https://api.vectorai.actian.com"],"title":"Batch search","codeSamples":[{"label":"Batch search","lang":"Python","source":"from actian_vectorai_client import VectorAIClient\nimport random\n\nwith VectorAIClient(\"localhost:6574\") as client:\n # Execute multiple searches at once\n queries = [\n {\"vector\": [random.gauss(0, 1) for _ in range(64)], \"limit\": 3}\n for _ in range(3)\n ]\n batch_results = client.points.search_batch(\"my_collection\", queries)\n \n for i, results in enumerate(batch_results):\n ids = [r.id for r in results]\n print(f\"Query {i + 1}: top IDs = {ids}\")\n"},{"label":"Batch search","lang":"JavaScript","source":"import { VectorAIClient } from '@actian/vectorai-client';\n\nconst client = new VectorAIClient('localhost:6574');\n\nconst batchResults = await client.points.searchBatch('my_collection', [\n { vector: [0.1, 0.2, 0.3, 0.4], limit: 3 },\n { vector: [0.5, 0.6, 0.7, 0.8], limit: 3 },\n]);\nconsole.log(`Batch search: ${batchResults.length} result sets`);\nfor (let i = 0; i \u003c batchResults.length; i++) {\n console.log(` Query ${i}: ${batchResults[i].length} results`);\n}\n\nclient.close();\n"},{"label":"Batch search","lang":"cURL","source":"curl -X POST \"http://localhost:6573/collections/my_collection/points/search/batch\" \\\n -H \"Content-Type: application/json\" \\\n -H 'Authorization: Bearer \u003cadmin-jwt-or-access-token>' \\\n -d '{\n \"searches\": [\n {\"vector\": [0.1, 0.2, 0.3, 0.4], \"limit\": 3},\n {\"vector\": [0.5, 0.6, 0.7, 0.8], \"limit\": 3}\n ]\n }'\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"fc57ae82-40ed-4d08-b0e3-2d8f14f9ac47":{"name":"collection_name","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The name of the collection to search.","uniqueKey":"","typeLabel":"string"},"description":"The name of the collection to search."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["searches"],"properties":{"searches":{"type":"array","description":"Array of search request objects to execute.","items":{"type":"object","required":["vector"],"properties":{"vector":{"type":"array","items":{"type":"number","uniqueKey":"searches.items.[INDEX].vector.items.[INDEX]","typeLabel":"number"},"example":[0.1,0.2,0.3,0.4],"description":"The query vector for this search.","isRequired":true,"uniqueKey":"searches.items.[INDEX].vector","typeLabel":"number[]"},"limit":{"type":"integer","example":3,"description":"Maximum number of results for this search.","uniqueKey":"searches.items.[INDEX].limit","typeLabel":"integer"},"offset":{"type":"integer","example":0,"description":"Number of results to skip for pagination.","uniqueKey":"searches.items.[INDEX].offset","typeLabel":"integer"},"score_threshold":{"type":"number","example":0.7,"description":"Minimum similarity score for results.","uniqueKey":"searches.items.[INDEX].score_threshold","typeLabel":"number"},"filter":{"type":"object","description":"Optional filter conditions for this search.","uniqueKey":"searches.items.[INDEX].filter","typeLabel":"object"},"with_payload":{"type":"boolean","example":true,"description":"Whether to include payload metadata in the response.","uniqueKey":"searches.items.[INDEX].with_payload","typeLabel":"boolean"},"with_vector":{"type":"boolean","example":false,"description":"Whether to include vector data in the response.","uniqueKey":"searches.items.[INDEX].with_vector","typeLabel":"boolean"}},"uniqueKey":"searches.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"searches","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"batch_search":{"title":"batch_search","value":{"searches":[{"vector":[0.1,0.2,0.3,0.4],"limit":3,"with_payload":true,"with_vector":false},{"vector":[0.5,0.6,0.7,0.8],"limit":3,"with_payload":true,"with_vector":false},{"vector":[0.9,0.8,0.7,0.6],"limit":3,"with_payload":true,"with_vector":false}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"40bd377c-1b02-474f-867e-b8bbf13f0637":{"description":"Batch search results","content":{"application/json":{"schema":{"type":"object","properties":{"usage":{"type":"object","properties":{"hardware":{"oneOf":[{"type":"object","description":"Hardware resource counters for the operation, including CPU, payload I/O, payload index I/O, and vector I/O metrics.","uniqueKey":"usage.hardware.oneOf.0","typeLabel":"object"},{"type":"null","description":"Hardware resource counters for the operation, including CPU, payload I/O, payload index I/O, and vector I/O metrics.","uniqueKey":"usage.hardware.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.hardware","typeLabel":"object | null"}},"uniqueKey":"usage","typeLabel":"object"},"time":{"type":"number","format":"double","example":0.0000706,"description":"Time spent to process this request, in seconds.","uniqueKey":"time","typeLabel":"number\u003cdouble>"},"status":{"type":"string","example":"ok","description":"Operation status.","uniqueKey":"status","typeLabel":"string"},"result":{"type":"array","description":"Array of result arrays, one per search query.","items":{"type":"array","items":{"type":"object","properties":{"id":{"oneOf":[{"type":"integer","description":"The point's unique identifier.","example":1,"uniqueKey":"result.items.[INDEX].items.[INDEX].id.oneOf.0","typeLabel":"integer"},{"type":"string","description":"The point's unique identifier.","example":1,"uniqueKey":"result.items.[INDEX].items.[INDEX].id.oneOf.1","typeLabel":"string"}],"uniqueKey":"result.items.[INDEX].items.[INDEX].id","typeLabel":"integer | string"},"version":{"type":"integer","example":0,"description":"The point's version number.","uniqueKey":"result.items.[INDEX].items.[INDEX].version","typeLabel":"integer"},"score":{"type":"number","example":0.9843740463256836,"description":"Similarity score between the query vector and this point.","uniqueKey":"result.items.[INDEX].items.[INDEX].score","typeLabel":"number"},"payload":{"oneOf":[{"type":"object","example":null,"description":"Payload metadata, or null if `with_payload` is false.","uniqueKey":"result.items.[INDEX].items.[INDEX].payload.oneOf.0","typeLabel":"object"},{"type":"null","example":null,"description":"Payload metadata, or null if `with_payload` is false.","uniqueKey":"result.items.[INDEX].items.[INDEX].payload.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.items.[INDEX].items.[INDEX].payload","typeLabel":"object | null"},"vector":{"oneOf":[{"type":"array","items":{"type":"number","uniqueKey":"result.items.[INDEX].items.[INDEX].vector.oneOf.0.items.[INDEX]","typeLabel":"number"},"example":null,"description":"Vector data, or null if `with_vector` is false.","uniqueKey":"result.items.[INDEX].items.[INDEX].vector.oneOf.0","typeLabel":"number[]"},{"type":"null","items":{"type":"number"},"example":null,"description":"Vector data, or null if `with_vector` is false.","uniqueKey":"result.items.[INDEX].items.[INDEX].vector.oneOf.1","typeLabel":"null"}],"uniqueKey":"result.items.[INDEX].items.[INDEX].vector","typeLabel":"number[] | null"}},"uniqueKey":"result.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"result.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"result","typeLabel":"object[][]"}},"uniqueKey":"","typeLabel":"object"},"example":{"usage":{"hardware":null},"time":0.0000706,"status":"ok","result":[[{"id":1,"version":0,"score":1,"payload":null,"vector":null},{"id":3,"version":0,"score":0.9843740463256836,"payload":null,"vector":null},{"id":2,"version":0,"score":0.9688639640808105,"payload":null,"vector":null}],[{"id":2,"version":0,"score":1,"payload":null,"vector":null},{"id":3,"version":0,"score":0.9973233938217163,"payload":null,"vector":null}]]},"examples":{"Example":{"title":"Example","value":{"usage":{"hardware":null},"time":0.0000706,"status":"ok","result":[[{"id":1,"version":0,"score":1,"payload":null,"vector":null},{"id":3,"version":0,"score":0.9843740463256836,"payload":null,"vector":null},{"id":2,"version":0,"score":0.9688639640808105,"payload":null,"vector":null}],[{"id":2,"version":0,"score":1,"payload":null,"vector":null},{"id":3,"version":0,"score":0.9973233938217163,"payload":null,"vector":null}]]}}},"exampleType":"examples"}},"exampleType":"examples"},"63be5ebf-c7f7-4040-b283-fbe4210c769f":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"status.error","typeLabel":"string"}},"uniqueKey":"status","typeLabel":"object"},"time":{"type":"number","format":"double","description":"Time spent to process this request, in seconds.","uniqueKey":"time","typeLabel":"number\u003cdouble>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":{"error":"\u003cstring>"},"time":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"627890d8-5046-424c-a7be-fb76e8a99359":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Admin JWT or access token for authenticating requests to VectorAI DB.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"40d32e35-3aa7-4c59-9f8a-3465660972c6":{"url":"http://localhost:6573","description":"Local development server (REST API)"},"5f327f77-24fe-45c8-b609-4ec764dcfb84":{"url":"https://api.vectorai.actian.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Admin JWT or access token for authenticating requests to VectorAI DB.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Admin JWT or access token for authenticating requests to VectorAI DB.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi_prepared/search-api.yaml"},"subdomain":"actianvectorai","siteName":"VectorAI DB","title":"Batch search - VectorAI DB","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-09T08:52:50.942Z","originalFileLocation":"api-reference/rest/search/search/batch-search.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VectorAI DB\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Batch search - VectorAI DB\">\u003cmeta data-mint-head property=\"og:description\" content=\"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VectorAI DB\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://actianvectorai.mintlify.site/_mintlify/api/og/v2?division=Search\u0026amp;title=Batch+search\u0026amp;description=Execute+multiple+search+queries+in+a+single+request.+This+is+more+efficient+than+sending+individual+search+requests+when+you+have+several+queries+to+run.\u0026amp;theme=cf9d967d01a87c7c8e8bf703\u0026amp;signature=f04f71039c8744700a3ff11401ec741f4d3fb9e34254312f30a0c44fd81a3054\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Batch search - VectorAI DB\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://actianvectorai.mintlify.site/_mintlify/api/og/v2?division=Search\u0026amp;title=Batch+search\u0026amp;description=Execute+multiple+search+queries+in+a+single+request.+This+is+more+efficient+than+sending+individual+search+requests+when+you+have+several+queries+to+run.\u0026amp;theme=cf9d967d01a87c7c8e8bf703\u0026amp;signature=f04f71039c8744700a3ff11401ec741f4d3fb9e34254312f30a0c44fd81a3054\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/actianvectorai/HbdFPl4jNN5cTNwv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VectorAI DB\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066CC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/rest/search/search/batch-search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vectoraidb.actian.com/#organization\",\"name\":\"VectorAI DB\",\"url\":\"https://docs.vectoraidb.actian.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/actianvectorai/Ux78X2vdOXohKLon/logo/light.svg?fit=max\u0026auto=format\u0026n=Ux78X2vdOXohKLon\u0026q=85\u0026s=1b88940e85e690e376517438c937e9bd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vectoraidb.actian.com#website\",\"name\":\"VectorAI DB\",\"url\":\"https://docs.vectoraidb.actian.com\",\"publisher\":{\"@id\":\"https://docs.vectoraidb.actian.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search#webpage\",\"url\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search\",\"name\":\"Batch search\",\"description\":\"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\",\"dateModified\":\"2026-04-09T08:52:50.942Z\",\"isPartOf\":{\"@id\":\"https://docs.vectoraidb.actian.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.vectoraidb.actian.com/api-reference/rest\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search\",\"item\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/search-vectors\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Batch search\",\"item\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search#apireference\",\"headline\":\"Batch search\",\"name\":\"Batch search\",\"description\":\"Execute multiple search queries in a single request. This is more efficient than sending individual search requests when you have several queries to run.\",\"url\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vectoraidb.actian.com/api-reference/rest/search/search/batch-search#webpage\"},\"dateModified\":\"2026-04-09T08:52:50.942Z\",\"publisher\":{\"@id\":\"https://docs.vectoraidb.actian.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vectoraidb.actian.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VectorAI DB\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VectorAI DB","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Fundamentals","pages":[{"title":"Fundamentals","href":"/docs/fundamentals"}]},{"tab":"API","groups":[{"group":"REST API","pages":[{"title":"REST API overview","href":"/api-reference/rest"},{"group":"Collections","pages":[{"openapi":"put /collections/{collection_name}","title":"Create collection","href":"/api-reference/rest/collections/collections/create-collection"},{"openapi":"get /collections","title":"List all collections","href":"/api-reference/rest/collections/collections/list-all-collections"},{"openapi":"get /collections/{collection_name}","title":"Get collection info","href":"/api-reference/rest/collections/collections/get-collection-info"},{"openapi":"get /collections/{collection_name}/exists","title":"Check if collection exists","href":"/api-reference/rest/collections/collections/check-if-collection-exists"},{"openapi":"patch /collections/{collection_name}","title":"Update collection","href":"/api-reference/rest/collections/collections/update-collection"},{"openapi":"delete /collections/{collection_name}","title":"Delete collection","href":"/api-reference/rest/collections/collections/delete-collection"}]},{"group":"Points","pages":[{"openapi":"put /collections/{collection_name}/points","title":"Upsert points","href":"/api-reference/rest/points/points/upsert-points"},{"openapi":"get /collections/{collection_name}/points/{id}","title":"Get single point","href":"/api-reference/rest/points/points/get-single-point"},{"openapi":"post /collections/{collection_name}/points","title":"Get points by IDs","href":"/api-reference/rest/points/points/get-points-by-ids"},{"openapi":"put /collections/{collection_name}/points/vectors","title":"Update vectors","href":"/api-reference/rest/points/points/update-vectors"},{"openapi":"put /collections/{collection_name}/points/payload","title":"Overwrite payload","href":"/api-reference/rest/points/points/overwrite-payload"},{"openapi":"post /collections/{collection_name}/points/payload","title":"Set payload","href":"/api-reference/rest/points/points/set-payload"},{"openapi":"post /collections/{collection_name}/points/payload/delete","title":"Delete payload keys","href":"/api-reference/rest/points/points/delete-payload-keys"},{"openapi":"post /collections/{collection_name}/points/payload/clear","title":"Clear payload","href":"/api-reference/rest/points/points/clear-payload"},{"openapi":"post /collections/{collection_name}/points/delete","title":"Delete points","href":"/api-reference/rest/points/points/delete-points"}]},{"group":"Search","pages":[{"openapi":"post /collections/{collection_name}/points/search","title":"Search vectors","description":"Find the most similar vectors in a collection using approximate nearest neighbor search. Supports score thresholds, payload filtering, and tunable HNSW parameters.","href":"/api-reference/rest/search/search/search-vectors"},{"openapi":"post /collections/{collection_name}/points/search/batch","title":"Batch search","href":"/api-reference/rest/search/search/batch-search"},{"openapi":"post /collections/{collection_name}/points/scroll","title":"Scroll points","description":"Paginate through all points in a collection. The response includes a `next_page_offset` cursor that you pass as `offset` in subsequent requests to retrieve the next page. Useful for exporting data, iterating large datasets, or processing points in batches.","href":"/api-reference/rest/search/scroll/scroll-points"},{"openapi":"post /collections/{collection_name}/points/count","title":"Count points","href":"/api-reference/rest/search/count/count-points"}]},{"group":"Filters","pages":[{"openapi":"get /filters/examples","title":"Filter examples","href":"/api-reference/rest/filters/filters/filter-examples"}]},{"group":"Access Tokens","pages":[{"openapi":"post /auth/api_key","title":"Create access token","href":"/api-reference/access-tokens/create-access-token"},{"openapi":"get /auth/api_keys","title":"List access tokens","href":"/api-reference/access-tokens/list-access-tokens"},{"openapi":"delete /auth/api_key/{token_id}","title":"Delete access token","href":"/api-reference/access-tokens/delete-access-token"},{"openapi":"post /auth/api_key/{token_id}/rotate","title":"Rotate access token","href":"/api-reference/access-tokens/rotate-access-token"}]},{"group":"Admin User","pages":[{"openapi":"post /auth/admin","title":"Create admin user","href":"/api-reference/admin-user/create-admin-user"},{"openapi":"post /auth/admin/reset-password","title":"Reset admin password","href":"/api-reference/admin-user/reset-admin-password"},{"openapi":"post /auth/admin/login","title":"Admin login","href":"/api-reference/admin-user/admin-login"},{"openapi":"get /auth/admin/exists","title":"Check admin exists","href":"/api-reference/admin-user/check-admin-exists"},{"openapi":"patch /auth/enabled","title":"Set auth enabled","href":"/api-reference/admin-user/set-auth-enabled"}]},{"title":"Error codes","href":"/api-reference/error-codes"}]},{"group":"gRPC API","pages":[{"title":"gRPC endpoints","href":"/api-reference/grpc/index"}]}]},{"tab":"Academy","pages":[{"title":"Academy","href":"/academy"}]}]},"basePath":"","title":"Batch search - VectorAI DB","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}