Data Retrieval
Export Dashboard
Export a dashboard from a workspace as a JSON file for backup, migration, or import into another workspace.
POST
Export a dashboard and its configuration (layout, metrics, filters) from a workspace. The response is a JSON file download that can be used with the Import Dashboard API or the UI import flow.Documentation Index
Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Use your service token in theAuthorization header. See Create Service Token for how to obtain a service token.
Headers
Bearer token for API authentication. Use your service token (company-level).
Must be
application/json when sending a JSON body.Request Body
The dashboard ID to export. This is the external dashboard ID (e.g. from Fetch Dashboards by Data App or the dashboard list in the UI).
The name of the workspace that contains the dashboard. Must match the workspace name exactly.
Response
On success, the API returns 200 with:- Content-Type:
application/json - Content-Disposition:
attachment; filename="dashboard-{dashboardId}.json"
The dashboard configuration and content (layout, metrics, filters, etc.). Structure matches what the import API expects as
importDashboardData.error.code and error.message.
Examples
HTTP Status Code Summary
| Status Code | Description |
|---|---|
200 | OK – Dashboard exported successfully; response is a JSON file (attachment) |
400 | Bad Request – Invalid or missing parameters, invalid token, or dashboard/workspace not found |
500 | Internal Server Error – Server error during export |
Possible Errors
| Code | Message | HTTP Status |
|---|---|---|
INVALID_REQUEST_BODY | Joi validation message (e.g. "dashboardId" is required) | 400 |
AUTH_ERROR | Invalid Service Token | 400 |
DATA_APP_NOT_FOUND | Data app not found | 400 |
INTERNAL_SERVER_ERROR | Server error message | 500 |
Related
- Import Dashboard – Import a previously exported dashboard into a workspace
- Fetch Dashboards by Data App – List dashboards to get
dashboardIdvalues - Import/Export Dashboard (UI) – UI guide for import/export

