OpenAI/createVectorStoreFile

Online calls unavailable · details below

OpenAIOpenAI API

POST/vector_stores/{vector_store_id}/files

Manage create Vector Store File.

Contract-preserving POST Endpoint for create Vector Store File 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
createVectorStoreFile
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

CreateVectorStoreFileRequestrequired

Content-Type: application/json

Properties: attributeschunking_strategyfile_id

Responses

200

VectorStoreFileObjectapplication/json

Successful supplier response.

Properties: attributeschunking_strategycreated_atidlast_errorobjectstatususage_bytesvector_store_id

429

ErrorResponseapplication/json

Supplier response with HTTP status 429.

Properties: error

{
  "chunking_strategy": {},
  "created_at": 0,
  "object": "vector_store.file",
  "status": "in_progress",
  "usage_bytes": 0
}