Skip to content
Get started

Download file

files.download(strfile_id) -> BinaryResponseContent
GET/v1/files/{file_id}/content

Download the original uploaded file content.

ParametersExpand Collapse
file_id: str

The unique identifier of the file.

ReturnsExpand Collapse
BinaryResponseContent

Download file

import os
from deeptable import DeepTable

client = DeepTable(
    api_key=os.environ.get("DEEPTABLE_API_KEY"),  # This is the default and can be omitted
)
response = client.files.download(
    "file_01kfxgjd94fn9stqm414vjb0s8",
)
print(response)
content = response.read()
print(content)
Returns Examples