Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

924 pages for files.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

rate-limits Claude Developer Platform · in the page api/rate-limits …rieve, list, and stream) | 1,200 requests per minute | ### Files API [Files API](https://platform.claude.com/docs/en/build-with-claude/files) requests have their own per-organization limit… Skills Claude Developer Platform · in the page api/skills …t, it must match that Workspace. ### Body parameters (form-data) - `files: array of string` Files to upload for the skill. All files must be in the same top-level directory and must include a… Create Skill Claude Developer Platform · in the page api/skills/create …nt, it must match that Workspace. ## Body parameters (form-data) - `files: array of string` Files to upload for the skill. All files must be in the same top-level directory and must include a… Versions Claude Developer Platform · in the page api/skills/versions …t, it must match that Workspace. ### Body parameters (form-data) - `files: array of string` Files to upload for the skill. All files must be in the same top-level directory and must include a… Create Skill Version Claude Developer Platform · in the page api/skills/versions/create …nt, it must match that Workspace. ## Body parameters (form-data) - `files: array of string` Files to upload for the skill. All files must be in the same top-level directory and must include a… List Skill Versions Claude Developer Platform · in the page api/skills/versions/list …e same value. Also the top-level directory of the Skill's mounted files and the base name of a downloaded archive. - `skill_id: string` Unique identifier for the skill. The format and… Get Skill Version Claude Developer Platform · in the page api/skills/versions/retrieve …e same value. Also the top-level directory of the Skill's mounted files and the base name of a downloaded archive. - `skill_id: string` Unique identifier for the skill. The format and… citations Claude Developer Platform · in the page build-with-claude/citations …rectly in the message (base64, text, or URL) or uploaded through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) and referenced by `file_id`: | Type | Best for… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …not supported * Input sources (URL sources for images and documents, Files API) * Server-side tools (code execution, web search, web fetch, advisor) * Agent infrastructure (Agent Skills, MCP connecto… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …e.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling) * [Files API](https://platform.claude.com/docs/en/build-with-claude/files) Requests that use these features against a deployment hos… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …ding messages and counting tokens. It also includes managing batches, files, skills, and Claude Managed Agents resources. | | `roles/claude.admin` | Claude Admin | Everything `roles/claude.user` all… google-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/google-managed …: * **Input sources:** URL sources for images and documents, and the Files API * **Server-side tools:** Code execution, web fetch, and advisor * **Agent infrastructure:** Agent Skills, MCP connector,… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …-profile-id}`. For AWS's authoritative list of available inference profiles, see [Supported Regions and models for inference profiles](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-pr… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …nference, and store your workspace content (such as prompts, outputs, files, Skills, and batches). For workspaces created before September 18, 2026, 00:00 UTC, Anthropic might process requests, store… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …ion. This allows Claude to save tool results or context to its memory files before they're cleared from the conversation history. This combination allows you to: * **Preserve important context:** Cl… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …tem.getProperty("user.dir")); } try { var dir = Files.createTempDirectory("orchestration-"); Files.writeString(dir.resolve("sample.py"), """ def fib(n):… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …tion detects something Claude should treat as an operator-level fact: files changed on disk, the user toggled an auto-approve setting, available tools changed, or the remaining token budget dropped be… overview Claude Developer Platform · in the page build-with-claude/overview …. * **Context management:** Keep long-running sessions efficient. * **Files and assets:** Manage the documents and data you provide to Claude. If you're new, start with [model capabilities](https://p… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …ent sent alongside PDFs. For large PDFs, consider uploading with the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) and referencing by `file_id` to keep request payloads smal… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …| A [`file_id` from the Files API](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#files-by-id), or base64… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …ot_act_before_instructions> Do not jump into implementation or change files unless clearly instructed to make changes. When the user's intent is ambiguous, default to providing information, doing rese… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …en-stacked compounds, or labels you made up earlier. When you mention files, commits, flags, or other identifiers, give each one its own plain-language clause. Open with the outcome: one sentence on w… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …-summaries) * Unrequested fixes or extensions, or more committed test files than the task called for: [Keep changes and tests to what the task asks for](https://platform.claude.com/docs/en/build-with-… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …ts in the same turn when fanning out across items or reading multiple files. ``` ## Design and frontend defaults Claude Opus 4.8 has strong design instincts, with a consistent default house style: w… prompting-claude-opus-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5 …# Written deliverable length Separate from conversational verbosity, files that Claude Opus 5 writes to disk (reports, Markdown documents, summaries) are often longer than on prior models. If your pr… prompting-claude-sonnet-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5 …for is done and checked, stop and report. Don't add features, tests, files, docs or refactors that weren't asked for. If you think one would help, mention it at the end instead of doing it. ``` With… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …] ) puts message ``` </CodeGroup> ### Downloading generated files When Skills create documents (Excel, PowerPoint, PDF, Word), they return `file_id` attributes in the response. You must use… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …ient = AnthropicOkHttpClient.fromEnv(); byte[] fileBytes = Files.readAllBytes(Path.of("/path/to/document.pdf")); String pdfBase64 = Base64.getEncoder().encodeToString(fileBytes);… vision Claude Developer Platform · in the page build-with-claude/vision …L reference to an image hosted online 3. A `file_id` returned by the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) (upload once, reference many times) <Note> On Amazon Be… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …pes. The `file` source type references an image uploaded through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files). Supported media types are `image/jpeg`, `image/png`, `ima… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …CLI # Option 1: base64-encoded image (@ prefix auto-encodes binary files as base64) curl -sSo vision-example.jpg \ https://platform.claude.com/docs/images/vision-example.jpg ant messages c… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …ents, environments, skills, memory stores, deployments, and vaults as files in your repository and keep the API's resources in sync with them using ant apply. --- `ant apply` creates and updates Clau… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …: Authenticate the ant CLI with interactive login, API keys, named profiles, and Workload Identity Federation. --- The `ant` CLI supports several credential sources. The [Quickstart](https://platform… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …y environment variable, headless hosts, multiple workspaces, named profiles, and Workload Identity Federation), see [CLI authentication options](https://platform.claude.com/docs/en/cli-sdks-libraries/… scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …libraries/cli/scripting description: Version-control API resources as files with ant apply, chain ant CLI commands in scripts, operate on resources from Claude Code, and authenticate curl calls with C… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …h as `--file` on the upload command, accept a bare path: ```bash ant files upload --file ./report.pdf ``` To inline a file's contents into a string-valued field, prefix the path with `@`: ```bash a… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …placement are not configurable) * Stop sequences * Batch processing * Files API * Token counting * Beta headers ## Additional resources | Reference… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …eturn `HttpResponse`: ```csharp using System; using Anthropic.Models.Files; FileDownloadParams parameters = new() { FileID = "file_id" }; var response = await client.Files.Download(parameters); Co… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …the appropriate file name and content type. ```go // A file from the filesystem file, err := os.Open("/path/to/file.json") anthropic.FileUploadParams{ File: anthropic.File(file, "custom-name.json",… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …examples in this documentation are written as [JDK 25 compact source files](https://openjdk.org/jeps/512), using a bare `void main()` entry point and `IO.println()` for output. The API calls themselv… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …rt Anthropic client = Anthropic() # Upload using a file path client.files.upload( file=Path("/path/to/file"), ) # Upload using bytes client.files.upload( file=("file.txt", b"my bytes", "tex… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …d paging a large file into memory, or both: file_metadata = anthropic.files.upload(file: Pathname("/path/to/file")) # Alternatively, pass file contents or a `StringIO` directly: file_metadata = anthr… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …ze this document" } ] } ] }); // Upload MCP resources as files const fileResource = await mcpClient.readResource({ uri: "file:///path/to/data.json" }); await anthropic.files.upload({ file… access-transparency Claude Developer Platform · in the page manage-claude/access-transparency …s not cover:** Products that are not covered by ZDR (for example, the Files API, Anthropic-hosted stateful applications, and the Batch API) are not covered by Access Transparency. See [Zero data reten… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …e [user profile](https://platform.claude.com/docs/en/api/beta/user_profiles) the accessed or preserved data was created under Once your log starts writing a version, it writes every new leaf under th… admin-api Claude Developer Platform · in the page manage-claude/admin-api …s for events about enforcement actions on your organization's user profiles with [organization webhooks](https://platform.claude.com/docs/en/manage-claude/organization-webhooks). ## Best practices *… admin-api-keys Claude Developer Platform · in the page manage-claude/admin-api-keys …ons, installation settings, shares, and marketplaces; download plugin files, including the files of members' personal plugins; validate a marketplace before you connect it… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …er-user daily metrics across chat (conversations, messages, projects, files, artifacts), Claude Code (sessions, commits, pull requests, lines of code, tool actions), Chat and Cowork unified (chat acti… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …appears in message content (prompts and Claude's responses), attached files (images, PDFs), and file names or metadata associated with message content. The following fields are not expected to contain… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …nes\_of\_code.added:** Total number of lines of code added across all files by Claude Code * **lines\_of\_code.removed:** Total number of lines of code removed across all files by Claude Code * **comm…
Feedback