Get file metadata changedapi/compliance/apps/chats/files/retrieve
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+10added
Lines−13removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits6to this page, all time
# Get file metadata ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get file metadata ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Get file metadata
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/files/retrieve
4---
1# Get file metadata
52
6## Get file metadata
3**GET** `/v1/compliance/apps/chats/files/{claude_file_id}`
74
8**get** `/v1/compliance/apps/chats/files/{claude_file_id}`
9
105Retrieves metadata for a file referenced in chat messages, without
116downloading the file content. Use the sibling `/content` endpoint to
127download the bytes.
138
14### Path Parameters
9## Path parameters
1510
1611- `claude_file_id: string`
1712
1813 The file ID (tagged ID, e.g., claude_file_abc123)
1914
20### Header Parameters
15## Headers
2116
2217- `"x-api-key": optional string`
2318
24### Returns
19## Returns
2520
2621- `id: string`
2722
from line 30
3530
3631 File creation timestamp
3732
33 format: date-time
34
3835- `filename: string or null`
3936
4037 Display name of the file, if set
from line 52
5552
5653 Size in bytes of the file's preferred downloadable variant, if known
5754
58### Example
55## Example
5956
60```http
57```bash
6158curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
6259 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6360```
6461
65#### Response
62### Response (200)
6663
6764```json
6865{
No line in this hunk matches that.