Export a dashboard from a workspace as a JSON file for backup, migration, or import into another workspace.
Authorization header. See API Token guide for how to obtain a service token.
application/json when sending a JSON body.application/jsonattachment; filename="dashboard-{dashboardId}.json"importDashboardData.error.code and error.message.
| 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 |
| 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 |
dashboardId values