## Download structured sheet export `client.StructuredSheets.Download(ctx, structuredSheetID, query) (*Response, error)` **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 tables - `cell_labels`: CSV file with cell-level semantic labels ### Parameters - `structuredSheetID string` The unique identifier of the structured sheet conversion. - `query StructuredSheetDownloadParams` - `Format param.Field[StructuredSheetDownloadParamsFormat]` The export format to download. - `const StructuredSheetDownloadParamsFormatSqlite StructuredSheetDownloadParamsFormat = "sqlite"` - `const StructuredSheetDownloadParamsFormatCellLabels StructuredSheetDownloadParamsFormat = "cell_labels"` ### Returns - `type StructuredSheetDownloadResponse interface{…}` ### Example ```go package main import ( "context" "fmt" "github.com/deeptable-com/deeptable-go" "github.com/deeptable-com/deeptable-go/option" ) func main() { client := deeptable.NewClient( option.WithAPIKey("My API Key"), ) response, err := client.StructuredSheets.Download( context.TODO(), "ss_01kfxgjd94fn9stqm42nejb627", deeptable.StructuredSheetDownloadParams{ }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ```