Delete file
delete_fileDelete a file by its ID. Removes batch files or bound image/reference files from the server.
Instructions
Delete file Deletes a batch file or a bound image/reference file. When the request includes anthropic-beta: files-api-2025-04-14, the route uses Anthropic Files API mode for the bound workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID returned by the Files API. |