v4
OpenAPI 3.1.02026-08-01166346466.7 KBdeprecated_vector_stores
[DEPRECATED] Upload file to vector store
DEPRECATED: Use POST /stores/{store_identifier}/files instead
post/v1/vector_stores/{vector_store_identifier}/files
Path parameters
The ID or name of the vector store
Request body
Response
The uploaded vector store file details
Example response
{
"version": 1,
"usage_bytes": 51200,
"chunks": [
{
"mime_type": "text/plain",
"model": "text-embedding-ada-002",
"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."
}
]
}