Upload File changedapi/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 edits9to this page, all time
## Headers
The whole hunk
from line 1, old and new numbered
/
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
No line in this hunk matches that.