Download structured sheet export
client.structuredSheets.download(stringstructuredSheetID, StructuredSheetDownloadParams { format } query?, RequestOptionsoptions?): Response
GET/v1/structured-sheets/{structured_sheet_id}/download
Download the structured data in the specified format. Only available when conversion status is 'completed'.
Available formats:
sqlite: SQLite database containing all extracted tablescell_labels: CSV file with cell-level semantic labels
Download structured sheet export
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.structuredSheets.download('ss_01kfxgjd94fn9stqm42nejb627');
console.log(response);
const content = await response.blob();
console.log(content);