Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

Delete an uploaded file

For guidance and examples, see Manage files.

curl
PINECONE_API_KEY="YOUR_API_KEY"
ASSISTANT_NAME="example-assistant"
FILE_ID="070513b3-022f-4966-b583-a9b12e0290ff"

curl -X DELETE "https://prod-1-data.ke.pinecone.io/assistant/files/$ASSISTANT_NAME/$FILE_ID" \
  -H "Api-Key: $PINECONE_API_KEY" \
  -H "X-Pinecone-Api-Version: 2025-10"

DELETE /files/{assistant_name}/{assistant_file_id}

  • X-Pinecone-Api-Version (header, string, required) — Required date-based version header
  • assistant_name (path, string, required) — The name of the assistant to upload files to.
  • assistant_file_id (path, string, required) — The uuid of the file to be described.
  • 200 — The request to delete the file has been accepted.
  • 401 — Unauthorized. Possible causes: Invalid API key.
  • 404 — File not found.
  • 500 — Internal server error.
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu