dashboard.get_dashboard_script
dashboard_get_dashboard_scriptRetrieves a dashboard export and wraps its script in a SisenseScript helper for rendering as plain text, markdown, or file output.
Instructions
Build a formatted dashboard script helper object. Retrieves a dashboard export payload and wraps its script content in a :class:SisenseScript helper that can render plain text, markdown, or file output.
Returns: SisenseScript | dict[str, str] A :class:SisenseScript instance when the dashboard is retrieved and has a script. {"error": "..."} when the export fails (including status_code for HTTP failures such as missing …
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes | The dashboard identifier to export. |