--- url: "https://platform.claude.com/docs/en/api/beta/files" titulek: "Files - Claude API Reference" h1: "Files" popis: "API reference for Files endpoints" jazyk: "en" kanonicka: "https://platform.claude.com/docs/en/api/beta/files" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 03:19:15" znaku: 1084 slov: 111 kodovani: "iso-8859-2" sha256: "51692c2a62e2591eb49c43b13f559c88ab2ed46daac0716b34ed8977708d6ca5" --- ### Cookie settings We use cookies to deliver and improve our services, analyze site usage, and if you agree, to customize or personalize your experience and market our services to you. You can read our Cookie Policy [here](https://www.anthropic.com/legal/cookies). # Files ##### [Upload File](/docs/en/api/http/beta/files/upload) POST /v1/files ##### [List Files](/docs/en/api/http/beta/files/list) GET /v1/files ##### [Download File](/docs/en/api/http/beta/files/download) GET /v1/files/{file_id}/content ##### [Get File Metadata](/docs/en/api/http/beta/files/retrieve_metadata) GET /v1/files/{file_id} ##### [Delete File](/docs/en/api/http/beta/files/delete) DELETE /v1/files/{file_id} ##### Models BetaDeletedFile object{ type, id }type: optional "file_deleted"Deleted object type.For file deletion, this is always `"file_deleted"`.defaultfile_deletedid: stringID of the deleted file. BetaFileMetadata object{ type, id, created_at, 6 more } BetaFileScope object{ type, id }type: "session"The type of scope (e.g., `"session"`).id: stringThe ID of the scoping resource (e.g., the session ID).