Hi @Skr7, You cannot automate exporting the dashboard as HTML using the Databricks API. The Databricks API only supports exporting results for notebook task runs, not for job run dashboards.
Here's the relevant excerpt from the provided sources:
Export job run results: You can export notebook run results and job run logs for all job types. For notebook job runs, you can export a rendered notebook that can later be imported into your workspace.
This indicates that the export functionality is available for notebook runs but not explicitly for dashboards.
You may need to look into other methods or tools outside of the Databricks API to automate the process.