v6

latestSwagger 2.02026-07-1340109191.2 KB

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 endpoint.

delete/vector_stores/{vectorStoreId}/files/{fileId}

Path parameters

vectorStoreIdstring required

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

fileIdstring required

The ID of the file to delete its relationship to the vector store.

Response

The request has succeeded.

idstring required

The ID of the resource specified for deletion.

deletedboolean required

A value indicating whether deletion was successful.

object'vector_store.file.deleted' required

The object type, which is always 'vector_store.deleted'.