Import a dashboard from a previously exported JSON payload into a workspace.
Authorization header. See API Token guide for how to obtain a service token.
application/json.data property from an Export Dashboard response, or the equivalent structure from a UI-exported JSON file. Contains layout, filters, metrics configuration, and related dashboard structure.error.code and error.message and HTTP status 400 or 500.
| Status Code | Description |
|---|---|
200 | OK – Dashboard imported successfully |
400 | Bad Request – Invalid or missing parameters, invalid token, or workspace not found |
500 | Internal Server Error – Server error during import |
| Code | Message | HTTP Status |
|---|---|---|
INVALID_REQUEST_BODY | Joi validation message (e.g. "workspaceName" is required, "importDashboardData" is required) | 400 |
AUTH_ERROR | Invalid Service Token | 400 |
WORKSPACE_ID_ERROR | invalid workspace name, workspace name not found | 400 |
INTERNAL_SERVER_ERROR | Server error message | 500 |