Creates a new dashboard or updates an existing dashboard. When updating existing dashboards, if you do not define the folderId or the folderUid property, then the dashboard(s) are moved to the General folder. (You need to define only one property, not both).

Parameters

ParameterDescription
Commit MessageSet a commit message for the version history.
Dashboard Refresh IntervalSet the dashboard refresh interval. If this is lower than the minimum refresh interval, then Grafana will ignore it and will enforce the minimum refresh interval.
Dashboard Schema VersionThe schema version number of the dashboard.
Dashboard TagsList of tags, separated by commas.
Dashboard TimezoneThe timezone used for displaying time-series data within the dashboard.
Dashboard TitleThe main display name for the dashboard that will appear in the Grafana UI.
Dashboard Unique IDOptional unique identifier when creating a dashboard. uid = null will generate a new uid.
Dashboard VersionThe version number of the dashboard. This is often used when updating dashboards to specify which version is being modified, or to track changes in the dashboard’s history.
Folder Unique IDThe UID of the folder to save the dashboard in. Overrides the folderId. When updating existing dashboards, if you do not define the folderId or the folderUid property, then the dashboard(s) are moved to the General folder. (You need to define only one property, not both).

Example Output

[
	{
		"id": 2,
		"dashboardId": 1,
		"parentVersion": 1,
		"restoredFrom": 0,
		"version": 2,
		"created": "2017-06-08T17:24:33-04:00",
		"createdBy": "admin",
		"message": "Updated panel title"
	},
	{
		"id": 1,
		"dashboardId": 1,
		"parentVersion": 0,
		"restoredFrom": 0,
		"version": 1,
		"created": "2017-06-08T17:23:33-04:00",
		"createdBy": "admin",
		"message": "Initial save"
	}
]

Workflow Library Example

Create Dashboard with Grafana and Send Results Via Email

Preview this Workflow on desktop