sigma_export_and_download
Export a Sigma workbook or element and download it as CSV, PDF, XLSX, or PNG. Polls until ready, supports parameter overrides, and returns base64-encoded content or size info.
Instructions
Export a workbook/element and download the result. Polls until ready.
format: 'csv', 'pdf', 'xlsx', 'png'. layout: 'portrait' or 'landscape' (pdf only). parameters: Sigma control overrides e.g. {'DateRange': 'min:2024-01-01,max:2024-01-31'}. max_bytes: maximum allowed response size (default 10 MB). Returns size info without content if exceeded. Returns base64-encoded file content on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | csv | |
| layout | No | portrait | |
| max_bytes | No | ||
| element_id | No | ||
| parameters | No | ||
| workbook_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |