Download file
client.files.download(stringfileID, RequestOptionsoptions?): Response
GET/v1/files/{file_id}/content
Download the original uploaded file content.
Download file
import DeepTable from '@deeptable/deeptable';
const client = new DeepTable({
apiKey: process.env['DEEPTABLE_API_KEY'], // This is the default and can be omitted
});
const response = await client.files.download('file_01kfxgjd94fn9stqm414vjb0s8');
console.log(response);
const content = await response.blob();
console.log(content);