Grafana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Grafana HTTP API. Convert Prometheus API

15 actions 15 updates phrasing extends openapi/grafana-com-convert-prometheus-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Grafana's API. It is a proposal applied on top of the contract, not a document Grafana publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 15

$.info
$.paths['/convert/api/prom/rules'].get
$.paths['/convert/api/prom/rules'].post
$.paths['/convert/api/prom/rules/{NamespaceTitle}'].get
$.paths['/convert/api/prom/rules/{NamespaceTitle}'].post
$.paths['/convert/api/prom/rules/{NamespaceTitle}'].delete
$.paths['/convert/api/prom/rules/{NamespaceTitle}/{Group}'].get
$.paths['/convert/api/prom/rules/{NamespaceTitle}/{Group}'].delete
$.paths['/convert/prometheus/config/v1/rules'].get
$.paths['/convert/prometheus/config/v1/rules'].post
$.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].get
$.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].post
$.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].delete
$.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group}'].get
$.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Grafana HTTP API. Convert Prometheus API
  version: 1.0.0
extends: openapi/grafana-com-convert-prometheus-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 14
- target: $.paths['/convert/api/prom/rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List Cortex Prometheus alert rules
      effect: read
      questions:
      - Which alert rules did I import from a Cortex Prometheus source?
      - Can I see all Cortex Prometheus rule groups in one namespace?
      instructions:
      - text: List all Cortex Prometheus alert rules.
      - text: Show every rule group imported from a Cortex Prometheus source.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Convert Cortex Prometheus rule groups
      effect: write
      questions:
      - How do I convert a batch of Cortex Prometheus rule groups into Grafana-managed rules?
      - Can I import several Cortex Prometheus rule groups at once?
      instructions:
      - text: Convert these Cortex Prometheus rule groups into Grafana-managed rules.
      - text: Import a batch of Cortex Prometheus rule groups.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules/{NamespaceTitle}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get Cortex alert rules imported from Prometheus
      effect: read
      questions:
      - Can I read Cortex alert rules from a Prometheus-compatible import namespace?
      - What are the alerting rules in a Cortex namespace that came from Prometheus?
      instructions:
      - text: Get the Cortex alert rules in namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      - text: Show the imported Prometheus rules in Cortex namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules/{NamespaceTitle}'].post
  update:
    x-apievangelist-phrasing:
      intent: Convert a Cortex rule group to Grafana rules
      effect: write
      questions:
      - How do I push a Cortex rule group into Grafana alerting?
      - Can I pause recording rules when importing a Cortex group?
      instructions:
      - text: Convert Cortex rule group {name} to a Grafana rule group in {namespace} with interval {interval}.
        slots:
          name: requestBody.name
          namespace: path.NamespaceTitle
          interval: requestBody.interval
      - text: 'Import Cortex namespace {namespace} rules {name} paused, recording: {pause_recording}.'
        slots:
          namespace: path.NamespaceTitle
          name: requestBody.name
          pause_recording: header.x-grafana-alerting-recording-rules-paused
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules/{NamespaceTitle}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a Cortex Prometheus rule namespace
      effect: destructive
      questions:
      - How do I delete all Cortex Prometheus rules in a namespace?
      - Can I remove a Cortex Prometheus namespace and its rule groups?
      instructions:
      - text: Delete the Cortex Prometheus rules in namespace {NamespaceTitle}.
        slots:
          NamespaceTitle: path.NamespaceTitle
      - text: Remove every Cortex Prometheus rule group from {NamespaceTitle}.
        slots:
          NamespaceTitle: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules/{NamespaceTitle}/{Group}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Cortex Prometheus rule group
      effect: read
      questions:
      - Can I read a Cortex Prometheus rule group in Prometheus format?
      - What does one Cortex Prometheus rule group contain?
      instructions:
      - text: Show Cortex Prometheus rule group {Group} in namespace {NamespaceTitle}.
        slots:
          Group: path.Group
          NamespaceTitle: path.NamespaceTitle
      - text: Get the Prometheus-compatible rules in group {Group} of {NamespaceTitle}.
        slots:
          Group: path.Group
          NamespaceTitle: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/api/prom/rules/{NamespaceTitle}/{Group}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a Cortex Prometheus rule group
      effect: destructive
      questions:
      - How do I delete one Cortex Prometheus rule group?
      - Can I remove a Cortex Prometheus group I imported?
      instructions:
      - text: Delete Cortex Prometheus rule group {Group} from {NamespaceTitle}.
        slots:
          Group: path.Group
          NamespaceTitle: path.NamespaceTitle
      - text: Remove the imported Cortex Prometheus group {Group} in {NamespaceTitle}.
        slots:
          Group: path.Group
          NamespaceTitle: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List all Grafana alert rules from Prometheus imports
      effect: read
      questions:
      - Which alert rules did I import from Prometheus?
      - Can I list every Prometheus-imported rule group?
      instructions:
      - text: List all Prometheus-imported alert rules.
      - text: Show every Grafana-managed rule group from Prometheus.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Convert Prometheus rule groups to Grafana rules
      effect: write
      questions:
      - How do I bulk import Prometheus rule groups into Grafana?
      - Can I convert Prometheus rule groups to Grafana alerting?
      instructions:
      - text: Convert Prometheus rule groups to Grafana alerting rules.
      - text: Bulk import these Prometheus rule groups into Grafana.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get Prometheus rule groups imported into Grafana
      effect: read
      questions:
      - Can I list the Prometheus rule groups kept in Grafana?
      - What does a Grafana namespace look like when it imported from Prometheus?
      instructions:
      - text: Get the Prometheus rule groups in Grafana namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      - text: Show all Grafana-managed rules from Prometheus namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].post
  update:
    x-apievangelist-phrasing:
      intent: Convert a Prometheus rule group to a Grafana rule group
      effect: write
      questions:
      - How do I import one Prometheus rule group into Grafana?
      - Can I set a notification group and pause alert rules on import?
      instructions:
      - text: Convert Prometheus group {name} to a Grafana rule group in {namespace} with interval {interval}.
        slots:
          name: requestBody.name
          namespace: path.NamespaceTitle
          interval: requestBody.interval
      - text: Import Prometheus namespace {namespace} rule group {name} with notification settings {settings}.
        slots:
          namespace: path.NamespaceTitle
          name: requestBody.name
          settings: header.x-grafana-alerting-notification-settings
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete Prometheus-imported rule groups
      effect: destructive
      questions:
      - Can I delete all Grafana rules from one Prometheus-imported namespace?
      - How do I remove a Prometheus namespace of rules from Grafana?
      instructions:
      - text: Delete the Prometheus-imported rule groups in namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      - text: Remove Grafana's copy of Prometheus namespace {namespace}.
        slots:
          namespace: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one Prometheus rule group in Grafana
      effect: read
      questions:
      - Can I read a single Prometheus rule group as Prometheus would have sent it?
      - What does one Grafana-managed rule group export back to Prometheus look like?
      instructions:
      - text: Get Prometheus rule group {group} from namespace {namespace}.
        slots:
          group: path.Group
          namespace: path.NamespaceTitle
      - text: Show Grafana's imported Prometheus group {group} in {namespace}.
        slots:
          group: path.Group
          namespace: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'
- target: $.paths['/convert/prometheus/config/v1/rules/{NamespaceTitle}/{Group}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one Prometheus rule group
      effect: destructive
      questions:
      - Can I delete a single Grafana rule group that came from Prometheus?
      - How do I remove one Prometheus-imported rule group?
      instructions:
      - text: Delete Prometheus rule group {group} from namespace {namespace}.
        slots:
          group: path.Group
          namespace: path.NamespaceTitle
      - text: Remove Grafana's copy of Prometheus group {group} in {namespace}.
        slots:
          group: path.Group
          namespace: path.NamespaceTitle
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/grafana-com-convert-prometheus-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.