Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Upload File changed

api/files/upload

Nearest release: v2.1.268, published under an hour 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+16added
Lines−7removed
From line 1 where the diff opens
First seen 20 Aug 2026 this site's first read of the page
Recorded edits4to this page, all time

## Headers

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Upload File
3url: https://platform.claude.com/docs/en/api/files/upload
4---
5 
16# Upload File
27 
38**POST** `/v1/files`
from line 9
49 
510Upload File
611 
12## Headers
13 
14- `"anthropic-workspace-id": optional string`
15 
716## Body parameters (form-data)
817 
918- `file: string`
1019 
11 The file to upload
20 The file to upload. Only the final path component of the part's `filename` is kept; an absent or empty `filename` is replaced with `unnamed` plus the extension for the file's stored `mime_type`, when known.
1221 
1322 format: binary
1423 
from line 31
2231 
2332- `FileMetadata object`
2433 
34 - `type: "file"`
35 
36 Object type.
37 
38 For files, this is always `"file"`.
39 
2540 - `id: string`
2641 
2742 Unique object identifier.
from line 66
5166 Size of the file in bytes.
5267 
5368 minimum: 0
54 
55 - `type: "file"`
56 
57 Object type.
58 
59 For files, this is always `"file"`.
6069 
6170 - `downloadable: optional boolean`
6271