files changedmanaged-agents/files
Nearest release: v2.1.274, published 7 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+5added
Lines−5removed
From line
4
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits24to this page, all time
## Compatibility
The whole hunk
from line 4, old and new numbered
/
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 }
No line in this hunk matches that.