Sheets
Create Spreadsheet Job
List Spreadsheet Jobs
Get Spreadsheet Job
Get Result Region
Delete Spreadsheet Job
ModelsExpand Collapse
SheetsJob = object { id, config, created_at, 10 more }
A spreadsheet parsing job
config: SheetsParsingConfig { extraction_range, flatten_hierarchical_tables, generate_additional_metadata, 5 more }
Configuration for the parsing job
extraction_range: optional string
A1 notation of the range to extract a single region from. If None, the entire sheet is used.
flatten_hierarchical_tables: optional boolean
Return a flattened dataframe when a detected table is recognized as hierarchical.
generate_additional_metadata: optional boolean
Whether to generate additional metadata (title, description) for each extracted region.
include_hidden_cells: optional boolean
Whether to include hidden cells when extracting regions from the spreadsheet.
sheet_names: optional array of string
The names of the sheets to extract regions from. If empty, all sheets will be processed.
specialization: optional string
Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline.
Schema for a file.
expires_at: optional string
The expiration date for the file. Files past this date can be deleted.
purpose: optional string
The intended purpose of the file (e.g., ‘user_data’, ‘parse’, ‘extract’, ‘split’, ‘classify’)
regions: optional array of object { location, region_type, sheet_name, 3 more }
All extracted regions (populated when job is complete)
SheetsParsingConfig = object { extraction_range, flatten_hierarchical_tables, generate_additional_metadata, 5 more }
Configuration for spreadsheet parsing and region extraction
extraction_range: optional string
A1 notation of the range to extract a single region from. If None, the entire sheet is used.
flatten_hierarchical_tables: optional boolean
Return a flattened dataframe when a detected table is recognized as hierarchical.
generate_additional_metadata: optional boolean
Whether to generate additional metadata (title, description) for each extracted region.
include_hidden_cells: optional boolean
Whether to include hidden cells when extracting regions from the spreadsheet.
sheet_names: optional array of string
The names of the sheets to extract regions from. If empty, all sheets will be processed.
specialization: optional string
Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline.