Download File
beta.files.download(file_id, **kwargs) -> StringIO
/v1/files/{file_id}/content?beta=true
Download File
Parameters
file_id: String
ID of the File.
Returns
StringIO
Download File
Ruby
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
response = anthropic.beta.files.download("file_id")
puts(response)