Get File Metadata changedapi/files/retrieve_metadata
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+15added
Lines−6removed
From line
1
where the diff opens
First seen
20 Aug 2026
this site's first read of the page
Recorded edits8to this page, all time
## Headers
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get File Metadata
3url: https://platform.claude.com/docs/en/api/files/retrieve_metadata
4---
5
16# Get File Metadata
27
38**GET** `/v1/files/{file_id}`
from line 15
1015
1116 ID of the File.
1217
18## Headers
19
20- `"anthropic-workspace-id": optional string`
21
1322## Returns
1423
1524- `FileMetadata object`
1625
26 - `type: "file"`
27
28 Object type.
29
30 For files, this is always `"file"`.
31
1732 - `id: string`
1833
1934 Unique object identifier.
from line 58
4358 Size of the file in bytes.
4459
4560 minimum: 0
46
47 - `type: "file"`
48
49 Object type.
50
51 For files, this is always `"file"`.
5261
5362 - `downloadable: optional boolean`
5463
No line in this hunk matches that.