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

Files changedapi/compliance/apps/chats/files

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+23added
Lines−24removed
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

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

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Files
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/files
4---
5 
61# Files
72 
83## Get file metadata
94 
10**get** `/v1/compliance/apps/chats/files/{claude_file_id}`
5**GET** `/v1/compliance/apps/chats/files/{claude_file_id}`
116 
127Retrieves metadata for a file referenced in chat messages, without
138downloading the file content. Use the sibling `/content` endpoint to
149download the bytes.
1510 
16### Path Parameters
11### Path parameters
1712 
1813- `claude_file_id: string`
1914 
2015 The file ID (tagged ID, e.g., claude_file_abc123)
2116 
22### Header Parameters
17### Headers
2318 
2419- `"x-api-key": optional string`
2520 
from line 32
3732 
3833 File creation timestamp
3934 
35 format: date-time
36 
4037- `filename: string or null`
4138 
4239 Display name of the file, if set
from line 56
5956 
6057### Example
6158 
62```http
59```bash
6360curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
6461 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6562```
6663 
67#### Response
64#### Response (200)
6865 
6966```json
7067{
from line 82
8582 
8683## Delete file
8784 
88**delete** `/v1/compliance/apps/chats/files/{claude_file_id}`
85**DELETE** `/v1/compliance/apps/chats/files/{claude_file_id}`
8986 
9087Permanently deletes a specific file. This is a destructive
9188operation that cannot be undone.
9289 
93### Path Parameters
90### Path parameters
9491 
9592- `claude_file_id: string`
9693 
9794 The file ID (tagged ID, e.g., claude_file_abc123)
9895 
99### Header Parameters
96### Headers
10097 
10198- `"x-api-key": optional string`
10299 
from line 107
110107 
111108 Constant string confirming deletion
112109 
113 - `"claude_file_deleted"`
110 default: claude_file_deleted
114111 
115112### Example
116113 
117```http
114```bash
118115curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID \
119116 -X DELETE \
120117 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
121118```
122119 
123#### Response
120#### Response (200)
124121 
125122```json
126123{
from line 128
131128 
132129## Download file content
133130 
134**get** `/v1/compliance/apps/chats/files/{claude_file_id}/content`
131**GET** `/v1/compliance/apps/chats/files/{claude_file_id}/content`
135132 
136133Downloads the binary content of a file referenced in chat messages.
137134 
138### Path Parameters
135### Path parameters
139136 
140137- `claude_file_id: string`
141138 
142139 The file ID (tagged ID, e.g., claude_file_abc123)
143140 
144### Header Parameters
141### Headers
145142 
146143- `"x-api-key": optional string`
147144 
148145### Example
149146 
150```http
147```bash
151148curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID/content \
152149 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
153150```
154151 
155## Domain Types
152## Domain types
156153 
157154### File Retrieve Response
158155 
159- `FileRetrieveResponse object { id, claude_chat_ids, created_at, 5 more }`
156- `FileRetrieveResponse object`
160157 
161158 File metadata for GET /v1/compliance/apps/chats/files/{claude_file_id}.
162159 
from line 172
175172 
176173 File creation timestamp
177174 
175 format: date-time
176 
178177 - `filename: string or null`
179178 
180179 Display name of the file, if set
from line 196
197196 
198197### File Delete Response
199198 
200- `FileDeleteResponse object { id, type }`
199- `FileDeleteResponse object`
201200 
202201 Response for deleting a compliance file.
203202 
from line 208
209208 
210209 Constant string confirming deletion
211210 
212 - `"claude_file_deleted"`
211 default: claude_file_deleted
213212 
Feedback