What your agents can do

Real Grafana actions, managed and audited.

Your user connects Grafana once; your agent can then create dashboards and alert rules, query data sources, and add users and teams — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 01Connect

    Your user grants Grafana access once (OAuth) — the token lands in the vault.

  2. 02Call

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 03Audit

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Grafana tools.

Browse 312 tools in the Grafana catalog. Each action uses your configured authentication and tool allowlist.

Showing 312 tools.

Create a data source.
GRAFANA_ADD_DATA_SOURCE
By defining `password` and `basicAuthPassword` under secureJsonData property Grafana encrypts them securely as an encrypted blob in the database. The response then lists the encrypted fields under secureJsonFields. If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:create`
datasources
Add invite.
GRAFANA_ADD_ORG_INVITE
Add invite.
orginvites
Add a new user to the current organization.
GRAFANA_ADD_ORG_USER
Adds a global user to the current organization. If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:add` with scope `users:*`.
orgs
Add a new user to the current organization.
GRAFANA_ADD_ORG_USER_TO_CURRENT_ORG
Adds a global user to the current organization. If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `org.users:add` with scope `users:*`.
org
Add External Group.
GRAFANA_ADD_TEAM_GROUP_API
Add External Group.
sync_team_groupsenterprise
Add Team Member.
GRAFANA_ADD_TEAM_MEMBER
Add Team Member.
teams
Add team role.
GRAFANA_ADD_TEAM_ROLE
You need to have a permission with action `teams.roles:add` and scope `permissions:type:delegate`.
access_controlenterprise
Add a user role assignment.
GRAFANA_ADD_USER_ROLE
Assign a role to a specific user. For bulk updates consider Set user role assignments. You need to have a permission with action `users.roles:add` and scope `permissions:type:delegate`. `permissions:type:delegate` scope ensures that users can only assign roles which have same, or a subset of permissions which the user has. For example, if a user does not have required permissions for creating users, they won’t be able to assign a role which will allow to do that. This is done to prevent escalation of privileges.
access_controlenterprise
Create new user.
GRAFANA_ADMIN_CREATE_USER
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users:create`. Note that OrgId is an optional parameter that can be used to assign a new user to a different organization when `auto_assign_org` is set to `true`.
admin_users
Delete global User.
GRAFANA_ADMIN_DELETE_USER
If 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:*`.
admin_users
Disable user.
GRAFANA_ADMIN_DISABLE_USER
If 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).
admin_users
Enable user.
GRAFANA_ADMIN_ENABLE_USER
If 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).
admin_users
Fetch settings.
GRAFANA_ADMIN_GET_SETTINGS
If 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 `settings:auth.saml:enabled` (property level).
admin
Fetch Grafana Stats.
GRAFANA_ADMIN_GET_STATS
Only works with Basic Authentication (username and password). See introduction for an explanation. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `server:stats:read`.
admin
Return a list of all auth tokens (devices) that the user currently have logged in from.
GRAFANA_ADMIN_GET_USER_AUTH_TOKENS
If 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:*`.
admin_users
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.
GRAFANA_ADMIN_LOGOUT_USER
If 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:*`.
admin_users
You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.
GRAFANA_ADMIN_PROVISIONING_RELOAD_ACCESS_CONTROL
You need to have a permission with action `provisioning:reload` with scope `provisioners:accesscontrol`.
admin_provisioningaccess_controlenterprise
Reload dashboard provisioning configurations.
GRAFANA_ADMIN_PROVISIONING_RELOAD_DASHBOARDS
Reloads the provisioning config files for dashboards again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:dashboards`.
admin_provisioning
Reload datasource provisioning configurations.
GRAFANA_ADMIN_PROVISIONING_RELOAD_DATASOURCES
Reloads the provisioning config files for datasources again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:datasources`.
admin_provisioning
Reload plugin provisioning configurations.
GRAFANA_ADMIN_PROVISIONING_RELOAD_PLUGINS
Reloads the provisioning config files for plugins again. It won’t return until the new provisioned entities are already stored in the database. In case of dashboards, it will stop polling for changes in dashboard files and then restart it with new configurations after returning. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `provisioning:reload` and scope `provisioners:plugin`.
admin_provisioning
Revoke auth token for user.
GRAFANA_ADMIN_REVOKE_USER_AUTH_TOKEN
Revokes the given auth token (device) for the user. User of issued auth token (device) will no longer be logged in and will be required to authenticate again upon next activity. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.authtoken:update` and scope `global.users:*`.
admin_users
Set password for user.
GRAFANA_ADMIN_UPDATE_USER_PASSWORD
If 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:*`.
admin_users
Set permissions for user.
GRAFANA_ADMIN_UPDATE_USER_PERMISSIONS
Only works with Basic Authentication (username and password). See introduction for an explanation. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `users.permissions:update` and scope `global.users:*`.
admin_users
Fetch data source resources.
GRAFANA_CALL_DATASOURCE_RESOURCE_WITH_UID
Fetch data source resources.
datasources
Cancel a snapshot, wherever it is in its processing chain.
GRAFANA_CANCEL_SNAPSHOT
TODO: Implement
migrations
Change Password.
GRAFANA_CHANGE_USER_PASSWORD
Changes the password for the user.
signed_in_user
Sends a health check request to the plugin datasource identified by the UID.
GRAFANA_CHECK_DATASOURCE_HEALTH_WITH_UID
Sends a health check request to the plugin datasource identified by the UID.
datasourceshealth
CleanDataSourceCache
GRAFANA_CLEAN_DATA_SOURCE_CACHE
clean cache for a single data source
enterprise
Create gcom access token.
GRAFANA_CREATE_CLOUD_MIGRATION_TOKEN
Create gcom access token.
migrations
Add correlation.
GRAFANA_CREATE_CORRELATION
Add correlation.
datasourcescorrelations
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.
GRAFANA_CREATE_DASHBOARD_SNAPSHOT
Snapshot public mode should be enabled or authentication is required.
dashboardssnapshots
Create folder.
GRAFANA_CREATE_FOLDER
If nested folders are enabled then it additionally expects the parent folder UID. Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}
folders
Create library element.
GRAFANA_CREATE_LIBRARY_ELEMENT
Creates a new library element.
library_elements
Create Organization.
GRAFANA_CREATE_ORG
Only works if [users.allow_org_create](https://grafana.com/docs/grafana/latest/administration/configuration/#allow_org_create) is set.
orgs
Create playlist.
GRAFANA_CREATE_PLAYLIST
Please refer to [new API](?api=playlist.grafana.app-v1).
playlists
CreatePublicDashboard
GRAFANA_CREATE_PUBLIC_DASHBOARD
Create public dashboard for a dashboard
dashboardsdashboard_public
Add query to query history.
GRAFANA_CREATE_QUERY
Adds new query to query history.
query_history
Create a recording rule that is then registered and started.
GRAFANA_CREATE_RECORDING_RULE
Create a recording rule that is then registered and started.
recording_rulesenterprise
Create a remote write target.
GRAFANA_CREATE_RECORDING_RULE_WRITE_TARGET
It returns a 422 if there is not an existing prometheus data source configured.
recording_rulesenterprise
Create a report.
GRAFANA_CREATE_REPORT
Available to org admins only and with a valid license. You need to have a permission with action `reports.admin:create`.
reportsenterprise
Create a new custom role.
GRAFANA_CREATE_ROLE
Creates a new custom role and maps given permissions to that role. Note that roles with the same prefix as Fixed Roles can’t be created. You need to have a permission with action `roles:write` and scope `permissions:type:delegate`. `permissions:type:delegate` scope ensures that users can only create custom roles with the same, or a subset of permissions which the user has. For example, if a user does not have required permissions for creating users, they won’t be able to create a custom role which allows to do that. This is done to prevent escalation of privileges.
access_controlenterprise
Create service account
GRAFANA_CREATE_SERVICE_ACCOUNT
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:write` scope: `serviceaccounts:*` Requires basic authentication and that the authenticated user is a Grafana Admin.
service_accounts
Create a migration session.
GRAFANA_CREATE_SESSION
Create a migration session.
migrations
Trigger the creation of an instance snapshot associated with the provided session.
GRAFANA_CREATE_SNAPSHOT
If the snapshot initialization is successful, the snapshot uid is returned.
migrations
Add Team.
GRAFANA_CREATE_TEAM
Add Team.
teams
CreateNewToken adds a token to a service account
GRAFANA_CREATE_TOKEN
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:write` scope: `serviceaccounts:id:1` (single service account)
service_accounts
Data source proxy DELETE calls.
GRAFANA_DATASOURCE_PROXY_DELETEBY_UIDCALLS
Proxies all calls to the actual data source.
datasources
Data source proxy GET calls.
GRAFANA_DATASOURCE_PROXY_GETBY_UIDCALLS
Proxies all calls to the actual data source.
datasources
Data source proxy POST calls.
GRAFANA_DATASOURCE_PROXY_POSTBY_UIDCALLS
Proxies all calls to the actual data source. The data source should support POST methods for the specific path and role as defined
datasources
Delete Annotation By ID.
GRAFANA_DELETE_ANNOTATION_BY_ID
Deletes the annotation that matches the specified ID.
annotations
Deletes a cloud migration token.
GRAFANA_DELETE_CLOUD_MIGRATION_TOKEN
Deletes a cloud migration token.
migrations
Delete a correlation.
GRAFANA_DELETE_CORRELATION
Delete a correlation.
datasourcescorrelations
Delete dashboard by uid.
GRAFANA_DELETE_DASHBOARD_BY_UID
Will delete the dashboard given the specified unique identifier (uid). Use: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards/{uid}
dashboards
Delete Snapshot by Key.
GRAFANA_DELETE_DASHBOARD_SNAPSHOT
Delete Snapshot by Key.
dashboardssnapshots
Delete Snapshot by deleteKey.
GRAFANA_DELETE_DASHBOARD_SNAPSHOT_BY_DELETE_KEY
Snapshot public mode should be enabled or authentication is required.
dashboardssnapshots
Delete an existing data source by name. This function will be removed in the future.
GRAFANA_DELETE_DATA_SOURCE_BY_NAME
If 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:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).
datasources
Delete an existing data source by UID.
GRAFANA_DELETE_DATA_SOURCE_BY_UID
If 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:*`, `datasources:uid:*` and `datasources:uid:kLtEtcRGk` (single data source).
datasources
Delete folder.
GRAFANA_DELETE_FOLDER
Deletes an existing folder identified by UID along with all dashboards (and their alerts) stored in the folder. This operation cannot be reverted. If nested folders are enabled then it also deletes all the subfolders. Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}
folders
Delete library element.
GRAFANA_DELETE_LIBRARY_ELEMENT_BY_UID
Deletes an existing library element as specified by the UID. This operation cannot be reverted. You cannot delete a library element that is connected. This operation cannot be reverted.
library_elements
Remove license from database.
GRAFANA_DELETE_LICENSE_TOKEN
Removes the license stored in the Grafana database. Available in Grafana Enterprise v7.4+. You need to have a permission with action `licensing:delete`.
licensingenterprise
Delete Organization.
GRAFANA_DELETE_ORG_BY_ID
Delete Organization.
orgs
Delete playlist.
GRAFANA_DELETE_PLAYLIST
Please refer to [new API](?api=playlist.grafana.app-v1).
playlists
DeletePublicDashboard
GRAFANA_DELETE_PUBLIC_DASHBOARD
Delete public dashboard for a dashboard
dashboardsdashboard_public
Delete query in query history.
GRAFANA_DELETE_QUERY
Deletes an existing query in query history as specified by the UID. This operation cannot be reverted.
query_history
Delete removes the rule from the registry and stops it.
GRAFANA_DELETE_RECORDING_RULE
Delete removes the rule from the registry and stops it.
recording_rulesenterprise
Delete the remote write target.
GRAFANA_DELETE_RECORDING_RULE_WRITE_TARGET
Delete the remote write target.
recording_rulesenterprise
Delete a report.
GRAFANA_DELETE_REPORT
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports.delete` with scope `reports:id:<report ID>`. Requesting reports using the internal id will stop workgin in the future Use the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/
reportsenterprise
Delete a custom role.
GRAFANA_DELETE_ROLE
Delete a role with the given UID, and it’s permissions. If the role is assigned to a built-in role, the deletion operation will fail, unless force query param is set to true, and in that case all assignments will also be deleted. You need to have a permission with action `roles:delete` and scope `permissions:type:delegate`. `permissions:type:delegate` scope ensures that users can only delete a custom role with the same, or a subset of permissions which the user has. For example, if a user does not have required permissions for creating users, they won’t be able to delete a custom role which allows to do that.
access_controlenterprise
Delete service account
GRAFANA_DELETE_SERVICE_ACCOUNT
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:delete` scope: `serviceaccounts:id:1` (single service account)
service_accounts
Delete a migration session by its uid.
GRAFANA_DELETE_SESSION
Delete a migration session by its uid.
migrations
Delete Team By ID.
GRAFANA_DELETE_TEAM_BY_ID
Delete Team By ID.
teams
DeleteToken deletes service account tokens
GRAFANA_DELETE_TOKEN
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:write` scope: `serviceaccounts:id:1` (single service account) Requires basic authentication and that the authenticated user is a Grafana Admin.
service_accounts
DisableDataSourceCache
GRAFANA_DISABLE_DATA_SOURCE_CACHE
disable cache for a single data source
enterprise
EnableDataSourceCache
GRAFANA_ENABLE_DATA_SOURCE_CACHE
enable cache for a single data source
enterprise
Get status.
GRAFANA_GET_ACCESS_CONTROL_STATUS
Returns an indicator to check if fine-grained access control is enabled or not. You need to have a permission with action `status:accesscontrol` and scope `services:accesscontrol`.
access_controlenterprise
Find Annotations.
GRAFANA_GET_ANNOTATIONS
Starting in Grafana v6.4 regions annotations are now returned in one entity that now includes the timeEnd property.
annotations
Get Annotation by ID.
GRAFANA_GET_ANNOTATION_BY_ID
Get Annotation by ID.
annotations
Find Annotations Tags.
GRAFANA_GET_ANNOTATION_TAGS
Find all the event tags created in the annotations.
annotations
Fetch the cloud migration token if it exists.
GRAFANA_GET_CLOUD_MIGRATION_TOKEN
Fetch the cloud migration token if it exists.
migrations
Gets a correlation.
GRAFANA_GET_CORRELATION
Gets a correlation.
datasourcescorrelations
Gets all correlations.
GRAFANA_GET_CORRELATIONS
Gets all correlations.
datasourcescorrelations
Gets all correlations originating from the given data source.
GRAFANA_GET_CORRELATIONS_BY_SOURCE_UID
Gets all correlations originating from the given data source.
datasourcescorrelations
Get current Organization.
GRAFANA_GET_CURRENT_ORG
Get current Organization.
org
Fetch Organization quota.
GRAFANA_GET_CURRENT_ORG_QUOTA
If 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).
quotaorg
Get custom permissions report in CSV format.
GRAFANA_GET_CUSTOM_PERMISSIONS_CSV
You need to have a permission with action `licensing.reports:read`.
licensingenterprise
Get custom permissions report.
GRAFANA_GET_CUSTOM_PERMISSIONS_REPORT
You need to have a permission with action `licensing.reports:read`.
licensingenterprise
Get dashboard by uid.
GRAFANA_GET_DASHBOARD_BY_UID
Optional query parameter `apiVersion` selects the Kubernetes API version used to load the dashboard first (for example `v1beta1`). If that request fails, the default version is used instead. When omitted, only the default is used. Will return the dashboard given the dashboard unique identifier (uid). Use: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards/{uid}
dashboards
Gets all existing permissions for the given dashboard.
GRAFANA_GET_DASHBOARD_PERMISSIONS_LIST_BY_UID
Use: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards/{uid}/access
dashboardspermissions
Get Snapshot by Key.
GRAFANA_GET_DASHBOARD_SNAPSHOT
Get Snapshot by Key.
dashboardssnapshots
Get all dashboards tags of an organization.
GRAFANA_GET_DASHBOARD_TAGS
Get all dashboards tags of an organization.
dashboards
Gets all existing versions for the dashboard using UID.
GRAFANA_GET_DASHBOARD_VERSIONS_BY_UID
Gets all existing versions for the dashboard using UID.
dashboardsversions
Get a specific dashboard version using UID.
GRAFANA_GET_DASHBOARD_VERSION_BY_UID
Get a specific dashboard version using UID.
dashboardsversions
Get all data sources.
GRAFANA_GET_DATA_SOURCES
If 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:*`.
datasources
Get a single data source by Name. This function will be removed in the future.
GRAFANA_GET_DATA_SOURCE_BY_NAME
If 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:*` and `datasources:name:test_datasource` (single data source).
datasources
Get a single data source by UID.
GRAFANA_GET_DATA_SOURCE_BY_UID
If 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:*` and `datasources:uid:kLtEtcRGk` (single data source).
datasources
GetDataSourceCacheConfig
GRAFANA_GET_DATA_SOURCE_CACHE_CONFIG
get cache config for a single data source
enterprise
Get data source Id by Name. This function will be removed in the future.
GRAFANA_GET_DATA_SOURCE_ID_BY_NAME
If 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:*` and `datasources:name:test_datasource` (single data source).
datasources
Get all folders.
GRAFANA_GET_FOLDERS
It returns all folders that the authenticated user has permission to view. If nested folders are enabled, it expects an additional query parameter with the parent folder UID and returns the immediate subfolders that the authenticated user has permission to view. If the parameter is not supplied then it returns immediate subfolders under the root that the authenticated user has permission to view. Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders
folders
Get folder by uid.
GRAFANA_GET_FOLDER_BY_UID
Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}
folders
Gets the count of each descendant of a folder by kind. The folder is identified by UID.
GRAFANA_GET_FOLDER_DESCENDANT_COUNTS
Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}
folders
Gets all existing permissions for the folder with the given `uid`.
GRAFANA_GET_FOLDER_PERMISSION_LIST
Gets all existing permissions for the folder with the given `uid`.
folderspermissions
GetHealth
GRAFANA_GET_HEALTH
apiHealthHandler will return ok if Grafana's web server is running and it can access the database. If the database cannot be accessed it will return http status code 503.
health
GetHomeDashboard
GRAFANA_GET_HOME_DASHBOARD
NOTE: the home dashboard is configured in preferences. This API will be removed in G13
dashboards
Attempts to connect to all the configured LDAP servers and returns information on whenever they're available or not.
GRAFANA_GET_LDAPSTATUS
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.status:read`.
admin_ldap
Get all library elements.
GRAFANA_GET_LIBRARY_ELEMENTS
Returns a list of all library elements the authenticated user has permission to view. Use the `perPage` query parameter to control the maximum number of library elements returned; the default limit is `100`. You can also use the `page` query parameter to fetch library elements from any page other than the first one.
library_elements
Get library element by name.
GRAFANA_GET_LIBRARY_ELEMENT_BY_NAME
Returns a library element with the given name.
library_elements
Get library element by UID.
GRAFANA_GET_LIBRARY_ELEMENT_BY_UID
Returns a library element with the given UID.
library_elements
Get library element connections.
GRAFANA_GET_LIBRARY_ELEMENT_CONNECTIONS
Returns a list of connections for a library element based on the UID specified.
library_elements
Get license token.
GRAFANA_GET_LICENSE_TOKEN
You need to have a permission with action `licensing:read`.
licensingenterprise
It exposes the SP (Grafana's) metadata for the IdP's consumption.
GRAFANA_GET_METADATA
It exposes the SP (Grafana's) metadata for the IdP's consumption.
samlenterprise
Get Organization by ID.
GRAFANA_GET_ORG_BY_ID
Get Organization by ID.
orgs
Get Organization by Name.
GRAFANA_GET_ORG_BY_NAME
Get Organization by Name.
orgs
Get Current Org Prefs.
GRAFANA_GET_ORG_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
orgpreferences
Fetch Organization quota.
GRAFANA_GET_ORG_QUOTA
If 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).
quotaorgs
Get Users in Organization.
GRAFANA_GET_ORG_USERS
If 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:*`.
orgs
Get all users within the current organization.
GRAFANA_GET_ORG_USERS_FOR_CURRENT_ORG
Returns all org users within the current organization. Accessible to users with org admin role. If 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:*`.
org
Get all users within the current organization (lookup)
GRAFANA_GET_ORG_USERS_FOR_CURRENT_ORG_LOOKUP
Returns all org users within the current organization, but with less detailed information. Accessible to users with org admin role, admin in any folder or admin of any team. Mainly used by Grafana UI for providing list of users when adding team members and when editing folder/dashboard permissions.
org
Get pending invites.
GRAFANA_GET_PENDING_ORG_INVITES
Get pending invites.
orginvites
Get playlist.
GRAFANA_GET_PLAYLIST
Please refer to [new API](?api=playlist.grafana.app-v1).
playlists
Get playlist items.
GRAFANA_GET_PLAYLIST_ITEMS
Please refer to [new API](?api=playlist.grafana.app-v1) instead (items are included in the playlist spec).
playlists
Get an SSO Settings entry by Key
GRAFANA_GET_PROVIDER_SETTINGS
You need to have a permission with action `settings:read` with scope `settings:auth.<provider>:*`.
sso_settings
GetPublicAnnotations
GRAFANA_GET_PUBLIC_ANNOTATIONS
Get annotations for a public dashboard
dashboardsannotationsdashboard_public
GetPublicDashboard
GRAFANA_GET_PUBLIC_DASHBOARD
Get public dashboard by dashboardUid
dashboardsdashboard_public
Return the prometheus remote write target.
GRAFANA_GET_RECORDING_RULE_WRITE_TARGET
Return the prometheus remote write target.
recording_rulesenterprise
Get a report.
GRAFANA_GET_REPORT
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports:read` with scope `reports:id:<report ID>`. Requesting reports using the internal id will stop workgin in the future Use the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/
reportsenterprise
List reports.
GRAFANA_GET_REPORTS
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports:read` with scope `reports:*`.
reportsenterprise
List reports by dashboard uid.
GRAFANA_GET_REPORTS_BY_DASHBOARD_UID
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports:read` with scope `reports:*`.
reportsenterprise
Get report settings.
GRAFANA_GET_REPORT_SETTINGS
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports.settings:read`x.
reportsenterprise
Get the resource dependencies graph for the current set of migratable resources.
GRAFANA_GET_RESOURCE_DEPENDENCIES
Get the resource dependencies graph for the current set of migratable resources.
migrations
Get a description of a resource's access control properties.
GRAFANA_GET_RESOURCE_DESCRIPTION
Get a description of a resource's access control properties.
access_control
Get permissions for a resource.
GRAFANA_GET_RESOURCE_PERMISSIONS
Get permissions for a resource.
access_control
Get a role.
GRAFANA_GET_ROLE
Get a role for the given UID. You need to have a permission with action `roles:read` and scope `roles:*`.
access_controlenterprise
Get role assignments.
GRAFANA_GET_ROLE_ASSIGNMENTS
Get role assignments for the role with the given UID. Does not include role assignments mapped through group attribute sync. You need to have a permission with action `teams.roles:list` and scope `teams:id:*` and `users.roles:list` and scope `users:id:*`.
access_controlenterprise
GetLogout initiates single logout process.
GRAFANA_GET_SAMLLOGOUT
GetLogout initiates single logout process.
samlenterprise
Get a cloud migration session by its uid.
GRAFANA_GET_SESSION
Get a cloud migration session by its uid.
migrations
Get a list of all cloud migration sessions that have been created.
GRAFANA_GET_SESSION_LIST
Get a list of all cloud migration sessions that have been created.
migrations
Get custom branding report image.
GRAFANA_GET_SETTINGS_IMAGE
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports.settings:read`.
reportsenterprise
Get a list of snapshots for a session.
GRAFANA_GET_SHAPSHOT_LIST
Get a list of snapshots for a session.
migrations
Get snapshot sharing settings.
GRAFANA_GET_SHARING_OPTIONS
Get snapshot sharing settings.
snapshots
GetSignedInUser
GRAFANA_GET_SIGNED_IN_USER
Get (current authenticated user)
signed_in_user
Organizations of the actual User.
GRAFANA_GET_SIGNED_IN_USER_ORG_LIST
Return a list of all organizations of the current user.
signed_in_user
Teams that the actual User is member of.
GRAFANA_GET_SIGNED_IN_USER_TEAM_LIST
Return a list of all teams that the current user is member of.
signed_in_user
It performs Single Logout (SLO) callback.
GRAFANA_GET_SLO
There might be two possible requests: 1. Logout response (callback) when Grafana initiates single logout and IdP returns response to logout request. 2. Logout request when another SP initiates single logout and IdP sends logout request to the Grafana, or in case of IdP-initiated logout.
samlenterprise
Get metadata about a snapshot, including where it is in its processing and final results.
GRAFANA_GET_SNAPSHOT
Get metadata about a snapshot, including where it is in its processing and final results.
migrations
Check license availability.
GRAFANA_GET_STATUS
Check license availability.
licensingenterprise
Returns the current state of the LDAP background sync integration.
GRAFANA_GET_SYNC_STATUS
You need to have a permission with action `ldap.status:read`.
admin_ldapenterprise
Get Team By ID.
GRAFANA_GET_TEAM_BY_ID
Get Team By ID.
teams
Get External Groups.
GRAFANA_GET_TEAM_GROUPS_API
Get External Groups.
sync_team_groupsenterprise
Retrieves LBAC rules for a team.
GRAFANA_GET_TEAM_LBACRULES_API
Retrieves LBAC rules for a team.
enterprise
Get Team Members.
GRAFANA_GET_TEAM_MEMBERS
Get Team Members.
teams
Get Team Preferences.
GRAFANA_GET_TEAM_PREFERENCES
Get Team Preferences.
teamspreferences
Auth tokens of the actual User.
GRAFANA_GET_USER_AUTH_TOKENS
Return a list of all auth tokens (devices) that the actual user currently have logged in from.
signed_in_user
Get user by id.
GRAFANA_GET_USER_BY_ID
Get user by id.
users
Get user by login or email.
GRAFANA_GET_USER_BY_LOGIN_OR_EMAIL
Get user by login or email.
users
Finds an user based on a username in LDAP. This helps illustrate how would the particular user be mapped in Grafana when synced.
GRAFANA_GET_USER_FROM_LDAP
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:read`.
admin_ldap
Get organizations for user.
GRAFANA_GET_USER_ORG_LIST
Get organizations for user identified by id.
users
Get user preferences.
GRAFANA_GET_USER_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
signed_in_userpreferences
Fetch user quota.
GRAFANA_GET_USER_QUOTA
If 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).
quotaadmin_users
Fetch user quota.
GRAFANA_GET_USER_QUOTAS
Fetch user quota.
quotasigned_in_user
Get teams for user.
GRAFANA_GET_USER_TEAMS
Get teams for user identified by id.
users
Import dashboard.
GRAFANA_IMPORT_DASHBOARD
Import dashboard.
dashboards
Interpolate dashboard. This is an experimental endpoint under dashboardLibrary or suggestedDashboards feature flags and is subject to change.
GRAFANA_INTERPOLATE_DASHBOARD
Interpolate dashboard. This is an experimental endpoint under dashboardLibrary or suggestedDashboards feature flags and is subject to change.
dashboards
List all SSO Settings entries
GRAFANA_LIST_ALL_PROVIDERS_SETTINGS
You need to have a permission with action `settings:read` with scope `settings:auth.<provider>:*`.
sso_settings
Lists all devices within the last 30 days
GRAFANA_LIST_DEVICES
Lists all devices within the last 30 days
devices
ListPublicDashboards
GRAFANA_LIST_PUBLIC_DASHBOARDS
Get list of public dashboards
dashboardsdashboard_public
Lists all rules in the database: active or deleted.
GRAFANA_LIST_RECORDING_RULES
Lists all rules in the database: active or deleted.
recording_rulesenterprise
Get all roles.
GRAFANA_LIST_ROLES
Gets all existing roles. The response contains all global and organization local roles, for the organization which user is signed in. You need to have a permission with action `roles:read` and scope `roles:*`. The `delegatable` flag reduces the set of roles to only those for which the signed-in user has permissions to assign.
access_controlenterprise
List search sorting options.
GRAFANA_LIST_SORT_OPTIONS
List search sorting options.
search
List roles assigned to multiple teams.
GRAFANA_LIST_TEAMS_ROLES
Lists the roles that have been directly assigned to the given teams. You need to have a permission with action `teams.roles:read` and scope `teams:id:*`.
access_controlenterprise
Get team roles.
GRAFANA_LIST_TEAM_ROLES
You need to have a permission with action `teams.roles:read` and scope `teams:id:<team ID>`.
access_controlenterprise
Get service account tokens
GRAFANA_LIST_TOKENS
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:read` scope: `global:serviceaccounts:id:1` (single service account) Requires basic authentication and that the authenticated user is a Grafana Admin.
service_accounts
List roles assigned to multiple users.
GRAFANA_LIST_USERS_ROLES
Lists the roles that have been directly assigned to the given users. The list does not include built-in roles (Viewer, Editor, Admin or Grafana Admin), and it does not include roles that have been inherited from a team. You need to have a permission with action `users.roles:read` and scope `users:id:*`.
access_controlenterprise
List roles assigned to a user.
GRAFANA_LIST_USER_ROLES
Lists the roles that have been directly assigned to a given user. The list does not include built-in roles (Viewer, Editor, Admin or Grafana Admin), and it does not include roles that have been inherited from a team. You need to have a permission with action `users.roles:read` and scope `users:id:<user ID>`.
access_controlenterprise
Delete multiple annotations.
GRAFANA_MASS_DELETE_ANNOTATIONS
Delete multiple annotations.
annotations
Move folder.
GRAFANA_MOVE_FOLDER
Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}, Changing the parent folder annotation
folders
Patch Annotation.
GRAFANA_PATCH_ANNOTATION
Updates one or more properties of an annotation that matches the specified ID. This operation currently supports updating of the `text`, `tags`, `time` and `timeEnd` properties. This is available in Grafana 6.0.0-beta2 and above.
annotations
Patch Current Org Prefs.
GRAFANA_PATCH_ORG_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
orgpreferences
Patch SSO Settings
GRAFANA_PATCH_PROVIDER_SETTINGS
Partially updates the SSO Settings for a provider. Only provided fields are updated. You need to have a permission with action `settings:write` and scope `settings:auth.<provider>:*`.
sso_settings
Update comment for query in query history.
GRAFANA_PATCH_QUERY_COMMENT
Updates comment for query in query history as specified by the UID.
query_history
Patch user preferences.
GRAFANA_PATCH_USER_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
signed_in_userpreferences
It performs Assertion Consumer Service (ACS).
GRAFANA_POST_ACS
It performs Assertion Consumer Service (ACS).
samlenterprise
Create Annotation.
GRAFANA_POST_ANNOTATION
Creates an annotation in the Grafana database. The dashboardId and panelId fields are optional. If they are not specified then an organization annotation is created and can be queried in any dashboard that adds the Grafana annotations data source. When creating a region annotation include the timeEnd property. The format for `time` and `timeEnd` should be epoch numbers in millisecond resolution. The response for this HTTP request is slightly different in versions prior to v6.4. In prior versions you would also get an endId if you where creating a region. But in 6.4 regions are represented using a single event with time and timeEnd properties.
annotations
Create / Update dashboard
GRAFANA_POST_DASHBOARD
Creates a new dashboard or updates an existing dashboard. Note: This endpoint is not intended for creating folders, use `POST /api/folders` for that. Use: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards
dashboards
Create Annotation in Graphite format.
GRAFANA_POST_GRAPHITE_ANNOTATION
Creates an annotation by using Graphite-compatible event format. The `when` and `data` fields are optional. If `when` is not specified then the current time will be used as annotation’s timestamp. The `tags` field can also be in prior to Graphite `0.10.0` format (string with multiple tags being separated by a space).
annotations
Create license token.
GRAFANA_POST_LICENSE_TOKEN
You need to have a permission with action `licensing:write`.
licensingenterprise
Manually force license refresh.
GRAFANA_POST_RENEW_LICENSE_TOKEN
Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+. You need to have a permission with action `licensing:write`.
licensingenterprise
It performs Single Logout (SLO) callback.
GRAFANA_POST_SLO
There might be two possible requests: 1. Logout response (callback) when Grafana initiates single logout and IdP returns response to logout request. 2. Logout request when another SP initiates single logout and IdP sends logout request to the Grafana, or in case of IdP-initiated logout.
samlenterprise
Enables a single Grafana user to be synchronized against LDAP.
GRAFANA_POST_SYNC_USER_WITH_LDAP
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.user:sync`.
admin_ldap
DataSource query metrics with expressions.
GRAFANA_QUERY_METRICS_WITH_EXPRESSIONS
If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:query`.
datasources
QueryPublicDashboard
GRAFANA_QUERY_PUBLIC_DASHBOARD
Get results for a given panel on a public dashboard
dashboardsdashboard_public
Refresh license stats.
GRAFANA_REFRESH_LICENSE_STATS
You need to have a permission with action `licensing:read`.
licensingenterprise
Reloads the LDAP configuration.
GRAFANA_RELOAD_LDAPCFG
If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action `ldap.config:reload`.
admin_ldap
Delete user in current organization.
GRAFANA_REMOVE_ORG_USER
If 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:*`.
orgs
Delete user in current organization.
GRAFANA_REMOVE_ORG_USER_FOR_CURRENT_ORG
If 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:*`.
org
Remove SSO Settings
GRAFANA_REMOVE_PROVIDER_SETTINGS
Removes the SSO Settings for a provider. You need to have a permission with action `settings:write` and scope `settings:auth.<provider>:*`.
sso_settings
Remove External Group.
GRAFANA_REMOVE_TEAM_GROUP_API_QUERY
Remove External Group.
sync_team_groupsenterprise
Remove Member From Team.
GRAFANA_REMOVE_TEAM_MEMBER
Remove Member From Team.
teams
Remove team role.
GRAFANA_REMOVE_TEAM_ROLE
You need to have a permission with action `teams.roles:remove` and scope `permissions:type:delegate`.
access_controlenterprise
Remove a user role assignment.
GRAFANA_REMOVE_USER_ROLE
Revoke a role from a user. For bulk updates consider Set user role assignments. You need to have a permission with action `users.roles:remove` and scope `permissions:type:delegate`. `permissions:type:delegate` scope ensures that users can only unassign roles which have same, or a subset of permissions which the user has. For example, if a user does not have required permissions for creating users, they won’t be able to unassign a role which will allow to do that. This is done to prevent escalation of privileges.
access_controlenterprise
Download a CSV report.
GRAFANA_RENDER_REPORT_CSVS
Available to all users and with a valid license.
reportsenterprise
Render report for multiple dashboards.
GRAFANA_RENDER_REPORT_PDFS
Available to all users and with a valid license.
reportsenterprise
Restore a dashboard to a given dashboard version using UID.
GRAFANA_RESTORE_DASHBOARD_VERSION_BY_UID
This API will be removed when /apis/dashboard.grafana.app/v1 is released. You can restore a dashboard by reading it from history, then creating it again.
dashboardsversions
Get single serviceaccount by Id
GRAFANA_RETRIEVE_SERVICE_ACCOUNT
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:read` scope: `serviceaccounts:id:1` (single service account)
service_accounts
Revoke invite.
GRAFANA_REVOKE_INVITE
Revoke invite.
orginvites
Revoke an auth token of the actual User.
GRAFANA_REVOKE_USER_AUTH_TOKEN
Revokes the given auth token (device) for the actual user. User of issued auth token (device) will no longer be logged in and will be required to authenticate again upon next activity.
signed_in_user
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_DELETE_NAMESPACE
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
convert_prometheus
Deletes a specific rule group if it was imported from a Prometheus-compatible source.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_DELETE_RULE_GROUP
Deletes a specific rule group if it was imported from a Prometheus-compatible source.
convert_prometheus
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_GET_NAMESPACE
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
convert_prometheus
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_GET_RULES
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
convert_prometheus
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_GET_RULE_GROUP
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
convert_prometheus
Converts the submitted rule groups into Grafana-Managed Rules.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_CORTEX_POST_RULE_GROUPS
Converts the submitted rule groups into Grafana-Managed Rules.
convert_prometheus
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_DELETE_NAMESPACE
Deletes all rule groups that were imported from Prometheus-compatible sources within the specified namespace.
convert_prometheus
Deletes a specific rule group if it was imported from a Prometheus-compatible source.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_DELETE_RULE_GROUP
Deletes a specific rule group if it was imported from a Prometheus-compatible source.
convert_prometheus
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
GRAFANA_ROUTE_CONVERT_PROMETHEUS_GET_NAMESPACE
Gets Grafana-managed alert rules that were imported from Prometheus-compatible sources for a specified namespace (folder).
convert_prometheus
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_GET_RULES
Gets all Grafana-managed alert rules that were imported from Prometheus-compatible sources, grouped by namespace.
convert_prometheus
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_GET_RULE_GROUP
Gets a single rule group in Prometheus-compatible format if it was imported from a Prometheus-compatible source.
convert_prometheus
Converts the submitted rule groups into Grafana-Managed Rules.
GRAFANA_ROUTE_CONVERT_PROMETHEUS_POST_RULE_GROUPS
Converts the submitted rule groups into Grafana-Managed Rules.
convert_prometheus
Delete a specific alert rule by UID.
GRAFANA_ROUTE_DELETE_ALERT_RULE
Delete a specific alert rule by UID.
provisioning
RouteDeleteAlertRuleGroup
GRAFANA_ROUTE_DELETE_ALERT_RULE_GROUP
Delete rule group
provisioning
Delete a contact point.
GRAFANA_ROUTE_DELETE_CONTACTPOINTS
Delete a contact point.
provisioning
Delete a mute timing.
GRAFANA_ROUTE_DELETE_MUTE_TIMING
Delete a mute timing.
provisioning
Delete a notification template group.
GRAFANA_ROUTE_DELETE_TEMPLATE
Delete a notification template group.
provisioning
Export a mute timing in provisioning format.
GRAFANA_ROUTE_EXPORT_MUTE_TIMING
Export a mute timing in provisioning format.
provisioning
Export all mute timings in provisioning format.
GRAFANA_ROUTE_EXPORT_MUTE_TIMINGS
Export all mute timings in provisioning format.
provisioning
Get a specific alert rule by UID.
GRAFANA_ROUTE_GET_ALERT_RULE
Get a specific alert rule by UID.
provisioning
Get all the alert rules.
GRAFANA_ROUTE_GET_ALERT_RULES
Get all the alert rules.
provisioning
Export all alert rules in provisioning file format.
GRAFANA_ROUTE_GET_ALERT_RULES_EXPORT
Export all alert rules in provisioning file format.
provisioning
Export an alert rule in provisioning file format.
GRAFANA_ROUTE_GET_ALERT_RULE_EXPORT
Export an alert rule in provisioning file format.
provisioning
Get a rule group.
GRAFANA_ROUTE_GET_ALERT_RULE_GROUP
Get a rule group.
provisioning
Export an alert rule group in provisioning file format.
GRAFANA_ROUTE_GET_ALERT_RULE_GROUP_EXPORT
Export an alert rule group in provisioning file format.
provisioning
Get all the contact points.
GRAFANA_ROUTE_GET_CONTACTPOINTS
Get all the contact points.
provisioning
Export all contact points in provisioning file format.
GRAFANA_ROUTE_GET_CONTACTPOINTS_EXPORT
Export all contact points in provisioning file format.
provisioning
Get a mute timing.
GRAFANA_ROUTE_GET_MUTE_TIMING
Get a mute timing.
provisioning
Get all the mute timings.
GRAFANA_ROUTE_GET_MUTE_TIMINGS
Get all the mute timings.
provisioning
Get the notification policy tree.
GRAFANA_ROUTE_GET_POLICY_TREE
Get the notification policy tree.
provisioning
Export the notification policy tree in provisioning file format.
GRAFANA_ROUTE_GET_POLICY_TREE_EXPORT
Export the notification policy tree in provisioning file format.
provisioning
Get a notification template group.
GRAFANA_ROUTE_GET_TEMPLATE
Get a notification template group.
provisioning
Get all notification template groups.
GRAFANA_ROUTE_GET_TEMPLATES
Get all notification template groups.
provisioning
Create a new alert rule.
GRAFANA_ROUTE_POST_ALERT_RULE
Create a new alert rule.
provisioning
Create a contact point.
GRAFANA_ROUTE_POST_CONTACTPOINTS
Create a contact point.
provisioning
Create a new mute timing.
GRAFANA_ROUTE_POST_MUTE_TIMING
Create a new mute timing.
provisioning
Update an existing alert rule.
GRAFANA_ROUTE_PUT_ALERT_RULE
Update an existing alert rule.
provisioning
Create or update alert rule group.
GRAFANA_ROUTE_PUT_ALERT_RULE_GROUP
Create or update alert rule group.
provisioning
Update an existing contact point.
GRAFANA_ROUTE_PUT_CONTACTPOINT
Update an existing contact point.
provisioning
Replace an existing mute timing.
GRAFANA_ROUTE_PUT_MUTE_TIMING
Replace an existing mute timing.
provisioning
Sets the notification policy tree.
GRAFANA_ROUTE_PUT_POLICY_TREE
Sets the notification policy tree.
provisioning
Updates an existing notification template group.
GRAFANA_ROUTE_PUT_TEMPLATE
Updates an existing notification template group.
provisioning
Clears the notification policy tree.
GRAFANA_ROUTE_RESET_POLICY_TREE
Clears the notification policy tree.
provisioning
Save settings.
GRAFANA_SAVE_REPORT_SETTINGS
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports.settings:write`xx.
reportsenterprise
List snapshots.
GRAFANA_SEARCH_DASHBOARD_SNAPSHOTS
List snapshots.
dashboardssnapshots
Lists all devices within the last 30 days
GRAFANA_SEARCH_DEVICES
Lists all devices within the last 30 days
devices
Search all Organizations.
GRAFANA_SEARCH_ORGS
Search all Organizations.
orgs
Search service accounts with paging
GRAFANA_SEARCH_ORG_SERVICE_ACCOUNTS_WITH_PAGING
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:read` scope: `serviceaccounts:*`
service_accounts
Search Users in Organization.
GRAFANA_SEARCH_ORG_USERS
If 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:*`.
orgs
Get playlists.
GRAFANA_SEARCH_PLAYLISTS
Please refer to [new API](?api=playlist.grafana.app-v1).
playlists
Query history search.
GRAFANA_SEARCH_QUERIES
Returns a list of queries in the query history that matches the search criteria. Query history search supports pagination. Use the `limit` parameter to control the maximum number of queries returned; the default limit is 100. You can also use the `page` query parameter to fetch queries from any page other than the first one.
query_history
Team Search With Paging.
GRAFANA_SEARCH_TEAMS
Team Search With Paging.
teams
Search for team groups with optional filtering and pagination.
GRAFANA_SEARCH_TEAM_GROUPS
Search for team groups with optional filtering and pagination.
sync_team_groupsenterprise
Get users.
GRAFANA_SEARCH_USERS
Returns all users that the authenticated user has permission to view, admin permission required.
users
Get users with paging.
GRAFANA_SEARCH_USERS_WITH_PAGING
Get users with paging.
users
Send a report.
GRAFANA_SEND_REPORT
Generate and send a report. This API waits for the report to be generated before returning. We recommend that you set the client’s timeout to at least 60 seconds. Available to org admins only and with a valid license. Only available in Grafana Enterprise v7.0+. This API endpoint is experimental and may be deprecated in a future release. On deprecation, a migration strategy will be provided and the endpoint will remain functional until the next major release of Grafana. You need to have a permission with action `reports:send`.
reportsenterprise
Send test report via email.
GRAFANA_SEND_TEST_EMAIL
Available to org admins only and with a valid license. You need to have a permission with action `reports:send`.
reportsenterprise
SetDataSourceCacheConfig
GRAFANA_SET_DATA_SOURCE_CACHE_CONFIG
set cache config for a single data source
enterprise
Set resource permissions.
GRAFANA_SET_RESOURCE_PERMISSIONS
Assigns permissions for a resource by a given type (`:resource`) and `:resourceID` to one or many assignment types. Allowed resources are `datasources`, `teams`, `dashboards`, `folders`, and `serviceaccounts`. Refer to the `/access-control/{resource}/description` endpoint for allowed Permissions.
access_control
Set resource permissions for a built-in role.
GRAFANA_SET_RESOURCE_PERMISSIONS_FOR_BUILT_IN_ROLE
Assigns permissions for a resource by a given type (`:resource`) and `:resourceID` to a built-in role. Allowed resources are `datasources`, `teams`, `dashboards`, `folders`, and `serviceaccounts`. Refer to the `/access-control/{resource}/description` endpoint for allowed Permissions.
access_control
Set resource permissions for a team.
GRAFANA_SET_RESOURCE_PERMISSIONS_FOR_TEAM
Assigns permissions for a resource by a given type (`:resource`) and `:resourceID` to a team. Allowed resources are `datasources`, `teams`, `dashboards`, `folders`, and `serviceaccounts`. Refer to the `/access-control/{resource}/description` endpoint for allowed Permissions.
access_control
Set resource permissions for a user.
GRAFANA_SET_RESOURCE_PERMISSIONS_FOR_USER
Assigns permissions for a resource by a given type (`:resource`) and `:resourceID` to a user or a service account. Allowed resources are `datasources`, `teams`, `dashboards`, `folders`, and `serviceaccounts`. Refer to the `/access-control/{resource}/description` endpoint for allowed Permissions.
access_control
Set role assignments.
GRAFANA_SET_ROLE_ASSIGNMENTS
Set role assignments for the role with the given UID. You need to have a permission with action `teams.roles:add` and `teams.roles:remove` and scope `permissions:type:delegate`, and `users.roles:add` and `users.roles:remove` and scope `permissions:type:delegate`.
access_controlenterprise
Set team memberships.
GRAFANA_SET_TEAM_MEMBERSHIPS
Takes user emails, and updates team members and admins to the provided lists of users. Any current team members and admins not in the provided lists will be removed.
teams
Update team role.
GRAFANA_SET_TEAM_ROLES
You need to have a permission with action `teams.roles:add` and `teams.roles:remove` and scope `permissions:type:delegate` for each.
access_controlenterprise
Set user role assignments.
GRAFANA_SET_USER_ROLES
Update the user’s role assignments to match the provided set of UIDs. This will remove any assigned roles that aren’t in the request and add roles that are in the set but are not already assigned to the user. Roles mapped through group attribute sync are not impacted. If you want to add or remove a single role, consider using Add a user role assignment or Remove a user role assignment instead. You need to have a permission with action `users.roles:add` and `users.roles:remove` and scope `permissions:type:delegate` for each. `permissions:type:delegate` scope ensures that users can only assign or unassign roles which have same, or a subset of permissions which the user has. For example, if a user does not have required permissions for creating users, they won’t be able to assign or unassign a role which will allow to do that. This is done to prevent escalation of privileges.
access_controlenterprise
Star a dashboard.
GRAFANA_STAR_DASHBOARD_BY_UID
Stars the given Dashboard for the actual user.
signed_in_user
Add star to query in query history.
GRAFANA_STAR_QUERY
Adds star to query in query history as specified by the UID.
query_history
Test a recording rule.
GRAFANA_TEST_CREATE_RECORDING_RULE
Test a recording rule.
recording_rulesenterprise
Unstar a dashboard.
GRAFANA_UNSTAR_DASHBOARD_BY_UID
Deletes the starring of the given Dashboard for the actual user.
signed_in_user
Remove star to query in query history.
GRAFANA_UNSTAR_QUERY
Removes star from query in query history as specified by the UID.
query_history
Update Annotation.
GRAFANA_UPDATE_ANNOTATION
Updates all properties of an annotation that matches the specified id. To only update certain property, consider using the Patch Annotation operation.
annotations
Updates a correlation.
GRAFANA_UPDATE_CORRELATION
Updates a correlation.
datasourcescorrelations
Update current Organization.
GRAFANA_UPDATE_CURRENT_ORG
Update current Organization.
org
Update current Organization's address.
GRAFANA_UPDATE_CURRENT_ORG_ADDRESS
Update current Organization's address.
org
Updates permissions for a dashboard.
GRAFANA_UPDATE_DASHBOARD_PERMISSIONS_BY_UID
This operation will remove existing permissions if they’re not included in the request.
dashboardspermissions
Update an existing data source.
GRAFANA_UPDATE_DATA_SOURCE_BY_UID
Similar 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. Then, the encrypted fields are listed under secureJsonFields section in the response. If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:write` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:1` (single data source).
datasources
Update folder.
GRAFANA_UPDATE_FOLDER
Use: /apis/folder.grafana.app/v1/namespaces/{ns}/folders/{folder_uid}
folders
Updates permissions for a folder. This operation will remove existing permissions if they’re not included in the request.
GRAFANA_UPDATE_FOLDER_PERMISSIONS
Updates permissions for a folder. This operation will remove existing permissions if they’re not included in the request.
folderspermissions
Update library element.
GRAFANA_UPDATE_LIBRARY_ELEMENT
Updates an existing library element identified by uid.
library_elements
Update Organization.
GRAFANA_UPDATE_ORG
Update Organization.
orgs
Update Organization's address.
GRAFANA_UPDATE_ORG_ADDRESS
Update Organization's address.
orgs
Update Current Org Prefs.
GRAFANA_UPDATE_ORG_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/namespace
orgpreferences
Update user quota.
GRAFANA_UPDATE_ORG_QUOTA
If 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).
quotaorgs
Update Users in Organization.
GRAFANA_UPDATE_ORG_USER
If 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:*`.
orgs
Updates the given user.
GRAFANA_UPDATE_ORG_USER_FOR_CURRENT_ORG
If 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:*`.
org
Update playlist.
GRAFANA_UPDATE_PLAYLIST
Please refer to [new API](?api=playlist.grafana.app-v1).
playlists
Update SSO Settings
GRAFANA_UPDATE_PROVIDER_SETTINGS
Inserts or updates the SSO Settings for a provider. You need to have a permission with action `settings:write` and scope `settings:auth.<provider>:*`.
sso_settings
UpdatePublicDashboard
GRAFANA_UPDATE_PUBLIC_DASHBOARD
Update public dashboard for a dashboard
dashboardsdashboard_public
Update the active status of a rule.
GRAFANA_UPDATE_RECORDING_RULE
Update the active status of a rule.
recording_rulesenterprise
Update a report.
GRAFANA_UPDATE_REPORT
Available to org admins only and with a valid or expired license. You need to have a permission with action `reports.admin:write` with scope `reports:id:<report ID>`. Requesting reports using the internal id will stop workgin in the future Use the reporting apiserver to manage reports. See: /apis/reporting.grafana.app/
reportsenterprise
Update a custom role.
GRAFANA_UPDATE_ROLE
You need to have a permission with action `roles:write` and scope `permissions:type:delegate`. `permissions:type:delegate` scope ensures that users can only create custom roles with the same, or a subset of permissions which the user has.
access_controlenterprise
Update service account
GRAFANA_UPDATE_SERVICE_ACCOUNT
Required permissions (See note in the [introduction](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api) for an explanation): action: `serviceaccounts:write` scope: `serviceaccounts:id:1` (single service account)
service_accounts
Update signed in User.
GRAFANA_UPDATE_SIGNED_IN_USER
Update signed in User.
signed_in_user
Update Team.
GRAFANA_UPDATE_TEAM
Update Team.
teams
Updates LBAC rules for a team.
GRAFANA_UPDATE_TEAM_LBACRULES_API
Updates LBAC rules for a team.
enterprise
Update Team Member.
GRAFANA_UPDATE_TEAM_MEMBER
Update Team Member.
teams
Update Team Preferences.
GRAFANA_UPDATE_TEAM_PREFERENCES
Update Team Preferences.
teamspreferences
Update user.
GRAFANA_UPDATE_USER
Update the user identified by id.
users
Update user email.
GRAFANA_UPDATE_USER_EMAIL
Update the email of user given a verification code.
user
Update user preferences.
GRAFANA_UPDATE_USER_PREFERENCES
Use /apis/preferences.grafana.app/v1/namespaces/{namespace}/preferences/user-{uid}
signed_in_userpreferences
Update user quota.
GRAFANA_UPDATE_USER_QUOTA
If 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).
quotaadmin_users
Upload a snapshot to the Grafana Migration Service for processing.
GRAFANA_UPLOAD_SNAPSHOT
Upload a snapshot to the Grafana Migration Service for processing.
migrations
Switch user context for signed in user.
GRAFANA_USER_SET_USING_ORG
Switch user context to the given organization.
signed_in_user
ViewPublicDashboard
GRAFANA_VIEW_PUBLIC_DASHBOARD
Get public dashboard for view
dashboardsdashboard_public
FAQ

Grafana integration, answered

How do AI agents use Grafana through Open Connector?
Your user connects Grafana once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Grafana tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Grafana MCP server?
Yes. Open Connector can serve Grafana as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Grafana actions with credentials injected server-side.
Where do Grafana credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Grafana — keep the keys.

Open source, self-hostable, with Grafana credentials that never leave your infrastructure. Run it from source today.