OpenAIOpenAI API
POST/vector_stores/{vector_store_id}/search
Manage search Vector Store.
Contract-preserving POST Endpoint for search Vector Store in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.
All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
searchVectorStore- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
vector_store_id
pathstringrequired
vector store id value in the OpenAI API contract.
vs_abc123
Request body
VectorStoreSearchRequestrequired
Content-Type: application/json
Properties: filtersmax_num_resultsqueryranking_optionsrewrite_query
Responses
200
VectorStoreSearchResultsPageapplication/json
Successful supplier response.
Properties: datahas_morenext_pageobjectsearch_query
429
ErrorResponseapplication/json
Supplier response with HTTP status 429.
Properties: error
{
"data": {
"content": {
"type": "text"
},
"score": 0
},
"has_more": false,
"object": "vector_store.search_results.page",
"search_query": []
}