Grafana Dashboards API

The dashboards API from Grafana — 20 operation(s) for dashboards.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Observability Management BC-4220.20

Operations 25

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 /dashboard/snapshots Search dashboard snapshots · List snapshots #
Ask an LLM
“How do I find dashboard snapshots I've shared?”
“Can I search snapshots by name?”
Tell an agent
Search dashboard snapshots for {query}.
List up to {limit} dashboard snapshots.
POST /dashboards/db Save a dashboard · Create / Update dashboard #
Ask an LLM
“How do I save a dashboard to a folder?”
“Can I overwrite an existing dashboard when saving it?”
Tell an agent
Save dashboard {dashboard} to folder {folderId}.
Save dashboard {dashboard} with overwrite {overwrite}.
GET /dashboards/home Get the home dashboard · Get home dashboard #
Ask an LLM
“What dashboard is shown on my Grafana home page?”
“Is the home dashboard still supported?”
Tell an agent
Get my home dashboard.
Show the dashboard configured as my home page.
POST /dashboards/import Import a dashboard · Import dashboard #
Ask an LLM
“How do I import a dashboard from a JSON file?”
“Can I import a dashboard into a specific folder?”
Tell an agent
Import dashboard {dashboard}.
Import dashboard {dashboard} into folder {folderId}.
POST /dashboards/interpolate Interpolate a dashboard · Interpolate dashboard. #
Ask an LLM
“How do I interpolate a dashboard's variables?”
“Can I interpolate a dashboard without saving it?”
Tell an agent
Interpolate this dashboard.
Fill in the variables of the dashboard I'm editing.
GET /dashboards/public-dashboards List public dashboards · List public dashboards #
Ask an LLM
“Which dashboards are published publicly?”
“Can I see all public dashboards in my organization?”
Tell an agent
List public dashboards.
Show every dashboard shared publicly.
GET /dashboards/tags List dashboard tags · Get all dashboards tags of an organization #
Ask an LLM
“What tags are used across my dashboards?”
“Can I get all dashboard tags in one call?”
Tell an agent
List dashboard tags.
Show every tag used on dashboards.
GET /dashboards/uid/{dashboardUid}/public-dashboards Get a public dashboard · Get public dashboard #
Ask an LLM
“How do I fetch a public dashboard by its UID?”
“Can I look up a public dashboard by its unique identifier?”
Tell an agent
Get public dashboard {dashboardUid}.
Show the public dashboard with UID {dashboardUid}.
POST /dashboards/uid/{dashboardUid}/public-dashboards Publish a dashboard publicly · Create public dashboard #
Ask an LLM
“How do I publish a dashboard so anyone can view it?”
“Can I turn on annotations for a public dashboard?”
Tell an agent
Publish dashboard {dashboardUid} as a public dashboard.
Create a public dashboard for {dashboardUid} with annotations enabled {annotationsEnabled}.
DELETE /dashboards/uid/{dashboardUid}/public-dashboards/{uid} Unpublish a public dashboard · Delete public dashboard #
Ask an LLM
“How do I stop sharing a dashboard publicly?”
“Can I delete a public dashboard by its UID?”
Tell an agent destructive · confirm first
Delete public dashboard {uid} from dashboard {dashboardUid}.
Unpublish the public dashboard {uid} of {dashboardUid}.
PATCH /dashboards/uid/{dashboardUid}/public-dashboards/{uid} Update a public dashboard · Update public dashboard #
Ask an LLM
“How do I change the share settings of a public dashboard?”
“Can I disable time selection on a public dashboard?”
Tell an agent
Update public dashboard {uid} of {dashboardUid}.
Set share to {share} on public dashboard {uid} of {dashboardUid}.
GET /dashboards/uid/{uid} Get a dashboard by UID · Get dashboard by uid #
Ask an LLM
“How do I fetch a dashboard using its unique identifier?”
“Can I read a dashboard by UID instead of by title?”
Tell an agent
Get dashboard {uid}.
Show the dashboard with UID {uid}.
DELETE /dashboards/uid/{uid} Delete a dashboard by UID · Delete dashboard by uid #
Ask an LLM
“How do I delete a dashboard using its UID?”
“Can I remove a dashboard by its unique identifier?”
Tell an agent destructive · confirm first
Delete dashboard {uid}.
Remove the dashboard with UID {uid}.
GET /dashboards/uid/{uid}/permissions List a dashboard's permissions · Gets all existing permissions for the given dashboard #
Ask an LLM
“Who has access to a particular dashboard?”
“Can I see the permission list for a dashboard by UID?”
Tell an agent
List permissions for dashboard {uid}.
Show who can access dashboard {uid}.
POST /dashboards/uid/{uid}/permissions Set a dashboard's permissions · Updates permissions for a dashboard #
Ask an LLM
“How do I grant or revoke access to a dashboard?”
“Does updating dashboard permissions remove ones not in the list?”
Tell an agent
Set dashboard {uid} permissions to {items}.
Grant access to dashboard {uid} by replacing its permission list with {items}.
POST /dashboards/uid/{uid}/restore Restore a dashboard to a version · Restore a dashboard to a given dashboard version using UID #
Ask an LLM
“How do I roll back a dashboard to a previous version?”
“Can I restore a dashboard by its UID and version number?”
Tell an agent
Restore dashboard {uid} to version {version}.
Roll back dashboard {uid} to version {version}.
GET /dashboards/uid/{uid}/versions List a dashboard's versions · Gets all existing versions for the dashboard using UID #
Ask an LLM
“What versions exist for a dashboard?”
“Can I see a dashboard's history of changes?”
Tell an agent
List versions of dashboard {uid}.
Show dashboard {uid} versions, {limit} at a time.
GET /dashboards/uid/{uid}/versions/{DashboardVersionID} Get one dashboard version · Get a specific dashboard version using UID #
Ask an LLM
“How do I fetch a single version of a dashboard?”
“Can I read a specific dashboard version by its ID?”
Tell an agent
Get version {DashboardVersionID} of dashboard {uid}.
Show dashboard {uid} version {DashboardVersionID}.
GET /public/dashboards/{accessToken} View a public dashboard · View public dashboard #
Ask an LLM
“How do I open a public dashboard with a share token?”
“Can I view a public dashboard without logging in?”
Tell an agent
View public dashboard {accessToken}.
Open the public dashboard using token {accessToken}.
GET /public/dashboards/{accessToken}/annotations Get annotations on a public dashboard · Get public annotations #
Ask an LLM
“How do I see annotations on a public dashboard?”
“Can I fetch public annotations for a dashboard by token?”
Tell an agent
Get annotations for public dashboard {accessToken}.
Show public annotations on dashboard {accessToken}.
POST /public/dashboards/{accessToken}/panels/{panelId}/query Query a panel on a public dashboard · Query public dashboard #
Ask an LLM
“How do I get live data for one panel on a public dashboard?”
“Can I query a public dashboard by its access token and panel ID?”
Tell an agent
Query panel {panelId} on public dashboard {accessToken}.
Get results for public dashboard {accessToken} panel {panelId}.
POST /snapshots Create a dashboard snapshot · When creating a snapshot using the API, you have to provide the full dashboard… #
Ask an LLM
“How do I share a dashboard as a temporary snapshot link?”
“Can I set an expiry when creating a dashboard snapshot?”
Tell an agent
Create a snapshot of dashboard {dashboard}.
Create a dashboard snapshot named {name} that expires in {expires}.
GET /snapshots-delete/{deleteKey} Delete a dashboard snapshot by its delete key · Delete Snapshot by deleteKey #
Ask an LLM
“How do I remove a dashboard snapshot using its delete key?”
“Can I delete a snapshot by its delete key instead of its snapshot key?”
Tell an agent destructive · confirm first
Delete dashboard snapshot {deleteKey} using its delete key.
Remove the snapshot whose delete key is {deleteKey}.
GET /snapshots/{key} Get a dashboard snapshot by its key · Get Snapshot by Key #
Ask an LLM
“How do I fetch a dashboard snapshot by its key?”
“What does a dashboard snapshot look like when I retrieve it by key?”
Tell an agent
Get dashboard snapshot {key}.
Show the snapshot with key {key}.
DELETE /snapshots/{key} Delete a dashboard snapshot by its key · Delete Snapshot by Key #
Ask an LLM
“How do I delete a dashboard snapshot by its key?”
“Can I remove a dashboard snapshot I created?”
Tell an agent destructive · confirm first
Delete dashboard snapshot {key}.
Remove the snapshot with key {key}.

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-dashboards-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-dashboards-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. Dashboards 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 (65 KB total) ---
# Full source: https://artifacts.apis.io/grafana-com/openapi/grafana-com-dashboards-api-openapi.yml