How can I export a dashboard as a file using the Databricks Workspace Export API and download it directly?
To export a dashboard as a file using the Databricks Workspace Export API and download it directly, you can use the `GET /api/2.0/workspace/export` endpoint with the "path" parameter set to the path of the dashboard file and the "direct_download" parameter set to true. Here's an example:
```bash
GET /api/2.0/workspace/export?path=/Users/first.last@example.com/examples_folder/mydashboard.lvdash.json&direct_download=true
```
This will return the exported file directly in the response. The "path" parameter should include the full path to the dashboard file in your Databricks workspace, including the filename with the `.lvdash.json` extension. The "direct_download" parameter set to true will return the exported file directly in the response instead of a base64 encoded string.