下载 Claude 生成的文件
get /v1/compliance/apps/chats/generated-files/{claude_gen_file_id}/content
下载助手通过工具使用创建的文件的二进制内容。
路径参数
-
claude_gen_file_id: string生成文件 ID(例如 'claude_gen_file_abc123'),在 GET /apps/chats/{claude_chat_id}/messages 的
chat_messages[].generated_files[].id中返回。
请求头参数
"x-api-key": optional string
示例
curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID/content \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"