Export to Excel
layerz_exportGenerates the model as an Excel workbook (the same export as the web app: Intro + per-section sheets, native charts and dashboards, live formulas) and returns { download_url, filename, size, file_id, expires_at, structure_hash, values_hash }. The file is stored out-of-band in private Storage; the signed download_url and the file expire after 24h (a new call issues a fresh one). When the model has branches, the statements and single-value widgets follow branch_id (default: the base branch) while dashboards keep every branch they break down by. A read operation, available to read-only keys, off quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Target model UUID. Required for user-scoped API keys; validated against the bound model for model-scoped keys. | |
| branch_id | No | Branch the statements and single-value widgets follow (default: the base branch). Dashboards keep every branch. |