Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Remove a file from a vector store, making it unavailable for semantic search.
DELETEhttps://api.freddy.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

A deletion confirmation response.

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

{
  "id": "file_abc123",
  "vectorStoreId": "vs_abc123",
  "deleted": true
}