v44

latestOpenAPI 3.0.0MITraw.githubusercontent.com2024-11-0494279768.0 KB
Vector stores

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](https://platform.openai.com/docs/api-reference/files/delete) endpoint.

delete/vector_stores/{vector_store_id}/files/{file_id}

Path parameters

vector_store_idstring required

The ID of the vector store that the file belongs to.

file_idstring required

The ID of the file to delete.

Response

OK

idstring required
deletedboolean required
object'vector_store.file.deleted' required