OpenAIOpenAI API
POST/vector_stores
Manage create Vector Store.
Contract-preserving POST Endpoint for create 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
createVectorStore- Server
https://api.openai.com/v1- Authentication
- ApiKeyAuth, AdminApiKeyAuth
Request parameters
No URL, query, or header parameters.
Request body
CreateVectorStoreRequestrequired
Content-Type: application/json
Properties: chunking_strategydescriptionexpires_afterfile_idsmetadataname
Responses
200
VectorStoreObjectapplication/json
Successful supplier response.
Properties: created_atexpires_afterexpires_atfile_countsidlast_active_atmetadatanameobjectstatususage_bytes
429
ErrorResponseapplication/json
Supplier response with HTTP status 429.
Properties: error
{
"created_at": 0,
"expires_after": {
"anchor": "last_active_at",
"days": 0
},
"file_counts": {
"cancelled": 0,
"completed": 0,
"failed": 0,
"in_progress": 0,
"total": 0
}
}