Skip to main content
DELETE
/
anthropic
/
v1
/
files
/
{file_id}
Delete file (Anthropic format)
curl --request DELETE \
  --url http://localhost:8080/anthropic/v1/files/{file_id}
{
  "id": "<string>",
  "type": "file_deleted"
}

Headers

x-model-provider
string

Provider for the file

Path Parameters

file_id
string
required

File ID to delete

Response

Successful response

id
string
type
string
default:file_deleted