## Compatibility
The whole hunk
from line 2, old and new numbered
/
lines
from line 2
22title: Files API
33url: https://platform.claude.com/docs/en/build-with-claude/files
44description: Upload files once, reference them by file_id in Messages requests, and download outputs created by skills or the code execution tool.
5featureMetadata:
6 status: ga
7 zdr: not-eligible
8 supportedPlatforms:
9 Claude API: ga
10 Claude Platform on AWS: beta
11 Amazon Bedrock: not available
12 Google Cloud: not available
13 Microsoft Foundry:
14 availability: beta
15 note: On [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry), the Files API requires a [Hosted on Anthropic deployment](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry#additional-features-not-supported-when-hosted-on-azure).
516---
6
7## Compatibility
8- [ZDR](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention): not eligible
9- Platforms: Claude API, Claude Platform on AWS (beta), Microsoft Foundry (beta) [1]; not available on Amazon Bedrock, Google Cloud
101. On [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry), the Files API requires a [Hosted on Anthropic deployment](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry#additional-features-not-supported-when-hosted-on-azure).
1117
1218The Files API lets you upload and manage files to use with the Claude API without re-uploading content with each request. This is particularly useful when using the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) to provide inputs (for example, datasets and documents) and then download outputs (for example, charts). You can [explore the API reference directly](https://platform.claude.com/docs/en/api/files/upload), in addition to this guide.
1319