Attachments changedapi/compliance/apps/projects/attachments
Nearest release: v2.1.245, published 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+35added
Lines−26removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
### Path parameters ### Query parameters ### Headers #### Response (200) ## Domain types ### Path Parameters ### Query Parameters ### Header Parameters #### Response ## Domain Types
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Attachments
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/attachments
4---
5
61# Attachments
72
83## List project attachments
94
10**get** `/v1/compliance/apps/projects/{project_id}/attachments`
5**GET** `/v1/compliance/apps/projects/{project_id}/attachments`
116
127List files and documents attached to a project.
138
from line 15
2015The text content of attached project documents can be fetched using the
2116GET /v1/compliance/apps/projects/documents/{claude_proj_doc_id} endpoint.
2217
23### Path Parameters
18### Path parameters
2419
2520- `project_id: string`
2621
2722 The project ID (tagged ID, e.g., claude_proj_abc123)
2823
29### Query Parameters
24### Query parameters
3025
3126- `limit: optional number`
3227
3328 Maximum results (default: 20, max: 100)
3429
30 default: 20, maximum: 100, minimum: 1
31
3532- `page: optional string`
3633
3734 Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
3835
39### Header Parameters
36### Headers
4037
4138- `"x-api-key": optional string`
4239
4340### Returns
4441
45- `data: array of object { id, created_at, filename, 4 more } or object { id, created_at, filename, 3 more }`
42- `data: array of object or object`
4643
4744 List of attachments sorted chronologically by created_at, tie break by id
4845
49 - `ComplianceProjectFileReference object { id, created_at, filename, 4 more }`
46 - `ComplianceProjectFileReference object`
5047
5148 File attachment reference for compliance responses.
5249
from line 55
5855
5956 Creation timestamp (RFC 3339 format)
6057
58 format: date-time
59
6160 - `filename: string`
6261
6362 Display name of the file (e.g., 'document.pdf')
from line 77
7877
7978 Discriminator marking this as a binary file
8079
81 - `"project_file"`
80 default: project_file
8281
83 - `ComplianceProjectDocReference object { id, created_at, filename, 3 more }`
82 - `ComplianceProjectDocReference object`
8483
8584 Project document attachment reference for compliance responses.
8685
from line 91
9291
9392 Creation timestamp (RFC 3339 format)
9493
94 format: date-time
95
9596 - `filename: string`
9697
9798 Display name of the document (e.g., 'document.txt')
from line 101
100101
101102 MIME type of the project document, always set to plain text
102103
103 - `"text/plain"`
104 default: text/plain
104105
105106 - `type: "project_doc"`
106107
107108 Discriminator marking this as a plain text document
108109
109 - `"project_doc"`
110 default: project_doc
110111
111112 - `updated_at: string or null`
112113
113114 Last-modified timestamp of the document. Reserved for future use — currently always null.
114115
116 format: date-time
117
115118- `has_more: boolean`
116119
117120 Whether more records exist beyond the current result set
from line 125
122125
123126### Example
124127
125```http
128```bash
126129curl https://api.anthropic.com/v1/compliance/apps/projects/$PROJECT_ID/attachments \
127130 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
128131```
129132
130#### Response
133#### Response (200)
131134
132135```json
133136{
from line 150
147150}
148151```
149152
150## Domain Types
153## Domain types
151154
152155### Attachment List Response
153156
154- `AttachmentListResponse = object { id, created_at, filename, 4 more } or object { id, created_at, filename, 3 more }`
157- `AttachmentListResponse = object or object`
155158
156159 File attachment reference for compliance responses.
157160
158 - `ComplianceProjectFileReference object { id, created_at, filename, 4 more }`
161 - `ComplianceProjectFileReference object`
159162
160163 File attachment reference for compliance responses.
161164
from line 170
167170
168171 Creation timestamp (RFC 3339 format)
169172
173 format: date-time
174
170175 - `filename: string`
171176
172177 Display name of the file (e.g., 'document.pdf')
from line 192
187192
188193 Discriminator marking this as a binary file
189194
190 - `"project_file"`
195 default: project_file
191196
192 - `ComplianceProjectDocReference object { id, created_at, filename, 3 more }`
197 - `ComplianceProjectDocReference object`
193198
194199 Project document attachment reference for compliance responses.
195200
from line 206
201206
202207 Creation timestamp (RFC 3339 format)
203208
209 format: date-time
210
204211 - `filename: string`
205212
206213 Display name of the document (e.g., 'document.txt')
from line 216
209216
210217 MIME type of the project document, always set to plain text
211218
212 - `"text/plain"`
219 default: text/plain
213220
214221 - `type: "project_doc"`
215222
216223 Discriminator marking this as a plain text document
217224
218 - `"project_doc"`
225 default: project_doc
219226
220227 - `updated_at: string or null`
221228
222229 Last-modified timestamp of the document. Reserved for future use — currently always null.
230
231 format: date-time
223232
No line in this hunk matches that.