Dashboards API
The Dashboards API provides endpoints for managing Grafana dashboards programmatically.Get Dashboard by UID
Retrieve a dashboard by its unique identifier (UID).Dashboard unique identifier
Dashboard JSON model
Create/Update Dashboard
Create a new dashboard or update an existing one.UID of the folder to save the dashboard in
Commit message for this dashboard version
Whether to overwrite existing dashboard with same UID
Operation status (“success”)
Dashboard UID
Relative URL to access the dashboard
New version number
Delete Dashboard by UID
Delete a dashboard by its UID.Dashboard unique identifier
Title of the deleted dashboard
Deletion confirmation message
Get Dashboard Versions
Retrieve all versions of a dashboard.Dashboard unique identifier
Maximum number of versions to return
Version number to start from
Get Dashboard Version
Retrieve a specific version of a dashboard.Dashboard unique identifier
Version ID
Get Dashboard Tags
Get all dashboard tags for the current organization.Tag name
Number of dashboards with this tag
Get Home Dashboard
Get the home dashboard for the current user.Permissions
If you are running Grafana Enterprise with Fine-grained access control enabled:- Read: Requires
dashboards:readpermission with scopedashboards:uid:<uid> - Create: Requires
dashboards:createpermission - Update: Requires
dashboards:writepermission with scopedashboards:uid:<uid> - Delete: Requires
dashboards:deletepermission with scopedashboards:uid:<uid>