The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Files
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/files
4---
5
16# Files
27
38## Get file metadata
from line 21
1621
1722### Headers
1823
24- `"anthropic-version": optional string`
25
26 The version of the Claude API you want to use.
27
28 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
29
1930- `"x-api-key": optional string`
2031
2132### Returns
from line 106
95106
96107### Headers
97108
98- `"x-api-key": optional string`
109- `"anthropic-version": optional string`
99110
100### Returns
111 The version of the Claude API you want to use.
101112
102- `id: string`
113 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
103114
104 The ID of the file that was deleted
115- `"x-api-key": optional string`
105116
117### Returns
118
106119- `type: optional "claude_file_deleted"`
107120
108121 Constant string confirming deletion
from line 122
109122
110123 default: claude_file_deleted
111124
125- `id: string`
126
127 The ID of the file that was deleted
128
112129### Example
113130
114131```bash
from line 157
140157
141158### Headers
142159
160- `"anthropic-version": optional string`
161
162 The version of the Claude API you want to use.
163
164 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
165
143166- `"x-api-key": optional string`
144167
145168### Example
from line 223
200223
201224 Response for deleting a compliance file.
202225
203 - `id: string`
204
205 The ID of the file that was deleted
206
207226 - `type: optional "claude_file_deleted"`
208227
209228 Constant string confirming deletion
210229
211230 default: claude_file_deleted
231
232 - `id: string`
233
234 The ID of the file that was deleted
212235