Get project document metadata changedapi/compliance/apps/projects/documents/metadata
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+12added
Lines−15removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits7to this page, all time
# Get project document metadata ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get project document metadata ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get project document metadata
3url: https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/metadata
4---
1# Get project document metadata
52
6## Get project document metadata
3**GET** `/v1/compliance/apps/projects/documents/{document_id}/metadata`
74
8**get** `/v1/compliance/apps/projects/documents/{document_id}/metadata`
9
105Returns metadata for a project document, without the content body.
116
127Use the sibling `GET /v1/compliance/apps/projects/documents/{document_id}`
from line 9
149fields here are computed over the UTF-8 encoding of that text, so a DLP
1510consumer can dedupe or match hashes without downloading every document.
1611
17### Path Parameters
12## Path parameters
1813
1914- `document_id: string`
2015
2116 The document ID (tagged ID, e.g., claude_proj_doc_abc123)
2217
23### Header Parameters
18## Headers
2419
2520- `"x-api-key": optional string`
2621
27### Returns
22## Returns
2823
2924- `id: string`
3025
from line 33
3833
3934 Document creation timestamp
4035
36 format: date-time
37
4138- `filename: string`
4239
4340 Document filename
from line 47
5047
5148 MIME type of the document content, always plain text
5249
53 - `"text/plain"`
50 default: text/plain
5451
5552- `size_bytes: number`
5653
5754 Size in bytes of the document content (UTF-8 encoded)
5855
59- `user: object { id, email_address } or null`
56- `user: object or null`
6057
6158 The user who created a project or project document.
6259
from line 69
7269
7370 User's email address
7471
75### Example
72## Example
7673
77```http
74```bash
7875curl https://api.anthropic.com/v1/compliance/apps/projects/documents/$DOCUMENT_ID/metadata \
7976 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8077```
8178
82#### Response
79### Response (200)
8380
8481```json
8582{
No line in this hunk matches that.