In short.
Adding files is a guide for developers building file-processing workflows with Claude Managed Agents, with the catch that it uses beta APIs and mounts inputs as read-only copies. Developers upload files through the Files API, attach them to a session and retrieve generated files from the session’s outputs directory. The guide documents a maximum of 500 files per session, separate identifiers for uploads and session resources, and possible delays before output files become downloadable. It also flags a Zero Data Retention restriction and persistent session transcripts. Pricing, upload size limits and processing quality are not established by this page; no examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://platform.claude.com/docs/en/managed-agents/files.md]: uploads, session mounts, multiple files, running-session resource management, output listing and downloads, supported file types, path rules, and beta, platform, model and retention metadata. Linked overview and separate Files API pages are excluded. Examples were not executed; processing quality, runtime reliability, pricing, licensing and behavior beyond the documented scope remain unassessed or unknown.
The overview
Identity
Adding files is an Anthropic documentation page about file handling in Claude Managed Agents. Its scope is uploading inputs, mounting them in a session sandbox, changing session resources and retrieving output files. The source address is [https://platform.claude.com/docs/en/managed-agents/files.md].
This is a feature guide for an existing agent service. It does not provide a standalone application, downloadable agent definition or complete introduction to creating agents and environments.
Assessment
The guide is useful when an application needs to give an agent source files or data and collect generated artifacts. Its strongest practical details are the exact sandbox paths, read-only input behavior, identifier distinctions and advice for handling delayed output availability.
It supports implementation planning, but does not establish processing accuracy, performance or production reliability. Developers starting from scratch will need additional documentation for agent creation, environment configuration and broader Files API limits.
Users
The intended readers are developers integrating Claude agents into applications that process files. Relevant examples include CSV analysis, source-code inspection and document transformation.
Beginners can follow the upload-to-output sequence, but the examples assume familiarity with API credentials, identifiers and either HTTP requests, a command-line interface or an SDK. Experienced developers get details needed for resource tracking and output retrieval.
Capabilities
The documented operations include uploading files, mounting multiple inputs when creating a session, adding and removing files after session creation, listing session resources, and listing and downloading session files. Each session supports at most 500 files.
The page describes support for any file type, including source code, structured data, text documents, archives and binary files. Archives can be extracted using bash; binary processing depends on appropriate tools. File-type support alone does not establish that every format can be interpreted correctly.
Using it
Requirements
The examples require an Anthropic API key, an existing agent and environment, and files to upload. They use anthropic-version: 2026-10-21 and the managed-agents-2026-04-01 beta header. Filtering Files API listings by scope_id explicitly requires that beta header.
The page metadata marks support on Claude API, Claude Platform on AWS and Claude Models on Google Cloud (Anthropic managed) as beta, and lists supported Claude model identifiers. Minimum SDK and CLI versions, account eligibility details and environment tool requirements are not specified.
Mechanism
Uploading through the Files API returns a file_id. A session’s resources array references that upload with type set to file and an optional mount_path. The session receives a read-only copy with a new file_id; these session copies do not count against the stated storage limits.
Adding or listing a session resource also exposes a resource id, which is used to remove that attachment. Applications need to distinguish the uploaded file identifier, the session copy’s file identifier and the resource identifier.
Files written under /mnt/session/outputs/ become available through the Files API with the session as their scope. Publication can lag behind writing, sometimes continuing for a few seconds after the session becomes idle.
Setup
Upload an input through POST /v1/files, then include its returned file_id in the resources array of POST /v1/sessions alongside the agent and environment identifiers. Setting mount_path to /data.csv makes the file available inside the sandbox at /mnt/session/uploads/data.csv.
Paths should begin with /. Parent directories are created automatically. Omitting mount_path places the input at /mnt/session/uploads/<file_id>. To retrieve generated files, list /v1/files with scope_id set to the session identifier, then download the desired file through its content endpoint.
Example
An illustrative CSV workflow is to upload data.csv, mount it with mount_path set to /data.csv, and ask the agent to read /mnt/session/uploads/data.csv and write a summary to /mnt/session/outputs/summary.txt. The output filename and summarization task are illustrative applications of the documented path rules.
After processing, list files using the session’s scope_id. If the expected summary is absent, list again after a short delay; the page says its appearance confirms that uploading the output has completed. This example was not run, and no summary quality or completion time is established.
Assessment & evidence
Limitations
Mounted inputs cannot be edited in place. Modified versions must be written to new sandbox paths, and generated artifacts must be placed under /mnt/session/outputs/ to become available through the documented Files API workflow. Output availability can be delayed.
The metadata marks Managed Agents as ineligible for Zero Data Retention, with an exception for self-hosted Managed Agents, and says session transcripts persist until deleted. Uploaded-file and output-file retention periods, and the full deletion effects of removing a resource, are not specified.
Beyond the 500-file session maximum, the page does not establish upload size limits, storage quotas, rate limits, processing duration limits or guaranteed tool availability for particular formats.
Reasoning
The documented separation between read-only inputs and newly written outputs can help preserve original data while producing revised files. This is an inference from the copy and path rules, not a measured reliability result.
The identifier and timing rules have direct implementation consequences: removal uses the session resource identifier, and output retrieval needs to tolerate a delay before a generated file appears. Applications that ignore these details may target the wrong identifier or look for an output too early.
Alternatives
The guide offers cURL, the ant CLI, and SDK examples for Python, TypeScript, C#, Go, Java, PHP and Ruby. These provide interface choices for implementing the same documented file workflow; developers can choose according to their application stack.
The page supplies no comparison with competing agent services, other file-ingestion approaches or self-hosted implementations. Relative price, performance and ease of use are not assessed.
Evidence
The evidence is the complete Adding files documentation page at [https://platform.claude.com/docs/en/managed-agents/files.md], including its metadata, API and SDK examples, resource-management instructions and file-path notes.
The linked overview and separate Files API pages are excluded. The findings describe documented behavior; no commands, uploads, sessions or downloads were executed, and no independent performance or reliability evidence is supplied.
Access & freshness
Costs
The page provides no prices or billing rules for agent processing, uploads, downloads or storage. Total and per-task costs are unknown.
It states that copies created within sessions do not count against storage limits. That statement does not establish that uploading, storing or processing files is free. The linked Files API documentation is outside this page’s scope.
Rights
The page does not state a license or redistribution grant for its text or code examples. SDK licensing, service usage terms and ownership terms for uploaded materials and generated files are also not established here.
Read-only mounting describes how files behave in the sandbox; it does not establish copyright permissions or rights to process a particular input.
Freshness
The available documentation snapshot was captured on 12 November 2026 at 21:14:48.624 UTC. It identifies the feature as beta, names managed-agents-2026-04-01 as the beta header and uses anthropic-version: 2026-10-21 in its HTTP examples.
Those identifiers do not establish a publication date or release history. Compatibility with later SDK releases and changes after the snapshot are unknown.
Actions
For an initial integration, confirm beta access and compatible client versions, prepare an agent and environment, and follow the single-file upload and mount example. Track upload, session-file and resource identifiers separately, and account for the uploads directory prefix when specifying paths to the agent.
Write deliverable artifacts under /mnt/session/outputs/ and accommodate delayed file listings. Before adopting the workflow for ongoing use, establish actual pricing, applicable size and rate limits, and whether transcript retention and file deletion behavior meet the application’s requirements.
