To enable the Compliance API, see the setup guide.
Set up the Compliance APIGenerated Files
Get Claude-generated file metadata
GET/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}
Returns metadata for a file the assistant created via tool use.
Download a Claude-generated file
GET/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}/content
Downloads the binary content of a file the assistant created via tool use.