## Compatibility
The whole hunk
from line 4, old and new numbered
/
lines
from line 4
44description: Upload files and mount them in your sandbox for reading and processing.
55---
66
7## Compatibility
8- Status: Beta
9- [Beta header](https://platform.claude.com/docs/en/api/beta-headers): `managed-agents-2026-04-01`
10
711You can provide files to your agent by uploading them through the Files API and mounting them in the session's sandbox.
812
9<Note>
10 Managed Agents API requests require the `managed-agents-2026-04-01` beta header, except memory store endpoints, which use `agent-memory-2026-07-22` instead. The SDK sets the correct beta header automatically. See [Beta headers](https://platform.claude.com/docs/en/api/beta-headers#endpoint-specific-headers).
11</Note>
12
1313## Uploading files
1414
1515First, upload a file using the [Files API](https://platform.claude.com/docs/en/build-with-claude/files):
from line 649
649649 }
650650
651651 // Download a file
652 resp, err := client.Files.Download(ctx, files.Data[0].ID)
652 resp, err := client.Files.Download(ctx, files.Data[0].ID, anthropic.FileDownloadParams{})
653653 if err != nil {
654654 panic(err)
655655 }