Skip to content
Last updated

Remove a file from a vector store, making it unavailable for semantic search.

DELETEhttps://api.aitronos.com/v1/organizations/{organization_id}/vector-stores/{vector_store_id}/files/{file_id}

Removes a file from the vector store index. The file itself remains in organization storage and can be re-added later.

Path Parameters

organization_id string required

The unique identifier of the organization.

vector_store_id string required

The unique identifier of the vector store.

file_id string required

The unique identifier of the file to remove.


Returns

Returns 204 No Content on successful deletion. No response body is returned.

Bash
curl -X DELETE "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files/file_abc123" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

Empty response body. The file has been successfully removed from the vector store.