Mozg API

Mozg API as documented publicly: 17 operations. Contract generated from the documentation by API Evangelist (2026-11-18); not the provider's own document.

GitHub OpenAPI

Operations 17

GET /api/frontend/settings The GET /api/frontend/settings endpoint returns frontend settings for Grafana. #
GET /api/health The GET /api/health endpoint returns health information about a Grafana instance. #
GET /api/login/ping The GET /api/login/ping endpoint renews a session based on the remember cookie. #
DELETE /api/teams/{teamid}/groups DELETE /api/teams/:teamId/groups removes an external group from a team. #
GET /api/teams/{teamid}/groups GET /api/teams/:teamId/groups retrieves external groups associated with a team. #
POST /api/teams/{teamid}/groups POST /api/teams/:teamId/groups adds an external group to a team. #
GET /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards Dashboard HTTP API endpoints available in Grafana 12+ #
POST /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards POST /apis/dashboard.grafana.app/v1/namespaces/:namespace/dashboards creates a new dashboard. #
DELETE /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards/{uid} Dashboard HTTP API endpoints available in Grafana 12+ #
PUT /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards/{uid} Dashboard HTTP API endpoints available in Grafana 12+ #
GET /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards/{uid}/dto Dashboard HTTP API endpoints available in Grafana 12+ #
POST /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists POST /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists creates a new playlist. #
DELETE /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists/{name} DELETE /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name deletes a playlist. #
GET /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists/{name} GET /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name retrieves a specific playlist by name (UID). #
PUT /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists/{name} PUT /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name updates an existing playlist. #
POST /mcp Dashboard HTTP API endpoints available in Grafana 12+ #

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/mozg-sh:mozg-sh-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

mozg-sh-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Mozg API
  version: '2026-11-18'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-18: 17 operation(s) read from 16 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Mozg has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 17
    pages-with-code: 0
    pages-read: 16
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-18'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://mozg.sh/b/mozg/grafana/notes/api-reference
  - https://mozg.sh/b/mozg/ai-sdk
  - https://mozg.sh/b/mozg/fastapi
  - https://mozg.sh/b/mozg/tailwind-patterns
  - https://mozg.sh/b/mozg/quant-exchange-apis
  - https://mozg.sh/b/mozg/sveltekit/notes/getting-started
  - https://mozg.sh/b/mozg/ai-sdk/changes
  - https://mozg.sh/b/mozg/ai-sdk-cookbook
  - https://mozg.sh/b/mozg/ai-sdk-core
  - https://mozg.sh/b/mozg/ai-sdk-providers
  - https://mozg.sh/b/mozg/fastapi/changes
  - https://mozg.sh/b/mozg/fastapi-advanced
  - https://mozg.sh/b/mozg/fastapi-deployment
  - https://mozg.sh/b/mozg/fastapi-reference
  - https://mozg.sh/b/mozg/fastapi-tutorial
  - https://mozg.sh/b/mozg/tailwind-patterns/changes
paths:
  /api/frontend/settings:
    get:
      operationId: get_api_frontend_settings
      tags:
      - Api
      summary: The GET /api/frontend/settings endpoint returns frontend settings for Grafana.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiFrontendSettingsResponse'
      x-evidence:
        kind: documentation
  /api/health:
    get:
      operationId: get_api_health
      tags:
      - Api
      summary: The GET /api/health endpoint returns health information about a Grafana instance.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiHealthResponse'
      x-evidence:
        kind: documentation
  /api/login/ping:
    get:
      operationId: get_api_login_ping
      tags:
      - Api
      summary: The GET /api/login/ping endpoint renews a session based on the remember cookie.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiLoginPingResponse'
      x-evidence:
        kind: documentation
  /api/teams/{teamid}/groups:
    delete:
      operationId: delete_api_teams_teamid_groups
      tags:
      - Api
      summary: DELETE /api/teams/:teamId/groups removes an external group from a team.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      - name: groupId
        in: query
        required: true
        schema:
          type: string
        description: external group ID
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiTeamsTeamidGroupsResponse'
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_teams_teamid_groups
      tags:
      - Api
      summary: GET /api/teams/:teamId/groups retrieves external groups associated with a team.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiTeamsTeamidGroupsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_teams_teamid_groups
      tags:
      - Api
      summary: POST /api/teams/:teamId/groups adds an external group to a team.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiTeamsTeamidGroupsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiTeamsTeamidGroupsResponse'
      x-evidence:
        kind: documentation
  /api/teams/{teamid}/groups/search:
    get:
      operationId: get_api_teams_teamid_groups_search
      tags:
      - Api
      summary: GET /api/teams/:teamId/groups/search searches for team groups with pagination support.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: teamid
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: query
        required: false
        schema:
          type: string
      - name: query
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
      - name: perpage
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiTeamsTeamidGroupsSearchResponse'
      x-evidence:
        kind: documentation
  /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards:
    get:
      operationId: get_apis_dashboard_grafana_app_v1_namespaces_namespace_dashboards
      tags:
      - Apis
      summary: Dashboard HTTP API endpoints available in Grafana 12+
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
        description: Maximum number of dashboards to return
      - name: continue
        in: query
        required: false
        schema:
          type: string
        description: Token from previous response for pagination
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRes'
      x-evidence:
        kind: documentation
    post:
      operationId: post_apis_dashboard_grafana_app_v1_namespaces_namespace_dashboards
      tags:
      - Apis
      summary: POST /apis/dashboard.grafana.app/v1/namespaces/:namespace/dashboards creates a new dashboard.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRe'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRe2'
      x-evidence:
        kind: documentation
  /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards/{uid}:
    delete:
      operationId: delete_apis_dashboard_grafana_app_v1_namespaces_namespace_dashboards_uid
      tags:
      - Apis
      summary: Dashboard HTTP API endpoints available in Grafana 12+
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: uid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApisDashboardGrafanaAppV1NamespacesNamespaceDashboards'
      x-evidence:
        kind: documentation
    put:
      operationId: put_apis_dashboard_grafana_app_v1_namespaces_namespace_dashboards_uid
      tags:
      - Apis
      summary: Dashboard HTTP API endpoints available in Grafana 12+
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: uid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid2'
      x-evidence:
        kind: documentation
  /apis/dashboard.grafana.app/v1/namespaces/{namespace}/dashboards/{uid}/dto:
    get:
      operationId: get_apis_dashboard_grafana_app_v1_namespaces_namespace_dashboards_uid_dto
      tags:
      - Apis
      summary: Dashboard HTTP API endpoints available in Grafana 12+
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: uid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid'
      x-evidence:
        kind: documentation
  /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists:
    post:
      operationId: post_apis_playlist_grafana_app_v1_namespaces_namespace_playlists
      tags:
      - Apis
      summary: POST /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists creates a new playlist.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsRequ'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsResp'
      x-evidence:
        kind: documentation
  /apis/playlist.grafana.app/v1/namespaces/{namespace}/playlists/{name}:
    delete:
      operationId: delete_apis_playlist_grafana_app_v1_namespaces_namespace_playlists_name
      tags:
      - Apis
      summary: DELETE /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name deletes a playlist.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNa'
      x-evidence:
        kind: documentation
    get:
      operationId: get_apis_playlist_grafana_app_v1_namespaces_namespace_playlists_name
      tags:
      - Apis
      summary: GET /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name retrieves a specific playlist by name (UID).
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR'
      x-evidence:
        kind: documentation
    put:
      operationId: put_apis_playlist_grafana_app_v1_namespaces_namespace_playlists_name
      tags:
      - Apis
      summary: PUT /apis/playlist.grafana.app/v1/namespaces/:namespace/playlists/:name updates an existing playlist.
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      parameters:
      - name: namespace
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR2'
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: Dashboard HTTP API endpoints available in Grafana 12+
      x-source: https://mozg.sh/b/mozg/grafana/notes/api-reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiFrontendSettingsResponse:
      type: object
      properties:
        allowOrgCreate:
          type: boolean
        appSubUrl:
          type: string
        buildInfo:
          type: object
          description: contains buildstamp, commit, and version fields
        datasources:
          type: object
          description: datasource configurations with index and meta information
        defaultDatasource:
          type: string
    GetApiHealthResponse:
      type: object
      properties:
        commit:
          type: string
        database:
          type: string
          description: indicates status
        version:
          type: string
    GetApiLoginPingResponse:
      type: object
      properties:
        message:
          type: string
          description: contains 'Logged in' text
    DeleteApiTeamsTeamidGroupsResponse:
      type: object
      properties:
        message:
          type: string
          description: '''Team Group removed'''
    GetApiTeamsTeamidGroupsResponse:
      type: object
      properties:
        orgId:
          type: integer
        teamId:
          type: integer
        groupId:
          type: string
    PostApiTeamsTeamidGroupsRequest:
      type: object
      properties:
        groupId:
          type: string
      required:
      - groupId
    PostApiTeamsTeamidGroupsResponse:
      type: object
      properties:
        message:
          type: string
          description: '''Group added to Team'''
    GetApiTeamsTeamidGroupsSearchResponse:
      type: object
      properties:
        totalCount:
          type: integer
        teamGroups:
          type: array
        page:
          type: integer
        perPage:
          type: integer
    GetApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRes:
      type: object
      properties:
        '200':
          type: string
          description: List of dashboards
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Access denied
    PostApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRe:
      type: object
      properties:
        metadata.name:
          type: string
          description: unique identifier or generateName prefix
        metadata.annotations.grafana.app/folder:
          type: string
          description: folder uid
        spec:
          type: object
          description: dashboard JSON configuration
      required:
      - metadata.name
      - spec
    PostApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsRe2:
      type: object
      properties:
        Dashboard:
          type: object
          description: created dashboard object
    DeleteApisDashboardGrafanaAppV1NamespacesNamespaceDashboards:
      type: object
      properties:
        '200':
          type: string
          description: Dashboard deleted
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Access denied
        '404':
          type: string
          description: Dashboard not found
    PutApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid:
      type: object
      properties:
        metadata.name:
          type: string
          description: The unique identifier of the dashboard
        metadata.annotations.grafana.app/folder:
          type: string
          description: Optional folder UID where the dashboard should be placed
        metadata.annotations.grafana.app/message:
          type: string
          description: Optional commit message for version history
        spec:
          type: string
          description: The dashboard JSON configuration
      required:
      - metadata.name
      - spec
    PutApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid2:
      type: object
      properties:
        '200':
          type: string
          description: OK – dashboard updated
        '400':
          type: string
          description: Invalid JSON or missing fields
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Access denied
        '409':
          type: string
          description: Conflict – version already exists
    GetApisDashboardGrafanaAppV1NamespacesNamespaceDashboardsUid:
      type: object
      properties:
        '200':
          type: string
          description: Dashboard DTO with access information
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Access denied
        '404':
          type: string
          description: Dashboard not found
    PostApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsRequ:
      type: object
      properties:
        kind:
          type: string
        apiVersion:
          type: string
        metadata.name:
          type: string
          description: UID of the playlist
        spec.title:
          type: string
        spec.interval:
          type: string
        spec.items:
          type: array
      required:
      - kind
      - apiVersion
      - metadata.name
      - spec.title
      - spec.interval
      - spec.items
    PostApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsResp:
      type: object
      properties:
        Playlist:
          type: object
          description: created playlist object
    DeleteApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNa:
      type: object
      properties:
        Status:
          type: object
          description: indicates success
    GetApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR:
      type: object
      properties:
        Playlist:
          type: object
          description: full playlist object
    PutApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR:
      type: object
      properties:
        kind:
          type: string
        apiVersion:
          type: string
        metadata.name:
          type: string
        metadata.resourceVersion:
          type: string
        spec.title:
          type: string
        spec.interval:
          type: string
        spec.items:
          type: array
      required:
      - kind
      - apiVersion
      - metadata.name
      - metadata.resourceVersion
      - spec.title
      - spec.interval
      - spec.items
    PutApisPlaylistGrafanaAppV1NamespacesNamespacePlaylistsNameR2:
      type: object
      properties:
        Playlist:
          type: object
          description: updated playlist object
    PostMcpRequest:
      type: object
      properties:
        method:
          type: string
          description: MCP method name, e.g., "tools/list"
        params:
          type: string
          description: Parameters for the MCP method
      required:
      - method
    PostMcpResponse:
      type: object
      properties:
        '200':
          type: string
          description: MCP response payload
  securitySchemes:
    Bearer_Token:
      type: http
      scheme: bearer
      x-source: https://mozg.sh/b/mozg/better-auth
tags:
- name: Api
- name: Apis
- name: Mcp
security:
- Bearer_Token: []