Grafana · Capability

Grafana — Dashboards

Grafana — Dashboards. 32 operations. Lead operation: Grafana Admin Provisioning Reload Dashboards. Self-contained Naftiko capability covering one Grafana business surface.

Run with Naftiko GrafanaDashboards

What You Can Do

POST
Adminprovisioningreloaddashboards — Grafana Admin Provisioning Reload Dashboards
/v1/admin/provisioning/dashboards/reload
GET
Searchdashboardsnapshots — Grafana Search Dashboard Snapshots
/v1/dashboard/snapshots
POST
Postdashboard — Grafana Post Dashboard
/v1/dashboards/db
GET
Gethomedashboard — Grafana Get Home Dashboard
/v1/dashboards/home
GET
Getdashboardpermissionslistbyid — Grafana Get Dashboard Permissions List By ID
/v1/dashboards/id/{dashboardid}/permissions
POST
Updatedashboardpermissionsbyid — Grafana Update Dashboard Permissions By ID
/v1/dashboards/id/{dashboardid}/permissions
GET
Getdashboardversionsbyid — Grafana Get Dashboard Versions By ID
/v1/dashboards/id/{dashboardid}/versions
GET
Getdashboardversionbyid — Grafana Get Dashboard Version By ID
/v1/dashboards/id/{dashboardid}/versions/{dashboardversionid}
POST
Importdashboard — Grafana Import Dashboard
/v1/dashboards/import
POST
Interpolatedashboard — Grafana Interpolate Dashboard
/v1/dashboards/interpolate
GET
Listpublicdashboards — Grafana List Public Dashboards
/v1/dashboards/public-dashboards
GET
Getdashboardtags — Grafana Get Dashboard Tags
/v1/dashboards/tags
GET
Getpublicdashboard — Grafana Get Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards
POST
Createpublicdashboard — Grafana Create Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards
DELETE
Deletepublicdashboard — Grafana Delete Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
PATCH
Updatepublicdashboard — Grafana Update Public Dashboard
/v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
GET
Getdashboardbyuid — Grafana Get Dashboard By UID
/v1/dashboards/uid/{uid}
DELETE
Deletedashboardbyuid — Grafana Delete Dashboard By UID
/v1/dashboards/uid/{uid}
GET
Getdashboardpermissionslistbyuid — Grafana Get Dashboard Permissions List By UID
/v1/dashboards/uid/{uid}/permissions
POST
Updatedashboardpermissionsbyuid — Grafana Update Dashboard Permissions By UID
/v1/dashboards/uid/{uid}/permissions
POST
Restoredashboardversionbyuid — Grafana Restore Dashboard Version By UID
/v1/dashboards/uid/{uid}/restore
GET
Getdashboardversionsbyuid — Grafana Get Dashboard Versions By UID
/v1/dashboards/uid/{uid}/versions
GET
Getdashboardversionbyuid — Grafana Get Dashboard Version By UID
/v1/dashboards/uid/{uid}/versions/{dashboardversionid}
GET
Viewpublicdashboard — Grafana View Public Dashboard
/v1/public/dashboards/{accesstoken}
POST
Querypublicdashboard — Grafana Query Public Dashboard
/v1/public/dashboards/{accesstoken}/panels/{panelid}/query
GET
Getreportsbydashboarduid — Grafana Get Reports By Dashboard UID
/v1/reports/dashboards/{uid}
POST
Createdashboardsnapshot — Grafana Create Dashboard Snapshot
/v1/snapshots
GET
Deletedashboardsnapshotbydeletekey — Grafana Delete Dashboard Snapshot By Delete Key
/v1/snapshots-delete/{deletekey}
GET
Getdashboardsnapshot — Grafana Get Dashboard Snapshot
/v1/snapshots/{key}
DELETE
Deletedashboardsnapshot — Grafana Delete Dashboard Snapshot
/v1/snapshots/{key}
POST
Stardashboardbyuid — Grafana Star Dashboard By UID
/v1/user/stars/dashboard/uid/{dashboard-uid}
DELETE
Unstardashboardbyuid — Grafana Unstar Dashboard By UID
/v1/user/stars/dashboard/uid/{dashboard-uid}

MCP Tools

grafana-admin-provisioning-reload-dashboards

Grafana Admin Provisioning Reload Dashboards

grafana-search-dashboard-snapshots

Grafana Search Dashboard Snapshots

read-only idempotent
grafana-post-dashboard

Grafana Post Dashboard

grafana-get-home-dashboard

Grafana Get Home Dashboard

read-only idempotent
grafana-get-dashboard-permissions-list

Grafana Get Dashboard Permissions List By ID

read-only idempotent
grafana-update-dashboard-permissions-id

Grafana Update Dashboard Permissions By ID

grafana-get-dashboard-versions-id

Grafana Get Dashboard Versions By ID

read-only idempotent
grafana-get-dashboard-version-id

Grafana Get Dashboard Version By ID

read-only idempotent
grafana-import-dashboard

Grafana Import Dashboard

grafana-interpolate-dashboard

Grafana Interpolate Dashboard

grafana-list-public-dashboards

Grafana List Public Dashboards

read-only idempotent
grafana-get-dashboard-tags

Grafana Get Dashboard Tags

read-only idempotent
grafana-get-public-dashboard

Grafana Get Public Dashboard

read-only idempotent
grafana-create-public-dashboard

Grafana Create Public Dashboard

grafana-delete-public-dashboard

Grafana Delete Public Dashboard

idempotent
grafana-update-public-dashboard

Grafana Update Public Dashboard

idempotent
grafana-get-dashboard-uid

Grafana Get Dashboard By UID

read-only idempotent
grafana-delete-dashboard-uid

Grafana Delete Dashboard By UID

idempotent
grafana-get-dashboard-permissions-list-2

Grafana Get Dashboard Permissions List By UID

read-only idempotent
grafana-update-dashboard-permissions-uid

Grafana Update Dashboard Permissions By UID

grafana-restore-dashboard-version-uid

Grafana Restore Dashboard Version By UID

grafana-get-dashboard-versions-uid

Grafana Get Dashboard Versions By UID

read-only idempotent
grafana-get-dashboard-version-uid

Grafana Get Dashboard Version By UID

read-only idempotent
grafana-view-public-dashboard

Grafana View Public Dashboard

read-only idempotent
grafana-query-public-dashboard

Grafana Query Public Dashboard

read-only
grafana-get-reports-dashboard-uid

Grafana Get Reports By Dashboard UID

read-only idempotent
grafana-create-dashboard-snapshot

Grafana Create Dashboard Snapshot

grafana-delete-dashboard-snapshot-delete

Grafana Delete Dashboard Snapshot By Delete Key

read-only idempotent
grafana-get-dashboard-snapshot

Grafana Get Dashboard Snapshot

read-only idempotent
grafana-delete-dashboard-snapshot

Grafana Delete Dashboard Snapshot

idempotent
grafana-star-dashboard-uid

Grafana Star Dashboard By UID

grafana-unstar-dashboard-uid

Grafana Unstar Dashboard By UID

idempotent

Capability Spec

grafana-dashboards-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grafana — Dashboards
  description: 'Grafana — Dashboards. 32 operations. Lead operation: Grafana Admin Provisioning Reload Dashboards. Self-contained
    Naftiko capability covering one Grafana business surface.'
  tags:
  - Grafana
  - Dashboards
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRAFANA_API_KEY: GRAFANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: grafana-dashboards-2
    baseUri: http://{defaultHost}
    description: Grafana — Dashboards business capability. Self-contained, no shared references.
    resources:
    - name: admin-provisioning-dashboards-reload
      path: /admin/provisioning/dashboards/reload
      operations:
      - name: adminprovisioningreloaddashboards
        method: POST
        description: Grafana Admin Provisioning Reload Dashboards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboard-snapshots
      path: /dashboard/snapshots
      operations:
      - name: searchdashboardsnapshots
        method: GET
        description: Grafana Search Dashboard Snapshots
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: Search Query
        - name: limit
          in: query
          type: integer
          description: Limit the number of returned results
    - name: dashboards-db
      path: /dashboards/db
      operations:
      - name: postdashboard
        method: POST
        description: Grafana Post Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-home
      path: /dashboards/home
      operations:
      - name: gethomedashboard
        method: GET
        description: Grafana Get Home Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboards-id-DashboardID-permissions
      path: /dashboards/id/{DashboardID}/permissions
      operations:
      - name: getdashboardpermissionslistbyid
        method: GET
        description: Grafana Get Dashboard Permissions List By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardID
          in: path
          type: integer
          required: true
      - name: updatedashboardpermissionsbyid
        method: POST
        description: Grafana Update Dashboard Permissions By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-id-DashboardID-versions
      path: /dashboards/id/{DashboardID}/versions
      operations:
      - name: getdashboardversionsbyid
        method: GET
        description: Grafana Get Dashboard Versions By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardID
          in: path
          type: integer
          required: true
    - name: dashboards-id-DashboardID-versions-DashboardVersionID
      path: /dashboards/id/{DashboardID}/versions/{DashboardVersionID}
      operations:
      - name: getdashboardversionbyid
        method: GET
        description: Grafana Get Dashboard Version By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardID
          in: path
          type: integer
          required: true
        - name: DashboardVersionID
          in: path
          type: integer
          required: true
    - name: dashboards-import
      path: /dashboards/import
      operations:
      - name: importdashboard
        method: POST
        description: Grafana Import Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-interpolate
      path: /dashboards/interpolate
      operations:
      - name: interpolatedashboard
        method: POST
        description: Grafana Interpolate Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboards-public-dashboards
      path: /dashboards/public-dashboards
      operations:
      - name: listpublicdashboards
        method: GET
        description: Grafana List Public Dashboards
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboards-tags
      path: /dashboards/tags
      operations:
      - name: getdashboardtags
        method: GET
        description: Grafana Get Dashboard Tags
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: dashboards-uid-dashboardUid-public-dashboards
      path: /dashboards/uid/{dashboardUid}/public-dashboards
      operations:
      - name: getpublicdashboard
        method: GET
        description: Grafana Get Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardUid
          in: path
          type: string
          required: true
      - name: createpublicdashboard
        method: POST
        description: Grafana Create Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardUid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-dashboardUid-public-dashboards-uid
      path: /dashboards/uid/{dashboardUid}/public-dashboards/{uid}
      operations:
      - name: deletepublicdashboard
        method: DELETE
        description: Grafana Delete Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardUid
          in: path
          type: string
          required: true
        - name: uid
          in: path
          type: string
          required: true
      - name: updatepublicdashboard
        method: PATCH
        description: Grafana Update Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboardUid
          in: path
          type: string
          required: true
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-uid
      path: /dashboards/uid/{uid}
      operations:
      - name: getdashboardbyuid
        method: GET
        description: Grafana Get Dashboard By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
      - name: deletedashboardbyuid
        method: DELETE
        description: Grafana Delete Dashboard By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
    - name: dashboards-uid-uid-permissions
      path: /dashboards/uid/{uid}/permissions
      operations:
      - name: getdashboardpermissionslistbyuid
        method: GET
        description: Grafana Get Dashboard Permissions List By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
      - name: updatedashboardpermissionsbyuid
        method: POST
        description: Grafana Update Dashboard Permissions By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-uid-restore
      path: /dashboards/uid/{uid}/restore
      operations:
      - name: restoredashboardversionbyuid
        method: POST
        description: Grafana Restore Dashboard Version By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dashboards-uid-uid-versions
      path: /dashboards/uid/{uid}/versions
      operations:
      - name: getdashboardversionsbyuid
        method: GET
        description: Grafana Get Dashboard Versions By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return
        - name: start
          in: query
          type: integer
          description: Version to start from when returning queries
    - name: dashboards-uid-uid-versions-DashboardVersionID
      path: /dashboards/uid/{uid}/versions/{DashboardVersionID}
      operations:
      - name: getdashboardversionbyuid
        method: GET
        description: Grafana Get Dashboard Version By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DashboardVersionID
          in: path
          type: integer
          required: true
        - name: uid
          in: path
          type: string
          required: true
    - name: public-dashboards-accessToken
      path: /public/dashboards/{accessToken}
      operations:
      - name: viewpublicdashboard
        method: GET
        description: Grafana View Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accessToken
          in: path
          type: string
          required: true
    - name: public-dashboards-accessToken-panels-panelId-query
      path: /public/dashboards/{accessToken}/panels/{panelId}/query
      operations:
      - name: querypublicdashboard
        method: POST
        description: Grafana Query Public Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accessToken
          in: path
          type: string
          required: true
        - name: panelId
          in: path
          type: integer
          required: true
    - name: reports-dashboards-uid
      path: /reports/dashboards/{uid}
      operations:
      - name: getreportsbydashboarduid
        method: GET
        description: Grafana Get Reports By Dashboard UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uid
          in: path
          type: string
          required: true
    - name: snapshots
      path: /snapshots
      operations:
      - name: createdashboardsnapshot
        method: POST
        description: Grafana Create Dashboard Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: snapshots-delete-deleteKey
      path: /snapshots-delete/{deleteKey}
      operations:
      - name: deletedashboardsnapshotbydeletekey
        method: GET
        description: Grafana Delete Dashboard Snapshot By Delete Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deleteKey
          in: path
          type: string
          required: true
    - name: snapshots-key
      path: /snapshots/{key}
      operations:
      - name: getdashboardsnapshot
        method: GET
        description: Grafana Get Dashboard Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
      - name: deletedashboardsnapshot
        method: DELETE
        description: Grafana Delete Dashboard Snapshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: path
          type: string
          required: true
    - name: user-stars-dashboard-uid-dashboard_uid
      path: /user/stars/dashboard/uid/{dashboard_uid}
      operations:
      - name: stardashboardbyuid
        method: POST
        description: Grafana Star Dashboard By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_uid
          in: path
          type: string
          required: true
      - name: unstardashboardbyuid
        method: DELETE
        description: Grafana Unstar Dashboard By UID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_uid
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.GRAFANA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: grafana-dashboards-2-rest
    port: 8080
    description: REST adapter for Grafana — Dashboards. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/admin/provisioning/dashboards/reload
      name: admin-provisioning-dashboards-reload
      description: REST surface for admin-provisioning-dashboards-reload.
      operations:
      - method: POST
        name: adminprovisioningreloaddashboards
        description: Grafana Admin Provisioning Reload Dashboards
        call: grafana-dashboards-2.adminprovisioningreloaddashboards
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboard/snapshots
      name: dashboard-snapshots
      description: REST surface for dashboard-snapshots.
      operations:
      - method: GET
        name: searchdashboardsnapshots
        description: Grafana Search Dashboard Snapshots
        call: grafana-dashboards-2.searchdashboardsnapshots
        with:
          query: rest.query
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/db
      name: dashboards-db
      description: REST surface for dashboards-db.
      operations:
      - method: POST
        name: postdashboard
        description: Grafana Post Dashboard
        call: grafana-dashboards-2.postdashboard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/home
      name: dashboards-home
      description: REST surface for dashboards-home.
      operations:
      - method: GET
        name: gethomedashboard
        description: Grafana Get Home Dashboard
        call: grafana-dashboards-2.gethomedashboard
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/id/{dashboardid}/permissions
      name: dashboards-id-dashboardid-permissions
      description: REST surface for dashboards-id-DashboardID-permissions.
      operations:
      - method: GET
        name: getdashboardpermissionslistbyid
        description: Grafana Get Dashboard Permissions List By ID
        call: grafana-dashboards-2.getdashboardpermissionslistbyid
        with:
          DashboardID: rest.DashboardID
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatedashboardpermissionsbyid
        description: Grafana Update Dashboard Permissions By ID
        call: grafana-dashboards-2.updatedashboardpermissionsbyid
        with:
          DashboardID: rest.DashboardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/id/{dashboardid}/versions
      name: dashboards-id-dashboardid-versions
      description: REST surface for dashboards-id-DashboardID-versions.
      operations:
      - method: GET
        name: getdashboardversionsbyid
        description: Grafana Get Dashboard Versions By ID
        call: grafana-dashboards-2.getdashboardversionsbyid
        with:
          DashboardID: rest.DashboardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/id/{dashboardid}/versions/{dashboardversionid}
      name: dashboards-id-dashboardid-versions-dashboardversionid
      description: REST surface for dashboards-id-DashboardID-versions-DashboardVersionID.
      operations:
      - method: GET
        name: getdashboardversionbyid
        description: Grafana Get Dashboard Version By ID
        call: grafana-dashboards-2.getdashboardversionbyid
        with:
          DashboardID: rest.DashboardID
          DashboardVersionID: rest.DashboardVersionID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/import
      name: dashboards-import
      description: REST surface for dashboards-import.
      operations:
      - method: POST
        name: importdashboard
        description: Grafana Import Dashboard
        call: grafana-dashboards-2.importdashboard
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/interpolate
      name: dashboards-interpolate
      description: REST surface for dashboards-interpolate.
      operations:
      - method: POST
        name: interpolatedashboard
        description: Grafana Interpolate Dashboard
        call: grafana-dashboards-2.interpolatedashboard
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/public-dashboards
      name: dashboards-public-dashboards
      description: REST surface for dashboards-public-dashboards.
      operations:
      - method: GET
        name: listpublicdashboards
        description: Grafana List Public Dashboards
        call: grafana-dashboards-2.listpublicdashboards
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/tags
      name: dashboards-tags
      description: REST surface for dashboards-tags.
      operations:
      - method: GET
        name: getdashboardtags
        description: Grafana Get Dashboard Tags
        call: grafana-dashboards-2.getdashboardtags
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{dashboarduid}/public-dashboards
      name: dashboards-uid-dashboarduid-public-dashboards
      description: REST surface for dashboards-uid-dashboardUid-public-dashboards.
      operations:
      - method: GET
        name: getpublicdashboard
        description: Grafana Get Public Dashboard
        call: grafana-dashboards-2.getpublicdashboard
        with:
          dashboardUid: rest.dashboardUid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createpublicdashboard
        description: Grafana Create Public Dashboard
        call: grafana-dashboards-2.createpublicdashboard
        with:
          dashboardUid: rest.dashboardUid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{dashboarduid}/public-dashboards/{uid}
      name: dashboards-uid-dashboarduid-public-dashboards-uid
      description: REST surface for dashboards-uid-dashboardUid-public-dashboards-uid.
      operations:
      - method: DELETE
        name: deletepublicdashboard
        description: Grafana Delete Public Dashboard
        call: grafana-dashboards-2.deletepublicdashboard
        with:
          dashboardUid: rest.dashboardUid
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatepublicdashboard
        description: Grafana Update Public Dashboard
        call: grafana-dashboards-2.updatepublicdashboard
        with:
          dashboardUid: rest.dashboardUid
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}
      name: dashboards-uid-uid
      description: REST surface for dashboards-uid-uid.
      operations:
      - method: GET
        name: getdashboardbyuid
        description: Grafana Get Dashboard By UID
        call: grafana-dashboards-2.getdashboardbyuid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedashboardbyuid
        description: Grafana Delete Dashboard By UID
        call: grafana-dashboards-2.deletedashboardbyuid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}/permissions
      name: dashboards-uid-uid-permissions
      description: REST surface for dashboards-uid-uid-permissions.
      operations:
      - method: GET
        name: getdashboardpermissionslistbyuid
        description: Grafana Get Dashboard Permissions List By UID
        call: grafana-dashboards-2.getdashboardpermissionslistbyuid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: updatedashboardpermissionsbyuid
        description: Grafana Update Dashboard Permissions By UID
        call: grafana-dashboards-2.updatedashboardpermissionsbyuid
        with:
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}/restore
      name: dashboards-uid-uid-restore
      description: REST surface for dashboards-uid-uid-restore.
      operations:
      - method: POST
        name: restoredashboardversionbyuid
        description: Grafana Restore Dashboard Version By UID
        call: grafana-dashboards-2.restoredashboardversionbyuid
        with:
          uid: rest.uid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}/versions
      name: dashboards-uid-uid-versions
      description: REST surface for dashboards-uid-uid-versions.
      operations:
      - method: GET
        name: getdashboardversionsbyuid
        description: Grafana Get Dashboard Versions By UID
        call: grafana-dashboards-2.getdashboardversionsbyuid
        with:
          uid: rest.uid
          limit: rest.limit
          start: rest.start
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dashboards/uid/{uid}/versions/{dashboardversionid}
      name: dashboards-uid-uid-versions-dashboardversionid
      description: REST surface for dashboards-uid-uid-versions-DashboardVersionID.
      operations:
      - method: GET
        name: getdashboardversionbyuid
        description: Grafana Get Dashboard Version By UID
        call: grafana-dashboards-2.getdashboardversionbyuid
        with:
          DashboardVersionID: rest.DashboardVersionID
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/public/dashboards/{accesstoken}
      name: public-dashboards-accesstoken
      description: REST surface for public-dashboards-accessToken.
      operations:
      - method: GET
        name: viewpublicdashboard
        description: Grafana View Public Dashboard
        call: grafana-dashboards-2.viewpublicdashboard
        with:
          accessToken: rest.accessToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/public/dashboards/{accesstoken}/panels/{panelid}/query
      name: public-dashboards-accesstoken-panels-panelid-query
      description: REST surface for public-dashboards-accessToken-panels-panelId-query.
      operations:
      - method: POST
        name: querypublicdashboard
        description: Grafana Query Public Dashboard
        call: grafana-dashboards-2.querypublicdashboard
        with:
          accessToken: rest.accessToken
          panelId: rest.panelId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/reports/dashboards/{uid}
      name: reports-dashboards-uid
      description: REST surface for reports-dashboards-uid.
      operations:
      - method: GET
        name: getreportsbydashboarduid
        description: Grafana Get Reports By Dashboard UID
        call: grafana-dashboards-2.getreportsbydashboarduid
        with:
          uid: rest.uid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snapshots
      name: snapshots
      description: REST surface for snapshots.
      operations:
      - method: POST
        name: createdashboardsnapshot
        description: Grafana Create Dashboard Snapshot
        call: grafana-dashboards-2.createdashboardsnapshot
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snapshots-delete/{deletekey}
      name: snapshots-delete-deletekey
      description: REST surface for snapshots-delete-deleteKey.
      operations:
      - method: GET
        name: deletedashboardsnapshotbydeletekey
        description: Grafana Delete Dashboard Snapshot By Delete Key
        call: grafana-dashboards-2.deletedashboardsnapshotbydeletekey
        with:
          deleteKey: rest.deleteKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/snapshots/{key}
      name: snapshots-key
      description: REST surface for snapshots-key.
      operations:
      - method: GET
        name: getdashboardsnapshot
        description: Grafana Get Dashboard Snapshot
        call: grafana-dashboards-2.getdashboardsnapshot
        with:
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedashboardsnapshot
        description: Grafana Delete Dashboard Snapshot
        call: grafana-dashboards-2.deletedashboardsnapshot
        with:
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/stars/dashboard/uid/{dashboard-uid}
      name: user-stars-dashboard-uid-dashboard-uid
      description: REST surface for user-stars-dashboard-uid-dashboard_uid.
      operations:
      - method: POST
        name: stardashboardbyuid
        description: Grafana Star Dashboard By UID
        call: grafana-dashboards-2.stardashboardbyuid
        with:
          dashboard_uid: rest.dashboard_uid
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: unstardashboardbyuid
        description: Grafana Unstar Dashboard By UID
        call: grafana-dashboards-2.unstardashboardbyuid
        with:
          dashboard_uid: rest.dashboard_uid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: grafana-dashboards-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Grafana — Dashboards. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: grafana-admin-provisioning-reload-dashboards
      description: Grafana Admin Provisioning Reload Dashboards
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: grafana-dashboards-2.adminprovisioningreloaddashboards
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-search-dashboard-snapshots
      description: Grafana Search Dashboard Snapshots
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-dashboards-2.searchdashboardsnapshots
      with:
        query: tools.query
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-post-dashboard
      description: Grafana Post Dashboard
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: grafana-dashboards-2.postdashboard
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-get-home-dashboard
      description: Grafana Get Home Dashboard
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-dashboards-2.gethomedashboard
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-get-dashboard-permissions-list
      description: Grafana Get Dashboard Permissions List By ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-dashboards-2.getdashboardpermissionslistbyid
      with:
        DashboardID: tools.DashboardID
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-update-dashboard-permissions-id
      description: Grafana Update Dashboard Permissions By ID
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: grafana-dashboards-2.updatedashboardpermissionsbyid
      with:
        DashboardID: tools.DashboardID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-get-dashboard-versions-id
      description: Grafana Get Dashboard Versions By ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-dashboards-2.getdashboardversionsbyid
      with:
        DashboardID: tools.DashboardID
      outputParameters:
      - type: object
        mapping: $.
    - name: grafana-get-dashboard-version-id
      description: Grafana Get Dashboard Version By ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: grafana-dashboards-2.getdashboardversionbyid
      with:
        DashboardID: tools.DashboardID
  

# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/grafana/refs/heads/main/capabilities/grafana-dashboards-2.yaml