The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List project attachments
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/attachments/list
4---
5
16# List project attachments
27
38**GET** `/v1/compliance/apps/projects/{project_id}/attachments`
from line 38
3338
3439## Headers
3540
41- `"anthropic-version": optional string`
42
43 The version of the Claude API you want to use.
44
45 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
46
3647- `"x-api-key": optional string`
3748
3849## Returns
from line 56
4556
4657 File attachment reference for compliance responses.
4758
59 - `type: "project_file"`
60
61 Discriminator marking this as a binary file
62
63 default: project_file
64
4865 - `id: string`
4966
5067 File identifier (e.g., 'claude_file_abcd')
from line 88
7188
7289 Size in bytes of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file `/metadata` endpoint for the authoritative value.
7390
74 - `type: "project_file"`
91 - `ComplianceProjectDocReference object`
7592
76 Discriminator marking this as a binary file
93 Project document attachment reference for compliance responses.
7794
78 default: project_file
95 - `type: "project_doc"`
7996
80 - `ComplianceProjectDocReference object`
97 Discriminator marking this as a plain text document
8198
82 Project document attachment reference for compliance responses.
99 default: project_doc
83100
84101 - `id: string`
85102
from line 117
100117 MIME type of the project document, always set to plain text
101118
102119 default: text/plain
103
104 - `type: "project_doc"`
105
106 Discriminator marking this as a plain text document
107
108 default: project_doc
109120
110121 - `updated_at: string or null`
111122