zoxaAI
Homepage
API ReferenceFiles

Delete a file

DELETE /api/v1/files/{file_id} — soft-delete a file and its chunks.

DELETE /api/v1/files/{file_id}

Response

200 OK:

{ "id": "abc12345-...", "object": "file", "deleted": true }

Examples

curl -X DELETE https://dashboard.zoxa.ai/api/v1/files/abc12345-... \
  -H "X-API-Key: zsk_..."

Errors

StatusdetailWhen
404"File not found"UUID not in your org.

On this page