Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Documents changedapi/compliance/apps/projects/documents

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−32removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits8to this page, all time

### Path parameters ### Headers #### Response (200) ### Path parameters ### Headers #### Response (200) ### Path parameters ### Headers #### Response (200) ## Domain types ### Path Parameters ### Header Parameters #### Response ### Path Parameters ### Header Parameters #### Response ### Path Parameters ### Header Parameters #### Response ## Domain Types

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Documents
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/documents
4---
5 
61# Documents
72 
83## Get project document content
94 
10**get** `/v1/compliance/apps/projects/documents/{document_id}`
5**GET** `/v1/compliance/apps/projects/documents/{document_id}`
116 
127Get detailed information for a specific project document.
138 
14### Path Parameters
9### Path parameters
1510 
1611- `document_id: string`
1712 
1813 The document ID (tagged ID, e.g., claude_proj_doc_abc123)
1914 
20### Header Parameters
15### Headers
2116 
2217- `"x-api-key": optional string`
2318 
from line 30
3530 
3631 Document creation timestamp
3732 
33 format: date-time
34 
3835- `filename: string`
3936 
4037 Document filename
4138 
42- `user: object { id, email_address } or null`
39- `user: object or null`
4340 
4441 The user who created a project or project document.
4542 
from line 54
5754 
5855### Example
5956 
60```http
57```bash
6158curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
6259 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6360```
6461 
65#### Response
62#### Response (200)
6663 
6764```json
6865{
from line 76
7976 
8077## Get project document metadata
8178 
82**get** `/v1/compliance/apps/projects/documents/{document_id}/metadata`
79**GET** `/v1/compliance/apps/projects/documents/{document_id}/metadata`
8380 
8481Returns metadata for a project document, without the content body.
8582 
from line 85
8885fields here are computed over the UTF-8 encoding of that text, so a DLP
8986consumer can dedupe or match hashes without downloading every document.
9087 
91### Path Parameters
88### Path parameters
9289 
9390- `document_id: string`
9491 
9592 The document ID (tagged ID, e.g., claude_proj_doc_abc123)
9693 
97### Header Parameters
94### Headers
9895 
9996- `"x-api-key": optional string`
10097 
from line 109
112109 
113110 Document creation timestamp
114111 
112 format: date-time
113 
115114- `filename: string`
116115 
117116 Document filename
from line 123
124123 
125124 MIME type of the document content, always plain text
126125 
127 - `"text/plain"`
126 default: text/plain
128127 
129128- `size_bytes: number`
130129 
131130 Size in bytes of the document content (UTF-8 encoded)
132131 
133- `user: object { id, email_address } or null`
132- `user: object or null`
134133 
135134 The user who created a project or project document.
136135 
from line 147
148147 
149148### Example
150149 
151```http
150```bash
152151curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID/metadata \
153152 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
154153```
155154 
156#### Response
155#### Response (200)
157156 
158157```json
159158{
from line 172
173172 
174173## Delete project document
175174 
176**delete** `/v1/compliance/apps/projects/documents/{document_id}`
175**DELETE** `/v1/compliance/apps/projects/documents/{document_id}`
177176 
178177Delete a project document for compliance purposes.
179178 
180179Hard-deletes the project document permanently.
181180 
182### Path Parameters
181### Path parameters
183182 
184183- `document_id: string`
185184 
186185 The document ID (tagged ID, e.g., claude_proj_doc_abc123)
187186 
188### Header Parameters
187### Headers
189188 
190189- `"x-api-key": optional string`
191190 
from line 198
199198 
200199 Constant string confirming deletion.
201200 
202 - `"claude_project_document_deleted"`
201 default: claude_project_document_deleted
203202 
204203### Example
205204 
206```http
205```bash
207206curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID \
208207 -X DELETE \
209208 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
210209```
211210 
212#### Response
211#### Response (200)
213212 
214213```json
215214{
from line 217
218217}
219218```
220219 
221## Domain Types
220## Domain types
222221 
223222### Document Retrieve Response
224223 
225- `DocumentRetrieveResponse object { id, content, created_at, 2 more }`
224- `DocumentRetrieveResponse object`
226225 
227226 Project document information for compliance responses.
228227 
from line 237
238237 
239238 Document creation timestamp
240239 
240 format: date-time
241 
241242 - `filename: string`
242243 
243244 Document filename
244245 
245 - `user: object { id, email_address } or null`
246 - `user: object or null`
246247 
247248 The user who created a project or project document.
248249 
from line 261
260261 
261262### Document Metadata Response
262263 
263- `DocumentMetadataResponse object { id, claude_project_id, created_at, 5 more }`
264- `DocumentMetadataResponse object`
264265 
265266 Project document metadata for GET /v1/compliance/apps/projects/documents/{document_id}/metadata.
266267 
from line 280
279280 
280281 Document creation timestamp
281282 
283 format: date-time
284 
282285 - `filename: string`
283286 
284287 Document filename
from line 294
291294 
292295 MIME type of the document content, always plain text
293296 
294 - `"text/plain"`
297 default: text/plain
295298 
296299 - `size_bytes: number`
297300 
298301 Size in bytes of the document content (UTF-8 encoded)
299302 
300 - `user: object { id, email_address } or null`
303 - `user: object or null`
301304 
302305 The user who created a project or project document.
303306 
from line 318
315318 
316319### Document Delete Response
317320 
318- `DocumentDeleteResponse object { id, type }`
321- `DocumentDeleteResponse object`
319322 
320323 Response for deleting a project document.
321324 
from line 330
327330 
328331 Constant string confirming deletion.
329332 
330 - `"claude_project_document_deleted"`
333 default: claude_project_document_deleted
331334 
Feedback