Skip to main content

Grafana integration for AI agents

Interact with Grafana dashboards, alerts, and annotations

Grafana is a Sim integration in the Observability category. Sim is the AI workspace where teams build and deploy AI agents. Sim's Grafana integration provides 30 tools that AI agents can use inside Sim's visual workflow builder. Grafana connects with an API key. Free to start at sim.ai.

View docs

Last updated

What Sim agents can do with Grafana

Manage dashboards, alerts, annotations, data sources, folders, and monitor health status.

Category
Observability
Authentication
API key
Tools
30
Triggers
0
Documentation
Grafana docs

How to automate Grafana with Sim

  1. Create a free account

    Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.

  2. Add a Grafana block

    Open your workspace, drag a Grafana block onto the workflow builder, and paste in your Grafana API key.

  3. Configure, connect, and run

    Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Grafana automation is live.

Agent templates

Ready-to-use templates featuring Grafana. Click any to build it instantly.

Grafana tools

30 Grafana tools available to Sim agents.

List Dashboards

Search and list all dashboards

Get Dashboard

Get a dashboard by its UID

Create Dashboard

Create a new dashboard

Update Dashboard

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

Delete Dashboard

Delete a dashboard by its UID

List Alert Rules

List all alert rules in the Grafana instance

Get Alert Rule

Get a specific alert rule by its UID

Get Alert Rule Group

Read an alert rule group: its evaluation interval and every rule in it. The interval is the group-level knob that decides how often those rules are evaluated, which the individual alert rule operations do not expose.

Create Alert Rule

Create a new alert rule

Update Alert Rule

Update an existing alert rule. Fetches the current rule and merges your changes.

Delete Alert Rule

Delete an alert rule by its UID

List Contact Points

List all alert notification contact points

Create Contact Point

Create a notification contact point (e.g., Slack, email, PagerDuty)

Update Contact Point

Replace a contact point by its UID. Grafana has no partial update for contact points, so every field is rewritten — resend the name, type, and full settings, or the omitted ones are reset.

Delete Contact Point

Permanently delete a contact point by its UID. Grafana refuses the delete while the contact point is still referenced by the notification policy tree or by an alert rule.

Create Annotation

Create an annotation on a dashboard or as a global annotation

List Annotations

Query annotations by time range, dashboard, or tags

Update Annotation

Update an existing annotation

Delete Annotation

Delete an annotation by its ID

List Data Sources

List all data sources configured in Grafana

Get Data Source

Get a data source by its ID or UID

Query Data Source

Run one or more queries against a Grafana data source that has a backend implementation, and read the values back. This is how you get actual metric numbers out of Grafana rather than dashboard or alert configuration.

Check Data Source Health

Test connectivity to a data source by its UID

List Folders

List all folders in Grafana

Create Folder

Create a new folder in Grafana

Get Folder

Get a folder by its UID

Update Folder

Update (rename) a folder. Fetches the current folder and merges your changes.

Delete Folder

Delete a folder by its UID

Move Folder

Move a folder under a different parent folder, or to the root by leaving the parent empty. Returns the folder with its new ancestry.

Get Health

Check the health of the Grafana instance (version, database status)

Frequently asked questions

Sim's Grafana integration adds 30 tools to the AI agents you build in Sim's visual workflow builder. Interact with Grafana dashboards, alerts, and annotations.

Every agent your company runs. All in one place.