Gremlin Grafana API

Get Grafana alerts

Operations 7

GET /grafana/alerts Get all alerts #
GET /grafana/alerts/delegate Get all alerts, refusing to send the saved Grafana token to a different… #
GET /grafana/dashboards Get all dashboards #
GET /grafana/dashboards/delegate Get all dashboards, refusing to send the saved Grafana token to a different… #
GET /grafana/rules Get all rules #
GET /grafana/rules/delegate Get all rules, refusing to send the saved Grafana token to a different… #
GET /grafana/monitors Searches for Grafana alert monitors #

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/gremlin:gremlin-grafana-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

gremlin-grafana-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gremlin Grafana API
  version: '1.0'
  contact:
    name: Gremlin Support
    email: support@gremlin.com
  license:
    name: Gremlin License
    url: https://www.gremlin.com/license_2017_03_24
  termsOfService: https://www.gremlin.com/terms_of_service_2017_03_24
  description: 'Operations tagged grafana across 2 of this provider''s published API definitions: gremlin-openapi.json, gremlin-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /v1
- url: https://api.gremlin.com/v1
  description: Gremlin API v1
tags:
- name: grafana
  description: Get Grafana alerts
paths:
  /grafana/alerts:
    get:
      tags:
      - grafana
      summary: Get all alerts
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: alerts
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns all alerts
        '404':
          description: Not found
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/alerts/delegate:
    get:
      tags:
      - grafana
      summary: Get all alerts, refusing to send the saved Grafana token to a different…
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: alertsDelegate
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GrafanaAlert'
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/dashboards:
    get:
      tags:
      - grafana
      summary: Get all dashboards
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: dashboards
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns all dashboards
        '404':
          description: Not found
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/dashboards/delegate:
    get:
      tags:
      - grafana
      summary: Get all dashboards, refusing to send the saved Grafana token to a different…
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: dashboardsDelegate
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GrafanaDashboard'
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/rules:
    get:
      tags:
      - grafana
      summary: Get all rules
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: rules
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns all rules
        '404':
          description: Not found
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/rules/delegate:
    get:
      tags:
      - grafana
      summary: Get all rules, refusing to send the saved Grafana token to a different…
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: rulesDelegate
      parameters:
      - name: name
        in: query
        schema:
          type: string
      - name: grafanaUri
        in: query
        required: true
        schema:
          type: string
          format: uri
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: object
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
  /grafana/monitors:
    get:
      tags:
      - grafana
      summary: Searches for Grafana alert monitors
      description: Requires the privilege `MINIMUM_TEAM_PRIVILEGES`
      operationId: searchMonitors_1
      parameters:
      - name: searchString
        in: query
        schema:
          type: string
      - name: grafanaIntegrationName
        in: query
        required: true
        schema:
          type: string
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns matching monitors
        '400':
          description: Bad request
        '403':
          description: 'User requires privilege for target team: MINIMUM_TEAM_PRIVILEGES'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - MINIMUM_TEAM_PRIVILEGES
    servers:
    - url: /v1
components:
  schemas:
    GrafanaAlert:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/Status'
        annotations:
          type: object
          additionalProperties:
            type: string
        labels:
          $ref: '#/components/schemas/Labels'
    Labels:
      type: object
      properties:
        __alert_rule_uid__:
          type: string
        alertname:
          type: string
    Status:
      type: object
      properties:
        state:
          type: string
    GrafanaDashboard:
      type: object
      properties:
        id:
          type: string
        uid:
          type: string
        title:
          type: string
        type:
          type: string
        folderTitle:
          type: string
        folderUid:
          type: string
x-refined-from:
- gremlin-openapi.json
- gremlin-openapi.yml