Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Permanently delete a file from an organization.
DELETEhttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/files/{file_id}

Permanently removes a file from storage. Files attached to vector stores will be automatically removed from those stores.

Path Parameters

organization_id string required

The unique identifier of the organization.

file_id string required

The unique identifier of the file to delete.


Returns

A deletion confirmation response.

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

Response

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