How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenAI Vector stores API

The Vector stores API from OpenAI — 10 operation(s) for vector stores.

OpenAI Vector stores API is one of 62 APIs that OpenAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Vector Stores. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 16 operations across 10 paths, and defines 38 schemas. It is described by OpenAPI 3.2.0, at version 2.3.0.

Requests are made against a single base URL, https://api.openai.com/v1.

16 operations 10 paths 38 schemas 2 DELETE7 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.3.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer, HTTP Bearer
License
MIT
Terms of Service
Resource Areas
1

Authentication & Security 2

OpenAI Vector stores API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). It accepts HTTP bearer tokens (AdminApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 16

Across 10 paths, the API surfaces 16 operations — 2 DELETE, 7 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

Vector Stores 16
GET
/vector_stores
List vector stores
listVectorStores 4 params → 200429
POST
/vector_stores
Create vector store
createVectorStore body → 200429
GET
/vector_stores/{vector_store_id}
Retrieve vector store
getVectorStore 1 param → 200429
POST
/vector_stores/{vector_store_id}
Modify vector store
modifyVectorStore 1 param body → 200429
DELETE
/vector_stores/{vector_store_id}
Delete vector store
deleteVectorStore 1 param → 200429
POST
/vector_stores/{vector_store_id}/file_batches
Create vector store file batch
createVectorStoreFileBatch 1 param body → 200429
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}
Retrieve vector store file batch
getVectorStoreFileBatch 2 params → 200429
POST
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
Cancel vector store file batch
cancelVectorStoreFileBatch 2 params → 200429
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}/files
List vector store files in a batch
listFilesInVectorStoreBatch 7 params → 200429
GET
/vector_stores/{vector_store_id}/files
List vector store files
listVectorStoreFiles 6 params → 200429
POST
/vector_stores/{vector_store_id}/files
Create vector store file
createVectorStoreFile 1 param body → 200429
GET
/vector_stores/{vector_store_id}/files/{file_id}
Retrieve vector store file
getVectorStoreFile 2 params → 200429
DELETE
/vector_stores/{vector_store_id}/files/{file_id}
Delete vector store file
deleteVectorStoreFile 2 params → 200429
POST
/vector_stores/{vector_store_id}/files/{file_id}
Update vector store file attributes
updateVectorStoreFileAttributes 2 params body → 200429
GET
/vector_stores/{vector_store_id}/files/{file_id}/content
Retrieve vector store file content
retrieveVectorStoreFileContent 2 params → 200429
POST
/vector_stores/{vector_store_id}/search
Search vector store
searchVectorStore 1 param body → 200429

Schemas 38

The contract defines 38 schemas that model the data the API accepts and returns. The most detailed are VectorStoreObject (11 properties), VectorStoreObject_2 (11 properties), VectorStoreFileObject (9 properties), VectorStoreFileBatchObject_2 (6 properties). Each schema is shown below with its type and property counts.

CreateVectorStoreFileBatchRequest
object
4 properties
VectorStoreFileObject
object
A list of files attached to a vector store.
9 properties 7 required
CompoundFilter
object
Combine multiple filters using and or or.
2 properties 2 required
VectorStoreSearchResultItem
object
5 properties 5 required
_MisalignmentSteer
object
1 property 1 required
CreateVectorStoreRequest
object
6 properties
StaticChunkingStrategy
object
2 properties 2 required
DeleteVectorStoreResponse
object
3 properties 3 required
Error
object
5 properties 4 required
ComparisonFilter
object
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
3 properties 3 required
VectorStoreSearchRequest
object
5 properties 1 required
StaticChunkingStrategyRequestParam
object
Customize your own chunking strategy by setting chunk size and chunk overlap.
2 properties 2 required
VectorStoreFileBatchObject
object
A batch of files attached to a vector store.
6 properties 6 required
VectorStoreSearchResultContentObject
object
2 properties 2 required
ChunkingStrategyRequestParam
object
The chunking strategy used to chunk the file(s). If not set, will use the auto strategy.
UpdateVectorStoreRequest
object
3 properties
_MisalignmentErrorType
DeleteVectorStoreFileResponse
object
3 properties 3 required
VectorStoreSearchResultsPage
object
5 properties 5 required
OtherChunkingStrategyResponseParam
object
This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the chunkingstrategy concept was introduced in t…
1 property 1 required
ListVectorStoreFilesResponse
object
5 properties 5 required
VectorStoreFileAttributes
CreateVectorStoreFileRequest
object
3 properties 1 required
ErrorResponse
object
1 property 1 required
VectorStoreFileContentResponse
object
Represents the parsed content of a vector store file.
4 properties 4 required
MisalignmentErrorDetailsResource
object
3 properties
AutoChunkingStrategyRequestParam
object
The default strategy. This strategy currently uses a maxchunksizetokens of 800 and chunkoverlaptokens of 400.
1 property 1 required
UpdateVectorStoreFileAttributesRequest
object
1 property 1 required
StaticChunkingStrategyResponseParam
object
2 properties 2 required
VectorStoreObject
object
A vector store is a collection of processed files can be used by the filesearch tool.
11 properties 9 required
Metadata
ListVectorStoresResponse
object
5 properties 5 required
VectorStoreExpirationAfter
object
The expiration policy for a vector store.
2 properties 2 required
CompoundFilter_2
object
Combine multiple filters using and or or.
2 properties 2 required
VectorStoreFileBatchObject_2
object
A batch of files attached to a vector store.
6 properties 6 required
UpdateVectorStoreRequest_2
object
3 properties
MisalignmentErrorDetailsResource_2
object
4 properties
VectorStoreObject_2
object
A vector store is a collection of processed files can be used by the filesearch tool.
11 properties 9 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openai-vector-stores-api-openapi.yml Raw ↑

Other APIs OpenAI publishes across the network.

OpenAI Responses API
OpenAI Moderations API
OpenAI Batch API
OpenAI Uploads API
OpenAI Realtime API
OpenAI Evals API
OpenAI Videos API
OpenAI Conversations API
OpenAI Containers API
OpenAI ChatKit API
OpenAI Skills API
OpenAI Agents SDK
Where this information came from

This is an independent, third-party profile of OpenAI Vector stores API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.