Generated Files changedapi/compliance/apps/chats/generated_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+15added
Lines−16removed
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 ## Domain types ### Path Parameters ### Header Parameters #### Response ### Path Parameters ### Header Parameters ## Domain Types
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Generated Files
3url: https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files
4---
5
61# Generated Files
72
83## Get Claude-generated file metadata
94
10**get** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}`
5**GET** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}`
116
127Returns metadata for a file the assistant created via tool use.
138
149Use the sibling `/content` endpoint to download the bytes.
1510
16### Path Parameters
11### Path parameters
1712
1813- `claude_gen_file_id: string`
1914
2015 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.
2116
22### Header Parameters
17### Headers
2318
2419- `"x-api-key": optional string`
2520
from line 32
3732
3833 File creation timestamp, when available
3934
35 format: date-time
36
4037- `filename: string`
4138
4239 Display name of the generated file
from line 52
5552
5653### Example
5754
58```http
55```bash
5956curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID \
6057 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6158```
6259
63#### Response
60#### Response (200)
6461
6562```json
6663{
from line 73
7673
7774## Download a Claude-generated file
7875
79**get** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}/content`
76**GET** `/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}/content`
8077
8178Downloads the binary content of a file the assistant created via tool use.
8279
83### Path Parameters
80### Path parameters
8481
8582- `claude_gen_file_id: string`
8683
8784 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.
8885
89### Header Parameters
86### Headers
9087
9188- `"x-api-key": optional string`
9289
9390### Example
9491
95```http
92```bash
9693curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID/content \
9794 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
9895```
9996
100## Domain Types
97## Domain types
10198
10299### Generated File Retrieve Response
103100
104- `GeneratedFileRetrieveResponse object { id, claude_chat_id, created_at, 4 more }`
101- `GeneratedFileRetrieveResponse object`
105102
106103 Metadata for GET /v1/compliance/apps/chats/generated-files/{claude_gen_file_id}.
107104
from line 119
122119 - `created_at: string or null`
123120
124121 File creation timestamp, when available
122
123 format: date-time
125124
126125 - `filename: string`
127126
No line in this hunk matches that.