Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Files

Retrieve vector store file content
$ openai vector-stores:files content
GET/vector_stores/{vector_store_id}/files/{file_id}/content
Create vector store file
$ openai vector-stores:files create
POST/vector_stores/{vector_store_id}/files
Delete vector store file
$ openai vector-stores:files delete
DELETE/vector_stores/{vector_store_id}/files/{file_id}
List vector store files
$ openai vector-stores:files list
GET/vector_stores/{vector_store_id}/files
Retrieve vector store file
$ openai vector-stores:files retrieve
GET/vector_stores/{vector_store_id}/files/{file_id}
Update vector store file attributes
$ openai vector-stores:files update
POST/vector_stores/{vector_store_id}/files/{file_id}
ModelsExpand Collapse
vector_store_file: object { id, created_at, last_error, 6 more }

A list of files attached to a vector store.

vector_store_file_deleted: object { id, deleted, object }