Dashboards API
The Dashboards API provides endpoints for managing Grafana dashboards programmatically.Get Dashboard by UID
Retrieve a dashboard by its unique identifier (UID).string
required
Dashboard unique identifier
object
object
Dashboard JSON model
Create/Update Dashboard
Create a new dashboard or update an existing one.object
required
string
UID of the folder to save the dashboard in
string
Commit message for this dashboard version
boolean
default:"false"
Whether to overwrite existing dashboard with same UID
string
Operation status (“success”)
string
Dashboard UID
string
Relative URL to access the dashboard
integer
New version number
Delete Dashboard by UID
Delete a dashboard by its UID.string
required
Dashboard unique identifier
string
Title of the deleted dashboard
string
Deletion confirmation message
Get Dashboard Versions
Retrieve all versions of a dashboard.string
required
Dashboard unique identifier
integer
Maximum number of versions to return
integer
Version number to start from
array
Get Dashboard Version
Retrieve a specific version of a dashboard.string
required
Dashboard unique identifier
integer
required
Version ID
Get Dashboard Tags
Get all dashboard tags for the current organization.string
Tag name
integer
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>