The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Attachments
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/attachments
4---
5
16# Attachments
27
38## List project attachments
from line 40
3540
3641### Headers
3742
43- `"anthropic-version": optional string`
44
45 The version of the Claude API you want to use.
46
47 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
48
3849- `"x-api-key": optional string`
3950
4051### Returns
from line 58
4758
4859 File attachment reference for compliance responses.
4960
61 - `type: "project_file"`
62
63 Discriminator marking this as a binary file
64
65 default: project_file
66
5067 - `id: string`
5168
5269 File identifier (e.g., 'claude_file_abcd')
from line 90
7390
7491 Size in bytes of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file `/metadata` endpoint for the authoritative value.
7592
76 - `type: "project_file"`
93 - `ComplianceProjectDocReference object`
7794
78 Discriminator marking this as a binary file
95 Project document attachment reference for compliance responses.
7996
80 default: project_file
97 - `type: "project_doc"`
8198
82 - `ComplianceProjectDocReference object`
99 Discriminator marking this as a plain text document
83100
84 Project document attachment reference for compliance responses.
101 default: project_doc
85102
86103 - `id: string`
87104
from line 120
103120
104121 default: text/plain
105122
106 - `type: "project_doc"`
107
108 Discriminator marking this as a plain text document
109
110 default: project_doc
111
112123 - `updated_at: string or null`
113124
114125 Last-modified timestamp of the document. Reserved for future use — currently always null.
from line 173
162173
163174 File attachment reference for compliance responses.
164175
176 - `type: "project_file"`
177
178 Discriminator marking this as a binary file
179
180 default: project_file
181
165182 - `id: string`
166183
167184 File identifier (e.g., 'claude_file_abcd')
from line 205
188205
189206 Size in bytes of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file `/metadata` endpoint for the authoritative value.
190207
191 - `type: "project_file"`
208 - `ComplianceProjectDocReference object`
192209
193 Discriminator marking this as a binary file
210 Project document attachment reference for compliance responses.
194211
195 default: project_file
212 - `type: "project_doc"`
196213
197 - `ComplianceProjectDocReference object`
214 Discriminator marking this as a plain text document
198215
199 Project document attachment reference for compliance responses.
216 default: project_doc
200217
201218 - `id: string`
202219
from line 234
217234 MIME type of the project document, always set to plain text
218235
219236 default: text/plain
220
221 - `type: "project_doc"`
222
223 Discriminator marking this as a plain text document
224
225 default: project_doc
226237
227238 - `updated_at: string or null`
228239