Connectors

Cloud Infrastructure & DevOps

Grafana

Visualization and alerting: dashboards, alerts, annotations, and data source management
Grafana API referenceAPI checked August 17, 2026
Signs in with
Connection fields
Runs on
Cloud or On-Prem Worker
Operations
314
Ready-made triggers
0

Connect Grafana

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for Grafana and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
FieldWhat to enter
Grafana hostRequiredGrafana instance host without a scheme or /api suffix.
Service account tokenOptionalSecretGrafana service account token sent as Authorization: Bearer.
UsernameOptionalGrafana OSS/Enterprise Basic-auth username.
PasswordOptionalSecretGrafana OSS/Enterprise Basic-auth password.

Use it in a flow

  1. Open a flow, open the node library and search for Grafana.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from Grafana without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if Grafana can send webhooks, a Webhook trigger receives them at its own URL.

Operations

314 operations in 35 groups. Each one is a step you can add to a flow.

access_control24
Add a user role assignment.addUserRolePOSTAssign a role to a specific user.
Add team role.addTeamRolePOSTYou need to have a permission with action teams.roles:add and scope permissions:type:delegate.
Create a new custom role.createRolePOSTCreates a new custom role and maps given permissions to that role.
Delete a custom role.deleteRoleDELETEDelete a role with the given UID, and it’s permissions.
Get a description of a resource's access control properties.getResourceDescriptionGETGet a description of a resource's access control properties.
Get a role.getRoleGETGet a role for the given UID.
Get all roles.listRolesGETGets all existing roles.
Get permissions for a resource.getResourcePermissionsGETGet permissions for a resource.
Get role assignments.getRoleAssignmentsGETGet role assignments for the role with the given UID.
Get status.getAccessControlStatusGETReturns an indicator to check if fine-grained access control is enabled or not.
Get team roles.listTeamRolesGETYou need to have a permission with action teams.roles:read and scope teams:id: .
List roles assigned to a user.listUserRolesGETLists the roles that have been directly assigned to a given user.
List roles assigned to multiple teams.listTeamsRolesPOSTLists the roles that have been directly assigned to the given teams.
List roles assigned to multiple users.listUsersRolesPOSTLists the roles that have been directly assigned to the given users.
Remove a user role assignment.removeUserRoleDELETERevoke a role from a user.
Remove team role.removeTeamRoleDELETEYou need to have a permission with action teams.roles:remove and scope permissions:type:delegate.
Set resource permissions for a built-in role.setResourcePermissionsForBuiltInRolePOSTAssigns permissions for a resource by a given type (:resource) and :resourceID to a built-in role.
Set resource permissions for a team.setResourcePermissionsForTeamPOSTAssigns permissions for a resource by a given type (:resource) and :resourceID to a team.
Set resource permissions for a user.setResourcePermissionsForUserPOSTAssigns permissions for a resource by a given type (:resource) and :resourceID to a user or a service account.
Set resource permissions.setResourcePermissionsPOSTAssigns permissions for a resource by a given type (:resource) and :resourceID to one or many assignment types.
Set role assignments.setRoleAssignmentsPUTSet role assignments for the role with the given UID.
Set user role assignments.setUserRolesPUTUpdate the user’s role assignments to match the provided set of UIDs.
Update a custom role.updateRolePUTYou need to have a permission with action roles:write and scope permissions:type:delegate.
Update team role.setTeamRolesPUTYou need to have a permission with action teams.roles:add and teams.roles:remove and scope permissions:type:delegate for each.
admin2
Fetch Grafana Stats.adminGetStatsGETOnly works with Basic Authentication (username and password).
Fetch settings.adminGetSettingsGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action settings:read and scopes: settings: , settings:auth.saml: and...
admin_ldap5
Attempts to connect to all the configured LDAP servers and returns information on whenever they're available or not.getLDAPStatusGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action ldap.status:read.
Enables a single Grafana user to be synchronized against LDAP.postSyncUserWithLDAPPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action ldap.user:sync.
Finds an user based on a username in LDAP. This helps illustrate how would the particular user be mapped in Grafana when synced.getUserFromLDAPGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action ldap.user:read.
Reloads the LDAP configuration.reloadLDAPCfgPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action ldap.config:reload.
Returns the current state of the LDAP background sync integration.getSyncStatusGETYou need to have a permission with action ldap.status:read.
admin_provisioning4
Reload dashboard provisioning configurations.adminProvisioningReloadDashboardsPOSTReloads the provisioning config files for dashboards again.
Reload datasource provisioning configurations.adminProvisioningReloadDatasourcesPOSTReloads the provisioning config files for datasources again.
Reload plugin provisioning configurations.adminProvisioningReloadPluginsPOSTReloads the provisioning config files for plugins again.
You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.adminProvisioningReloadAccessControlPOSTYou need to have a permission with action provisioning:reload with scope provisioners:accesscontrol.
admin_users9
Create new user.adminCreateUserPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users:create.
Delete global User.adminDeleteUserDELETEIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users:delete and scope global.users: .
Disable user.adminDisableUserPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users:disable and scope global.users:1 (userIDScope).
Enable user.adminEnableUserPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users:enable and scope global.users:1 (userIDScope).
Logout user revokes all auth tokens (devices) for the user. User of issued auth tokens (devices) will no longer be logged in and will be required to authenticate again upon next activity.adminLogoutUserPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.logout and scope global.users: .
Return a list of all auth tokens (devices) that the user currently have logged in from.adminGetUserAuthTokensGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.authtoken:list and scope global.users: .
Revoke auth token for user.adminRevokeUserAuthTokenPOSTRevokes the given auth token (device) for the user.
Set password for user.adminUpdateUserPasswordPUTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.password:update and scope global.users: .
Set permissions for user.adminUpdateUserPermissionsPUTOnly works with Basic Authentication (username and password).
annotations9
Create Annotation in Graphite format.postGraphiteAnnotationPOSTCreates an annotation by using Graphite-compatible event format.
Create Annotation.postAnnotationPOSTCreates an annotation in the Grafana database.
Delete Annotation By ID.deleteAnnotationByIDDELETEDeletes the annotation that matches the specified ID.
Delete multiple annotations.massDeleteAnnotationsPOSTDelete multiple annotations.
Find Annotations Tags.getAnnotationTagsGETFind all the event tags created in the annotations.
Find Annotations.getAnnotationsGETStarting in Grafana v6.4 regions annotations are now returned in one entity that now includes the timeEnd property.
Get Annotation by ID.getAnnotationByIDGETGet Annotation by ID.
Patch Annotation.patchAnnotationPATCHUpdates one or more properties of an annotation that matches the specified ID.
Update Annotation.updateAnnotationPUTUpdates all properties of an annotation that matches the specified id.
convert_prometheus14
Converts a Prometheus rule group into a Grafana rule group and creates or updates it within the specified namespace.RouteConvertPrometheusCortexPostRuleGroupPOSTIf the group already exists and was not imported from a Prometheus-compatible source initially, it will not be replaced and an error will be returned.
Converts a Prometheus rule group into a Grafana rule group and creates or updates it within the specified namespace.RouteConvertPrometheusPostRuleGroupPOSTIf the group already exists and was not imported from a Prometheus-compatible source initially, it will not be replaced and an error will be returned.
Converts the submitted rule groups into Grafana-Managed Rules.RouteConvertPrometheusCortexPostRuleGroupsPOSTConverts the submitted rule groups into Grafana-Managed Rules.
Converts the submitted rule groups into Grafana-Managed Rules.RouteConvertPrometheusPostRuleGroupsPOSTConverts the submitted rule groups into Grafana-Managed Rules.
Deletes a specific rule group if it was imported from a Prometheus-compatible source.RouteConvertPrometheusCortexDeleteRuleGroupDELETEDeletes a specific rule group if it was imported from a Prometheus-compatible source.
Deletes a specific rule group if it was imported from a Prometheus-compatible source.RouteConvertPrometheusDeleteRuleGroupDELETEDeletes a specific rule group if it was imported from a Prometheus-compatible source.
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.RouteConvertPrometheusCortexDeleteNamespaceDELETEDeletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.RouteConvertPrometheusDeleteNamespaceDELETEDeletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.RouteConvertPrometheusCortexGetRuleGroupGETGets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.RouteConvertPrometheusGetRuleGroupGETGets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.RouteConvertPrometheusCortexGetRulesGETGets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.RouteConvertPrometheusGetRulesGETGets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).RouteConvertPrometheusCortexGetNamespaceGETGets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).RouteConvertPrometheusGetNamespaceGETGets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
dashboards25
Create / Update dashboardpostDashboardPOSTCreates a new dashboard or updates an existing dashboard.
createPublicDashboardcreatePublicDashboardPOSTCreate public dashboard for a dashboard
Delete dashboard by uid.deleteDashboardByUIDDELETEWill delete the dashboard given the specified unique identifier (uid).
Delete Snapshot by deleteKey.deleteDashboardSnapshotByDeleteKeyGETSnapshot public mode should be enabled or authentication is required.
Delete Snapshot by Key.deleteDashboardSnapshotDELETEDelete Snapshot by Key.
deletePublicDashboarddeletePublicDashboardDELETEDelete public dashboard for a dashboard
Get a specific dashboard version using UID.getDashboardVersionByUIDGETGet a specific dashboard version using UID.
Get all dashboards tags of an organization.getDashboardTagsGETGet all dashboards tags of an organization.
Get dashboard by uid.getDashboardByUIDGETOptional query parameter apiVersion selects the Kubernetes API version used to load the dashboard first (for example v1beta1).
Get Snapshot by Key.getDashboardSnapshotGETGet Snapshot by Key.
getHomeDashboardgetHomeDashboardGETNOTE: the home dashboard is configured in preferences.
getPublicAnnotationsgetPublicAnnotationsGETGet annotations for a public dashboard
getPublicDashboardgetPublicDashboardGETGet public dashboard by dashboardUid
Gets all existing permissions for the given dashboard.getDashboardPermissionsListByUIDGETUse: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards/{uid}/access
Gets all existing versions for the dashboard using UID.getDashboardVersionsByUIDGETGets all existing versions for the dashboard using UID.
Import dashboard.importDashboardPOSTImport dashboard.
Interpolate dashboard. This is an experimental endpoint under dashboardLibrary or suggestedDashboards feature flags and is subject to change.interpolateDashboardPOSTInterpolate dashboard.
List snapshots.searchDashboardSnapshotsGETList snapshots.
listPublicDashboardslistPublicDashboardsGETGet list of public dashboards
queryPublicDashboardqueryPublicDashboardPOSTGet results for a given panel on a public dashboard
Restore a dashboard to a given dashboard version using UID.restoreDashboardVersionByUIDPOSTThis API will be removed when /apis/dashboard.grafana.app/v1 is released.
updatePublicDashboardupdatePublicDashboardPATCHUpdate public dashboard for a dashboard
Updates permissions for a dashboard.updateDashboardPermissionsByUIDPOSTThis operation will remove existing permissions if they’re not included in the request.
viewPublicDashboardviewPublicDashboardGETGet public dashboard for view
When creating a snapshot using the API, you have to provide the full dashboard payload including the snapshot data. This endpoint is designed for the Grafana UI.createDashboardSnapshotPOSTSnapshot public mode should be enabled or authentication is required.
datasources20
Add correlation.createCorrelationPOSTAdd correlation.
Create a data source.addDataSourcePOSTBy defining password and basicAuthPassword under secureJsonData property Grafana encrypts them securely as an encrypted blob in the database.
Data source proxy DELETE calls.datasourceProxyDELETEByUIDcallsDELETEProxies all calls to the actual data source.
Data source proxy GET calls.datasourceProxyGETByUIDcallsGETProxies all calls to the actual data source.
Data source proxy POST calls.datasourceProxyPOSTByUIDcallsPOSTProxies all calls to the actual data source.
DataSource query metrics with expressions.queryMetricsWithExpressionsPOSTIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:query.
Delete a correlation.deleteCorrelationDELETEDelete a correlation.
Delete an existing data source by name. This function will be removed in the future.deleteDataSourceByNameDELETEIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:delete and scopes: datasources: ,...
Delete an existing data source by UID.deleteDataSourceByUIDDELETEIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:delete and scopes: datasources: ,...
Fetch data source resources.callDatasourceResourceWithUIDGETFetch data source resources.
Get a single data source by Name. This function will be removed in the future.getDataSourceByNameGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:read and scopes: datasources: , datasources:name:...
Get a single data source by UID.getDataSourceByUIDGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:read and scopes: datasources: , datasources:uid:...
Get all data sources.getDataSourcesGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:read and scope: datasources: .
Get data source Id by Name. This function will be removed in the future.getDataSourceIdByNameGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: datasources:read and scopes: datasources: , datasources:name:...
Gets a correlation.getCorrelationGETGets a correlation.
Gets all correlations originating from the given data source.getCorrelationsBySourceUIDGETGets all correlations originating from the given data source.
Gets all correlations.getCorrelationsGETGets all correlations.
Sends a health check request to the plugin datasource identified by the UID.checkDatasourceHealthWithUIDGETSends a health check request to the plugin datasource identified by the UID.
Update an existing data source.updateDataSourceByUIDPUTSimilar to creating a data source, password and basicAuthPassword should be defined under secureJsonData in order to be stored securely as an encrypted blob in the database.
Updates a correlation.updateCorrelationPATCHUpdates a correlation.
devices2
Lists all devices within the last 30 daysSearchDevicesGETLists all devices within the last 30 days
Lists all devices within the last 30 dayslistDevicesGETLists all devices within the last 30 days
enterprise7
cleanDataSourceCachecleanDataSourceCachePOSTclean cache for a single data source
disableDataSourceCachedisableDataSourceCachePOSTdisable cache for a single data source
enableDataSourceCacheenableDataSourceCachePOSTenable cache for a single data source
getDataSourceCacheConfiggetDataSourceCacheConfigGETget cache config for a single data source
Retrieves LBAC rules for a team.getTeamLBACRulesApiGETRetrieves LBAC rules for a team.
setDataSourceCacheConfigsetDataSourceCacheConfigPOSTset cache config for a single data source
Updates LBAC rules for a team.updateTeamLBACRulesApiPUTUpdates LBAC rules for a team.
folders9
Create folder.createFolderPOSTIf nested folders are enabled then it additionally expects the parent folder UID.
Delete folder.deleteFolderDELETEDeletes an existing folder identified by UID along with all dashboards (and their alerts) stored in the folder.
Get all folders.getFoldersGETIt returns all folders that the authenticated user has permission to view.
Get folder by uid.getFolderByUIDGETUse: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder uid}
Gets all existing permissions for the folder with the given `uid`.getFolderPermissionListGETGets all existing permissions for the folder with the given uid.
Gets the count of each descendant of a folder by kind. The folder is identified by UID.getFolderDescendantCountsGETUse: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder uid}
Move folder.moveFolderPOSTUse: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder uid}, Changing the parent folder annotation
Update folder.updateFolderPUTUse: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder uid}
Updates permissions for a folder. This operation will remove existing permissions if they’re not included in the request.updateFolderPermissionsPOSTUpdates permissions for a folder.
health1
getHealthgetHealthGETapiHealthHandler will return ok if Grafana's web server is running and it can access the database.
library_elements7
Create library element.createLibraryElementPOSTCreates a new library element.
Delete library element.deleteLibraryElementByUIDDELETEDeletes an existing library element as specified by the UID.
Get all library elements.getLibraryElementsGETReturns a list of all library elements the authenticated user has permission to view.
Get library element by name.getLibraryElementByNameGETReturns a library element with the given name.
Get library element by UID.getLibraryElementByUIDGETReturns a library element with the given UID.
Get library element connections.getLibraryElementConnectionsGETReturns a list of connections for a library element based on the UID specified.
Update library element.updateLibraryElementPATCHUpdates an existing library element identified by uid.
licensing8
Check license availability.getStatusGETCheck license availability.
Create license token.postLicenseTokenPOSTYou need to have a permission with action licensing:write.
Get custom permissions report in CSV format.getCustomPermissionsCSVGETYou need to have a permission with action licensing.reports:read.
Get custom permissions report.getCustomPermissionsReportGETYou need to have a permission with action licensing.reports:read.
Get license token.getLicenseTokenGETYou need to have a permission with action licensing:read.
Manually force license refresh.postRenewLicenseTokenPOSTManually ask license issuer for a new token.
Refresh license stats.refreshLicenseStatsGETYou need to have a permission with action licensing:read.
Remove license from database.deleteLicenseTokenDELETERemoves the license stored in the Grafana database.
migrations13
Cancel a snapshot, wherever it is in its processing chain.cancelSnapshotPOSTTODO: Implement
Create a migration session.createSessionPOSTCreate a migration session.
Create gcom access token.createCloudMigrationTokenPOSTCreate gcom access token.
Delete a migration session by its uid.deleteSessionDELETEDelete a migration session by its uid.
Deletes a cloud migration token.deleteCloudMigrationTokenDELETEDeletes a cloud migration token.
Fetch the cloud migration token if it exists.getCloudMigrationTokenGETFetch the cloud migration token if it exists.
Get a cloud migration session by its uid.getSessionGETGet a cloud migration session by its uid.
Get a list of all cloud migration sessions that have been created.getSessionListGETGet a list of all cloud migration sessions that have been created.
Get a list of snapshots for a session.getShapshotListGETGet a list of snapshots for a session.
Get metadata about a snapshot, including where it is in its processing and final results.getSnapshotGETGet metadata about a snapshot, including where it is in its processing and final results.
Get the resource dependencies graph for the current set of migratable resources.getResourceDependenciesGETGet the resource dependencies graph for the current set of migratable resources.
Trigger the creation of an instance snapshot associated with the provided session.createSnapshotPOSTIf the snapshot initialization is successful, the snapshot uid is returned.
Upload a snapshot to the Grafana Migration Service for processing.uploadSnapshotPOSTUpload a snapshot to the Grafana Migration Service for processing.
org14
Add a new user to the current organization.addOrgUserToCurrentOrgPOSTAdds a global user to the current organization.
Add invite.addOrgInvitePOSTAdd invite.
Delete user in current organization.removeOrgUserForCurrentOrgDELETEIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users:remove with scope users: .
Get all users within the current organization (lookup)getOrgUsersForCurrentOrgLookupGETReturns all org users within the current organization, but with less detailed information.
Get all users within the current organization.getOrgUsersForCurrentOrgGETReturns all org users within the current organization.
Get Current Org Prefs.getOrgPreferencesGETUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
Get current Organization.getCurrentOrgGETGet current Organization.
Get pending invites.getPendingOrgInvitesGETGet pending invites.
Patch Current Org Prefs.patchOrgPreferencesPATCHUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
Revoke invite.revokeInviteDELETERevoke invite.
Update Current Org Prefs.updateOrgPreferencesPUTUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
Update current Organization's address.updateCurrentOrgAddressPUTUpdate current Organization's address.
Update current Organization.updateCurrentOrgPUTUpdate current Organization.
Updates the given user.updateOrgUserForCurrentOrgPATCHIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users.role:update with scope users: .
orgs12
Add a new user to the current organization.addOrgUserPOSTAdds a global user to the current organization.
Create Organization.createOrgPOSTOnly works if users.allow org create is set.
Delete Organization.deleteOrgByIDDELETEDelete Organization.
Delete user in current organization.removeOrgUserDELETEIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users:remove with scope users: .
Get Organization by ID.getOrgByIDGETGet Organization by ID.
Get Organization by Name.getOrgByNameGETGet Organization by Name.
Get Users in Organization.getOrgUsersGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users:read with scope users: .
Search all Organizations.searchOrgsGETSearch all Organizations.
Search Users in Organization.searchOrgUsersGETIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users:read with scope users: .
Update Organization's address.updateOrgAddressPUTUpdate Organization's address.
Update Organization.updateOrgPUTUpdate Organization.
Update Users in Organization.updateOrgUserPATCHIf you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users.role:update with scope users: .
playlists6
Create playlist.createPlaylistPOSTPlease refer to new API.
Delete playlist.deletePlaylistDELETEPlease refer to new API.
Get playlist items.getPlaylistItemsGETPlease refer to new API instead (items are included in the playlist spec).
Get playlist.getPlaylistGETPlease refer to new API.
Get playlists.searchPlaylistsGETPlease refer to new API.
Update playlist.updatePlaylistPUTPlease refer to new API.
provisioning31
Clears the notification policy tree.RouteResetPolicyTreeDELETEClears the notification policy tree.
Create a contact point.RoutePostContactpointsPOSTCreate a contact point.
Create a new alert rule.RoutePostAlertRulePOSTCreate a new alert rule.
Create a new mute timing.RoutePostMuteTimingPOSTCreate a new mute timing.
Create or update alert rule group.RoutePutAlertRuleGroupPUTCreate or update alert rule group.
Delete a contact point.RouteDeleteContactpointsDELETEDelete a contact point.
Delete a mute timing.RouteDeleteMuteTimingDELETEDelete a mute timing.
Delete a notification template group.RouteDeleteTemplateDELETEDelete a notification template group.
Delete a specific alert rule by UID.RouteDeleteAlertRuleDELETEDelete a specific alert rule by UID.
Export a mute timing in provisioning format.RouteExportMuteTimingGETExport a mute timing in provisioning format.
Export all alert rules in provisioning file format.RouteGetAlertRulesExportGETExport all alert rules in provisioning file format.
Export all contact points in provisioning file format.RouteGetContactpointsExportGETExport all contact points in provisioning file format.
Export all mute timings in provisioning format.RouteExportMuteTimingsGETExport all mute timings in provisioning format.
Export an alert rule group in provisioning file format.RouteGetAlertRuleGroupExportGETExport an alert rule group in provisioning file format.
Export an alert rule in provisioning file format.RouteGetAlertRuleExportGETExport an alert rule in provisioning file format.
Export the notification policy tree in provisioning file format.RouteGetPolicyTreeExportGETExport the notification policy tree in provisioning file format.
Get a mute timing.RouteGetMuteTimingGETGet a mute timing.
Get a notification template group.RouteGetTemplateGETGet a notification template group.
Get a rule group.RouteGetAlertRuleGroupGETGet a rule group.
Get a specific alert rule by UID.RouteGetAlertRuleGETGet a specific alert rule by UID.
Get all notification template groups.RouteGetTemplatesGETGet all notification template groups.
Get all the alert rules.RouteGetAlertRulesGETGet all the alert rules.
Get all the contact points.RouteGetContactpointsGETGet all the contact points.
Get all the mute timings.RouteGetMuteTimingsGETGet all the mute timings.
Get the notification policy tree.RouteGetPolicyTreeGETGet the notification policy tree.
Replace an existing mute timing.RoutePutMuteTimingPUTReplace an existing mute timing.
RouteDeleteAlertRuleGroupRouteDeleteAlertRuleGroupDELETEDelete rule group
Sets the notification policy tree.RoutePutPolicyTreePUTSets the notification policy tree.
Update an existing alert rule.RoutePutAlertRulePUTUpdate an existing alert rule.
Update an existing contact point.RoutePutContactpointPUTUpdate an existing contact point.
Updates an existing notification template group.RoutePutTemplatePUTUpdates an existing notification template group.
query_history6
Add query to query history.createQueryPOSTAdds new query to query history.
Add star to query in query history.starQueryPOSTAdds star to query in query history as specified by the UID.
Delete query in query history.deleteQueryDELETEDeletes an existing query in query history as specified by the UID.
Query history search.searchQueriesGETReturns a list of queries in the query history that matches the search criteria.
Remove star to query in query history.unstarQueryDELETERemoves star from query in query history as specified by the UID.
Update comment for query in query history.patchQueryCommentPATCHUpdates comment for query in query history as specified by the UID.
quota6
Fetch Organization quota.getCurrentOrgQuotaGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action orgs.quotas:read and scope org:id:1 (orgIDScope).
Fetch Organization quota.getOrgQuotaGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action orgs.quotas:read and scope org:id:1 (orgIDScope).
Fetch user quota.getUserQuotaGETIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.quotas:list and scope global.users:1 (userIDScope).
Fetch user quota.getUserQuotasGETFetch user quota.
Update user quota.updateOrgQuotaPUTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action orgs.quotas:write and scope org:id:1 (orgIDScope).
Update user quota.updateUserQuotaPUTIf you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.quotas:update and scope global.users:1 (userIDScope).
recording_rules8
Create a recording rule that is then registered and started.createRecordingRulePOSTCreate a recording rule that is then registered and started.
Create a remote write target.createRecordingRuleWriteTargetPOSTIt returns a 422 if there is not an existing prometheus data source configured.
Delete removes the rule from the registry and stops it.deleteRecordingRuleDELETEDelete removes the rule from the registry and stops it.
Delete the remote write target.deleteRecordingRuleWriteTargetDELETEDelete the remote write target.
Lists all rules in the database: active or deleted.listRecordingRulesGETLists all rules in the database: active or deleted.
Return the prometheus remote write target.getRecordingRuleWriteTargetGETReturn the prometheus remote write target.
Test a recording rule.testCreateRecordingRulePOSTTest a recording rule.
Update the active status of a rule.updateRecordingRulePUTUpdate the active status of a rule.
reports13
Create a report.createReportPOSTAvailable to org admins only and with a valid license.
Delete a report.deleteReportDELETEAvailable to org admins only and with a valid or expired license.
Download a CSV report.renderReportCSVsGETAvailable to all users and with a valid license.
Get a report.getReportGETAvailable to org admins only and with a valid or expired license.
Get custom branding report image.getSettingsImageGETAvailable to org admins only and with a valid or expired license.
Get report settings.getReportSettingsGETAvailable to org admins only and with a valid or expired license.
List reports by dashboard uid.getReportsByDashboardUIDGETAvailable to org admins only and with a valid or expired license.
List reports.getReportsGETAvailable to org admins only and with a valid or expired license.
Render report for multiple dashboards.renderReportPDFsGETAvailable to all users and with a valid license.
Save settings.saveReportSettingsPOSTAvailable to org admins only and with a valid or expired license.
Send a report.sendReportPOSTGenerate and send a report.
Send test report via email.sendTestEmailPOSTAvailable to org admins only and with a valid license.
Update a report.updateReportPUTAvailable to org admins only and with a valid or expired license.
saml5
GetLogout initiates single logout process.getSAMLLogoutGETGetLogout initiates single logout process.
It exposes the SP (Grafana's) metadata for the IdP's consumption.getMetadataGETIt exposes the SP (Grafana's) metadata for the IdP's consumption.
It performs Assertion Consumer Service (ACS).postACSPOSTIt performs Assertion Consumer Service (ACS).
It performs Single Logout (SLO) callback.getSLOGETThere might be two possible requests: 1.
It performs Single Logout (SLO) callback.postSLOPOSTThere might be two possible requests: 1.
search2
List search sorting options.listSortOptionsGETList search sorting options.
searchsearchGETsearch
service_accounts8
Create service accountcreateServiceAccountPOSTRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts: Requires basic authentication and that the authenticated user...
CreateNewToken adds a token to a service accountcreateTokenPOSTRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts:id:1 (single service account)
Delete service accountdeleteServiceAccountDELETERequired permissions (See note in the introduction for an explanation): action: serviceaccounts:delete scope: serviceaccounts:id:1 (single service account)
DeleteToken deletes service account tokensdeleteTokenDELETERequired permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts:id:1 (single service account) Requires basic authentication...
Get service account tokenslistTokensGETRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:read scope: global:serviceaccounts:id:1 (single service account) Requires basic...
Get single serviceaccount by IdretrieveServiceAccountGETRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:read scope: serviceaccounts:id:1 (single service account)
Search service accounts with pagingsearchOrgServiceAccountsWithPagingGETRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:read scope: serviceaccounts:
Update service accountupdateServiceAccountPATCHRequired permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts:id:1 (single service account)
signed_in_user13
Auth tokens of the actual User.getUserAuthTokensGETReturn a list of all auth tokens (devices) that the actual user currently have logged in from.
Change Password.changeUserPasswordPUTChanges the password for the user.
Get user preferences.getUserPreferencesGETUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
getSignedInUsergetSignedInUserGETGet (current authenticated user)
Organizations of the actual User.getSignedInUserOrgListGETReturn a list of all organizations of the current user.
Patch user preferences.patchUserPreferencesPATCHUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
Revoke an auth token of the actual User.revokeUserAuthTokenPOSTRevokes the given auth token (device) for the actual user.
Star a dashboard.starDashboardByUIDPOSTStars the given Dashboard for the actual user.
Switch user context for signed in user.userSetUsingOrgPOSTSwitch user context to the given organization.
Teams that the actual User is member of.getSignedInUserTeamListGETReturn a list of all teams that the current user is member of.
Unstar a dashboard.unstarDashboardByUIDDELETEDeletes the starring of the given Dashboard for the actual user.
Update signed in User.updateSignedInUserPUTUpdate signed in User.
Update user preferences.updateUserPreferencesPUTUse /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
signing_keys1
Get JSON Web Key Set (JWKS) with all the keys that can be used to verify tokens (public keys)retrieveJWKSGETRequired permissions None
snapshots1
Get snapshot sharing settings.getSharingOptionsGETGet snapshot sharing settings.
sso_settings5
Get an SSO Settings entry by KeygetProviderSettingsGETYou need to have a permission with action settings:read with scope settings:auth.
List all SSO Settings entrieslistAllProvidersSettingsGETYou need to have a permission with action settings:read with scope settings:auth.
Patch SSO SettingspatchProviderSettingsPATCHPartially updates the SSO Settings for a provider.
Remove SSO SettingsremoveProviderSettingsDELETERemoves the SSO Settings for a provider.
Update SSO SettingsupdateProviderSettingsPUTInserts or updates the SSO Settings for a provider.
sync_team_groups4
Add External Group.addTeamGroupApiPOSTAdd External Group.
Get External Groups.getTeamGroupsApiGETGet External Groups.
Remove External Group.removeTeamGroupApiQueryDELETERemove External Group.
Search for team groups with optional filtering and pagination.searchTeamGroupsGETSearch for team groups with optional filtering and pagination.
teams12
Add Team Member.addTeamMemberPOSTAdd Team Member.
Add Team.createTeamPOSTAdd Team.
Delete Team By ID.deleteTeamByIDDELETEDelete Team By ID.
Get Team By ID.getTeamByIDGETGet Team By ID.
Get Team Members.getTeamMembersGETGet Team Members.
Get Team Preferences.getTeamPreferencesGETGet Team Preferences.
Remove Member From Team.removeTeamMemberDELETERemove Member From Team.
Set team memberships.setTeamMembershipsPUTTakes user emails, and updates team members and admins to the provided lists of users.
Team Search With Paging.searchTeamsGETTeam Search With Paging.
Update Team Member.updateTeamMemberPUTUpdate Team Member.
Update Team Preferences.updateTeamPreferencesPUTUpdate Team Preferences.
Update Team.updateTeamPUTUpdate Team.
user1
Update user email.updateUserEmailGETUpdate the email of user given a verification code.
users7
Get organizations for user.getUserOrgListGETGet organizations for user identified by id.
Get teams for user.getUserTeamsGETGet teams for user identified by id.
Get user by id.getUserByIDGETGet user by id.
Get user by login or email.getUserByLoginOrEmailGETGet user by login or email.
Get users with paging.searchUsersWithPagingGETGet users with paging.
Get users.searchUsersGETReturns all users that the authenticated user has permission to view, admin permission required.
Update user.updateUserPUTUpdate the user identified by id.