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 51 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 28 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

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

16 operations 10 paths 28 schemas 2 DELETE7 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

OpenAI Vector stores API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). 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
Returns a list of vector stores.
listVectorStores 4 params → 200
POST
/vector_stores
Create a vector store.
createVectorStore body → 200
GET
/vector_stores/{vector_store_id}
Retrieves a vector store.
getVectorStore 1 param → 200
POST
/vector_stores/{vector_store_id}
Modifies a vector store.
modifyVectorStore 1 param body → 200
DELETE
/vector_stores/{vector_store_id}
Delete a vector store.
deleteVectorStore 1 param → 200
POST
/vector_stores/{vector_store_id}/file_batches
Create a vector store file batch.
createVectorStoreFileBatch 1 param body → 200
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}
Retrieves a vector store file batch.
getVectorStoreFileBatch 2 params → 200
POST
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel
Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
cancelVectorStoreFileBatch 2 params → 200
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}/files
Returns a list of vector store files in a batch.
listFilesInVectorStoreBatch 7 params → 200
GET
/vector_stores/{vector_store_id}/files
Returns a list of vector store files.
listVectorStoreFiles 6 params → 200
POST
/vector_stores/{vector_store_id}/files
Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).
createVectorStoreFile 1 param body → 200
GET
/vector_stores/{vector_store_id}/files/{file_id}
Retrieves a vector store file.
getVectorStoreFile 2 params → 200
DELETE
/vector_stores/{vector_store_id}/files/{file_id}
Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoi…
deleteVectorStoreFile 2 params → 200
POST
/vector_stores/{vector_store_id}/files/{file_id}
Update attributes on a vector store file.
updateVectorStoreFileAttributes 2 params body → 200
GET
/vector_stores/{vector_store_id}/files/{file_id}/content
Retrieve the parsed contents of a vector store file.
retrieveVectorStoreFileContent 2 params → 200
POST
/vector_stores/{vector_store_id}/search
Search a vector store for relevant chunks based on a query and file attributes filter.
searchVectorStore 1 param body → 200

Schemas 28

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

StaticChunkingStrategyRequestParam
object
Customize your own chunking strategy by setting chunk size and chunk overlap.
2 properties 2 required
VectorStoreFileObject
object
A list of files attached to a vector store.
9 properties 7 required
VectorStoreExpirationAfter
object
The expiration policy for a vector store.
2 properties 2 required
CreateVectorStoreFileRequest
object
3 properties 1 required
StaticChunkingStrategy
object
2 properties 2 required
ListVectorStoreFilesResponse
object
5 properties 5 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
VectorStoreFileContentResponse
object
Represents the parsed content of a vector store file.
4 properties 4 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
UpdateVectorStoreFileAttributesRequest
object
1 property 1 required
UpdateVectorStoreRequest
object
3 properties
DeleteVectorStoreFileResponse
object
3 properties 3 required
VectorStoreFileAttributes
CreateVectorStoreRequest
object
6 properties
CompoundFilter
object
Combine multiple filters using and or or.
2 properties 2 required
Metadata
ChunkingStrategyRequestParam
object
The chunking strategy used to chunk the file(s). If not set, will use the auto strategy.
VectorStoreSearchResultContentObject
object
2 properties 2 required
ListVectorStoresResponse
object
5 properties 5 required
VectorStoreSearchResultsPage
object
5 properties 5 required
DeleteVectorStoreResponse
object
3 properties 3 required
VectorStoreSearchResultItem
object
5 properties 5 required
AutoChunkingStrategyRequestParam
object
The default strategy. This strategy currently uses a maxchunksizetokens of 800 and chunkoverlaptokens of 400.
1 property 1 required
VectorStoreSearchRequest
object
5 properties 1 required
VectorStoreFileBatchObject
object
A batch of files attached to a vector store.
6 properties 6 required
CreateVectorStoreFileBatchRequest
object
4 properties
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

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.