Get File Metadata changedapi/beta/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+20added
Lines−11removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
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/beta/files/retrieve_metadata
4---
5
16# Get File Metadata
27
38**GET** `/v1/files/{file_id}`
from line 23
1823
1924 - `string`
2025
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227
2328 - `"message-batches-2024-09-24"`
2429
from line 71
6671
6772 - `"user-profiles-2026-08-18"`
6873
74 - `"user-profiles-2026-09-04"`
75
6976 - `"advisor-tool-2026-03-01"`
7077
7178 - `"managed-agents-2026-04-01"`
from line 115
108115
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117
118- `"anthropic-workspace-id": optional string`
119
111120## Returns
112121
113122- `BetaFileMetadata object`
114123
124 - `type: "file"`
125
126 Object type.
127
128 For files, this is always `"file"`.
129
115130 - `id: string`
116131
117132 Unique object identifier.
from line 157
142157
143158 minimum: 0
144159
145 - `type: "file"`
146
147 Object type.
148
149 For files, this is always `"file"`.
150
151160 - `downloadable: optional boolean`
152161
153162 Whether the file can be downloaded.
from line 173
164173
165174 The scope of this file, indicating the context in which it was created (e.g., a session).
166175
167 - `id: string`
168
169 The ID of the scoping resource (e.g., the session ID).
170
171176 - `type: "session"`
172177
173178 The type of scope (e.g., `"session"`).
179
180 - `id: string`
181
182 The ID of the scoping resource (e.g., the session ID).
174183
175184## Example
176185
No line in this hunk matches that.