get-dashboard-code
Retrieve the complete dashboard configuration including tile definitions, filters, and layout for backup, version control, or migration.
Instructions
Get the complete dashboard configuration including full tile definitions.
Returns the raw dashboard configuration as code, including:
All tile definitions with complete properties
Tab configuration
Filter configuration
Layout information
Chart references
When to use:
To export a dashboard for version control
To understand the complete structure of a complex dashboard
Before programmatically duplicating a dashboard
To backup dashboard configurations
To debug dashboard issues
Use cases:
Backup: Save dashboard configs before making changes
Version control: Track dashboard changes over time
Migration: Move dashboards between projects/environments
Templates: Create reusable dashboard templates
Alternative: Use duplicate-dashboard for a simpler way to copy dashboards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_name | Yes | Name of the dashboard (supports partial matching) |