AACFlow

Grafana

Interact with Grafana dashboards, alerts, and annotations

Usage Instructions

Integrate Grafana into workflows. Manage dashboards, alerts, annotations, data sources, folders, and monitor health status.

Tools

grafana_get_dashboard

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
dashboardUidstringYesNo description

Output

ParameterTypeDescription
dashboardjsonThe full dashboard JSON object
metajsonDashboard metadata (version, permissions, etc.)

grafana_list_dashboards

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
querystringNoNo description
tagstringNoNo description
folderIdsstringNoNo description
starredbooleanNoNo description
limitnumberNoNo description

Output

ParameterTypeDescription
dashboardsarrayList of dashboard search results
idnumberDashboard ID
uidstringDashboard UID
titlestringDashboard title
urlstringDashboard URL path
tagsarrayDashboard tags
folderTitlestringParent folder title

grafana_create_dashboard

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
titlestringYesNo description
folderUidstringNoNo description
tagsstringNoNo description
timezonestringNoNo description
refreshstringNoNo description
panelsstringNoNo description
overwritebooleanNoNo description
messagestringNoNo description

Output

ParameterTypeDescription
idnumberThe numeric ID of the created dashboard
uidstringThe UID of the created dashboard
urlstringThe URL path to the dashboard
statusstringStatus of the operation (success)
versionnumberThe version number of the dashboard
slugstringURL-friendly slug of the dashboard

grafana_update_dashboard

Update an existing dashboard. Fetches the current dashboard and merges your changes.

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
dashboardUidstringYesNo description
titlestringNoNo description
folderUidstringNoNo description
tagsstringNoNo description
timezonestringNoNo description
refreshstringNoNo description
panelsstringNoNo description
overwritebooleanNoNo description
messagestringNoNo description

Output

ParameterTypeDescription
idnumberThe numeric ID of the updated dashboard
uidstringThe UID of the updated dashboard
urlstringThe URL path to the dashboard
statusstringStatus of the operation (success)
versionnumberThe new version number of the dashboard
slugstringURL-friendly slug of the dashboard

grafana_delete_dashboard

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
dashboardUidstringYesNo description

Output

ParameterTypeDescription
titlestringThe title of the deleted dashboard
messagestringConfirmation message
idnumberThe ID of the deleted dashboard

grafana_list_alert_rules

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description

Output

ParameterTypeDescription
rulesarrayList of alert rules
uidstringAlert rule UID
titlestringAlert rule title
conditionstringAlert condition
folderUIDstringParent folder UID
ruleGroupstringRule group name
noDataStatestringState when no data is returned
execErrStatestringState on execution error

grafana_get_alert_rule

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
alertRuleUidstringYesNo description

Output

ParameterTypeDescription
uidstringAlert rule UID
titlestringAlert rule title
conditionstringAlert condition
datajsonAlert rule query data
folderUIDstringParent folder UID
ruleGroupstringRule group name
noDataStatestringState when no data is returned
execErrStatestringState on execution error
annotationsjsonAlert annotations
labelsjsonAlert labels

grafana_create_alert_rule

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
titlestringYesNo description
folderUidstringYesNo description
ruleGroupstringYesNo description
conditionstringYesNo description
datastringYesNo description
forDurationstringNoNo description
noDataStatestringNoNo description
execErrStatestringNoNo description
annotationsstringNoNo description
labelsstringNoNo description

Output

ParameterTypeDescription
uidstringThe UID of the created alert rule
titlestringAlert rule title
folderUIDstringParent folder UID
ruleGroupstringRule group name

grafana_update_alert_rule

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
alertRuleUidstringYesNo description
titlestringNoNo description
folderUidstringNoNo description
ruleGroupstringNoNo description
conditionstringNoNo description
datastringNoNo description
forDurationstringNoNo description
noDataStatestringNoNo description
execErrStatestringNoNo description
annotationsstringNoNo description
labelsstringNoNo description

Output

ParameterTypeDescription
uidstringThe UID of the updated alert rule
titlestringAlert rule title
folderUIDstringParent folder UID
ruleGroupstringRule group name

grafana_delete_alert_rule

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
alertRuleUidstringYesNo description

Output

ParameterTypeDescription
messagestringConfirmation message

grafana_list_contact_points

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description

Output

ParameterTypeDescription
contactPointsarrayList of contact points
uidstringContact point UID
namestringContact point name
typestringNotification type (email, slack, etc.)
settingsobjectType-specific settings

grafana_create_annotation

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
textstringYesNo description
tagsstringNoNo description
dashboardUidstringYesNo description
panelIdnumberNoNo description
timenumberNoNo description
timeEndnumberNoNo description

Output

ParameterTypeDescription
idnumberThe ID of the created annotation
messagestringConfirmation message

grafana_list_annotations

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
fromnumberNoNo description
tonumberNoNo description
dashboardUidstringYesNo description
panelIdnumberNoNo description
tagsstringNoNo description
typestringNoNo description
limitnumberNoNo description

Output

ParameterTypeDescription
annotationsarrayList of annotations
idnumberAnnotation ID
dashboardIdnumberDashboard ID
dashboardUIDstringDashboard UID
creatednumberCreation timestamp in epoch ms
updatednumberLast update timestamp in epoch ms
timenumberStart time in epoch ms
timeEndnumberEnd time in epoch ms
textstringAnnotation text
tagsarrayAnnotation tags
loginstringLogin of the user who created the annotation
emailstringEmail of the user who created the annotation
avatarUrlstringAvatar URL of the user
datajsonAdditional annotation data object from Grafana

grafana_update_annotation

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
annotationIdnumberYesNo description
textstringYesNo description
tagsstringNoNo description
timenumberNoNo description
timeEndnumberNoNo description

Output

ParameterTypeDescription
idnumberThe ID of the updated annotation
messagestringConfirmation message

grafana_delete_annotation

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
annotationIdnumberYesNo description

Output

ParameterTypeDescription
messagestringConfirmation message

grafana_list_data_sources

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description

Output

ParameterTypeDescription
dataSourcesarrayList of data sources
idnumberData source ID
uidstringData source UID
namestringData source name
typestringData source type (prometheus, mysql, etc.)
urlstringData source URL
isDefaultbooleanWhether this is the default data source

grafana_get_data_source

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
dataSourceIdstringYesNo description

Output

ParameterTypeDescription
idnumberData source ID
uidstringData source UID
namestringData source name
typestringData source type
urlstringData source connection URL
databasestringDatabase name (if applicable)
isDefaultbooleanWhether this is the default data source
jsonDatajsonAdditional data source configuration

grafana_list_folders

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
limitnumberNoNo description
pagenumberNoNo description

Output

ParameterTypeDescription
foldersarrayList of folders
idnumberFolder ID
uidstringFolder UID
titlestringFolder title
hasAclbooleanWhether the folder has custom ACL permissions
canSavebooleanWhether the current user can save the folder
canEditbooleanWhether the current user can edit the folder
canAdminbooleanWhether the current user has admin rights
canDeletebooleanWhether the current user can delete the folder
createdBystringUsername of who created the folder
createdstringTimestamp when the folder was created
updatedBystringUsername of who last updated the folder
updatedstringTimestamp when the folder was last updated
versionnumberVersion number of the folder

grafana_create_folder

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
baseUrlstringYesNo description
organizationIdstringNoNo description
titlestringYesNo description
uidstringNoNo description

Output

ParameterTypeDescription
idnumberThe numeric ID of the created folder
uidstringThe UID of the created folder
titlestringThe title of the created folder
urlstringThe URL path to the folder
hasAclbooleanWhether the folder has custom ACL permissions
canSavebooleanWhether the current user can save the folder
canEditbooleanWhether the current user can edit the folder
canAdminbooleanWhether the current user has admin rights on the folder
canDeletebooleanWhether the current user can delete the folder
createdBystringUsername of who created the folder
createdstringTimestamp when the folder was created
updatedBystringUsername of who last updated the folder
updatedstringTimestamp when the folder was last updated
versionnumberVersion number of the folder

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started