Grafana Provisioning API

The provisioning API from Grafana — 17 operation(s) for provisioning.

GitHub OpenAPI

Operations 31

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/provisioning/alert-rules List alert rules · Get all the alert rules #
Ask an LLM
“Which alert rules are configured in my Grafana instance?”
“Can I see all alert rules across folders?”
Tell an agent
List all alert rules.
Show every alert rule configured.
POST /v1/provisioning/alert-rules Create an alert rule · Create a new alert rule #
Ask an LLM
“How do I create a new alert rule for a folder?”
“Can I set the evaluation interval and no-data state when creating an alert rule?”
Tell an agent
Create alert rule {title} in folder {folderUID} with condition {condition}, interval {for}, no-data state {noDataState}, group {ruleGroup}, org {orgID}.
Add a new alert rule {title} to {folderUID} in group {ruleGroup} for org {orgID}.
GET /v1/provisioning/alert-rules/export Export all alert rules · Export all alert rules in provisioning file format #
Ask an LLM
“Can I export all alert rules as a provisioning file?”
“Is it possible to download every alert rule in one file?”
Tell an agent
Export all alert rules as {format}.
Download every alert rule in {format} format.
GET /v1/provisioning/alert-rules/{UID} Get an alert rule · Get a specific alert rule by UID #
Ask an LLM
“What condition and interval does a specific alert rule have?”
“Can I look up one alert rule by its UID?”
Tell an agent
Get alert rule {UID}.
Show the condition and interval of alert rule {UID}.
PUT /v1/provisioning/alert-rules/{UID} Update an alert rule · Update an existing alert rule #
Ask an LLM
“How do I change the condition of an existing alert rule?”
“Can I pause an alert rule without deleting it?”
Tell an agent
Update alert rule {UID} with condition {condition}, interval {for}, no-data state {noDataState}, group {ruleGroup}, org {orgID}.
Pause alert rule {UID} by setting isPaused to {isPaused}.
DELETE /v1/provisioning/alert-rules/{UID} Delete an alert rule · Delete a specific alert rule by UID #
Ask an LLM
“How do I remove an alert rule I no longer need?”
“Can I delete a single alert rule by UID?”
Tell an agent destructive · confirm first
Delete alert rule {UID}.
Remove the alert rule with UID {UID}.
GET /v1/provisioning/alert-rules/{UID}/export Export an alert rule · Export an alert rule in provisioning file format #
Ask an LLM
“Can I export one alert rule to a provisioning file?”
“Is it possible to download a single alert rule in a format?”
Tell an agent
Export alert rule {UID} as {format}.
Download alert rule {UID} in {format} format.
GET /v1/provisioning/contact-points List contact points · Get all the contact points #
Ask an LLM
“Which notification contact points are configured?”
“Can I filter contact points by name?”
Tell an agent
List all contact points.
Show contact points named {name}.
POST /v1/provisioning/contact-points Create a contact point · Create a contact point #
Ask an LLM
“How do I add a new contact point for notifications?”
“Can I create a contact point of a given type with settings?”
Tell an agent
Create a {type} contact point named {name} with settings {settings}.
Add a contact point {name} of type {type} using {settings}.
GET /v1/provisioning/contact-points/export Export all contact points · Export all contact points in provisioning file format #
Ask an LLM
“Can I export all contact points as a provisioning file?”
“Is it possible to decrypt secure settings when exporting contact points?”
Tell an agent
Export all contact points as {format}.
Download every contact point in {format} format with decrypt {decrypt}.
PUT /v1/provisioning/contact-points/{UID} Update a contact point · Update an existing contact point #
Ask an LLM
“How do I change the settings of an existing contact point?”
“Can I rename a contact point?”
Tell an agent
Update contact point {UID} with settings {settings}.
Rename contact point {UID} to {name}.
DELETE /v1/provisioning/contact-points/{UID} Delete a contact point · Delete a contact point #
Ask an LLM
“How do I remove a notification contact point?”
“Can I delete a contact point by its UID?”
Tell an agent destructive · confirm first
Delete contact point {UID}.
Remove the contact point with UID {UID}.
GET /v1/provisioning/folder/{FolderUID}/rule-groups/{Group} Get an alert rule group · Get a rule group #
Ask an LLM
“What rules are in a particular rule group of a folder?”
“Can I read one alert rule group by folder and group name?”
Tell an agent
Get rule group {Group} in folder {FolderUID}.
Show the rules in {Group} under folder {FolderUID}.
PUT /v1/provisioning/folder/{FolderUID}/rule-groups/{Group} Create or update an alert rule group · Create or update alert rule group #
Ask an LLM
“How do I create a new rule group in a folder?”
“Can I set the evaluation interval on a rule group?”
Tell an agent
Create rule group {Group} in folder {FolderUID}.
Set the interval of rule group {Group} in folder {FolderUID} to {interval}.
DELETE /v1/provisioning/folder/{FolderUID}/rule-groups/{Group} Delete an alert rule group · Route delete alert rule group #
Ask an LLM
“How do I remove a rule group from a folder?”
“Can I delete a rule group by folder and group name?”
Tell an agent destructive · confirm first
Delete rule group {Group} from folder {FolderUID}.
Remove the {Group} rule group in folder {FolderUID}.
GET /v1/provisioning/folder/{FolderUID}/rule-groups/{Group}/export Export an alert rule group · Export an alert rule group in provisioning file format #
Ask an LLM
“Can I export one alert rule group as a provisioning file?”
“Is it possible to download a single rule group in a format?”
Tell an agent
Export rule group {Group} in folder {FolderUID} as {format}.
Download the {Group} rule group from folder {FolderUID} in {format} format.
GET /v1/provisioning/mute-timings List mute timings · Get all the mute timings #
Ask an LLM
“Which mute timings are configured?”
“Can I see all the times when alerts are muted?”
Tell an agent
List all mute timings.
Show every mute timing configured.
POST /v1/provisioning/mute-timings Create a mute timing · Create a new mute timing #
Ask an LLM
“How do I create a new mute timing?”
“Can I define a mute timing with specific time intervals?”
Tell an agent
Create a mute timing named {name} with intervals {time_intervals}.
Add a new mute timing {name} using {time_intervals}.
GET /v1/provisioning/mute-timings/export Export all mute timings · Export all mute timings in provisioning format #
Ask an LLM
“Can I export all mute timings as a provisioning file?”
“Is it possible to download every mute timing in one file?”
Tell an agent
Export all mute timings as {format}.
Download every mute timing in {format} format.
GET /v1/provisioning/mute-timings/{name} Get a mute timing · Get a mute timing #
Ask an LLM
“What time intervals does a specific mute timing cover?”
“Can I look up one mute timing by name?”
Tell an agent
Get mute timing {name}.
Show the intervals of mute timing {name}.
PUT /v1/provisioning/mute-timings/{name} Replace a mute timing · Replace an existing mute timing #
Ask an LLM
“How do I change the time intervals of an existing mute timing?”
“Can I overwrite a mute timing by name?”
Tell an agent
Replace mute timing {name} with intervals {time_intervals}.
Overwrite the existing mute timing {name}.
DELETE /v1/provisioning/mute-timings/{name} Delete a mute timing · Delete a mute timing #
Ask an LLM
“How do I remove a mute timing?”
“Can I delete a mute timing by name?”
Tell an agent destructive · confirm first
Delete mute timing {name}.
Remove the {name} mute timing.
GET /v1/provisioning/mute-timings/{name}/export Export a mute timing · Export a mute timing in provisioning format #
Ask an LLM
“How do I export a mute timing to a provisioning file?”
“Can I download a mute timing as YAML or JSON?”
Tell an agent
Export mute timing {name}.
Download mute timing {name} as {format}.
GET /v1/provisioning/policies Get the notification policy tree · Get the notification policy tree #
Ask an LLM
“What notification routes and receivers are configured?”
“Can I see the full policy tree?”
Tell an agent
Show the notification policy tree.
Get the current alerting policy tree.
PUT /v1/provisioning/policies Set the notification policy tree · Sets the notification policy tree #
Ask an LLM
“How do I configure the alerting policy tree?”
“Can I set the group wait and interval on the policy tree?”
Tell an agent
Set the policy tree with group wait {group_wait}.
Replace the policy tree with routes {routes}.
DELETE /v1/provisioning/policies Clear the notification policy tree · Clears the notification policy tree #
Ask an LLM
“How do I clear the notification policy tree?”
“Can I reset alerting to its defaults?”
Tell an agent destructive · confirm first
Clear the policy tree.
Reset the notification policy tree.
GET /v1/provisioning/policies/export Export the notification policy tree as a provisioning file · Export the notification policy tree in provisioning file format #
Ask an LLM
“Can I export the notification policy tree in a provisioning format?”
“What does the exported policy tree YAML look like?”
Tell an agent
Export the notification policy tree as a provisioning file.
Get the policy tree export for provisioning.
GET /v1/provisioning/templates List notification template groups · Get all notification template groups #
Ask an LLM
“Which notification template groups exist?”
“What templates are configured for alerts?”
Tell an agent
List all notification template groups.
Show the template groups.
GET /v1/provisioning/templates/{name} Get a notification template group · Get a notification template group #
Ask an LLM
“How do I view one notification template group?”
“What does a specific template group contain?”
Tell an agent
Get notification template group {name}.
Show the {name} template group.
PUT /v1/provisioning/templates/{name} Update a notification template group · Updates an existing notification template group #
Ask an LLM
“How do I change an existing notification template group?”
“Can I update a template group's content?”
Tell an agent
Update template group {name} with {template}.
Replace the {name} template group.
DELETE /v1/provisioning/templates/{name} Delete a notification template group · Delete a notification template group #
Ask an LLM
“How do I remove a notification template group?”
“Can I delete a template group by name?”
Tell an agent destructive · confirm first
Delete notification template group {name}.
Remove the {name} template group.

Documentation

📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/
📖
Authentication
https://grafana.com/docs/grafana/latest/developers/http_api/authentication/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_versions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/dashboard_public/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/data_source/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/datasource_lbac_rules/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/annotations/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/org/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/user/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/team/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/preferences/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/access_control/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/admin/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/licensing/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/reporting/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/query_and_resource_caching/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/library_element/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/correlations/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/snapshot/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/short_url/
📖
Documentation
https://grafana.com/docs/grafana/latest/developers/http_api/query_history/

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/grafana-com:grafana-com-provisioning-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

grafana-com-provisioning-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'The Grafana backend exposes an HTTP API, the same API is used by the frontend to do

    everything from saving dashboards, creating users and updating data sources.'
  title: Grafana HTTP API. Provisioning API
  contact:
    name: Grafana Labs
    url: https://grafana.com
    email: hello@grafana.com
  version: 0.0.1
servers:
- url: /api
security:
- basic: []
- api_key: []
tags:


# --- truncated at 32 KB (59 KB total) ---
# Full source: https://artifacts.apis.io/grafana-com/openapi/grafana-com-provisioning-api-openapi.yml