Get Claude-generated file metadata changedapi/compliance/apps/chats/generated_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 Claude-generated file metadata ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Claude-generated 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 Claude-generated file metadata
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files/retrieve
4---
1# Get Claude-generated file metadata
52
6## Get Claude-generated file metadata
3**GET** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}`
74
8**get** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}`
9
105Returns metadata for a file the assistant created via tool use.
116
127Use the sibling `/content` endpoint to download the bytes.
138
14### Path Parameters
9## Path parameters
1510
1611- `claude_gen_file_id: string`
1712
1813 The generated-file id (e.g., 'claude_gen_file_abc123') as returned in `chat_messages[].generated_files[].id` from GET /apps/chats/{claude_chat_id}/messages.
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, when available
3732
33 format: date-time
34
3835- `filename: string`
3936
4037 Display name of the generated file
from line 48
5148
5249 Size in bytes of the stored file, when available
5350
54### Example
51## Example
5552
56```http
53```bash
5754curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID \
5855 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
5956```
6057
61#### Response
58### Response (200)
6259
6360```json
6461{
No line in this hunk matches that.