Grafana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Grafana HTTP API. Query History API

7 actions 7 updates phrasing extends openapi/grafana-com-query-history-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 7

$.info
$.paths['/query-history'].get
$.paths['/query-history'].post
$.paths['/query-history/star/{query_history_uid}'].post
$.paths['/query-history/star/{query_history_uid}'].delete
$.paths['/query-history/{query_history_uid}'].delete
$.paths['/query-history/{query_history_uid}'].patch

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. Query History API
  version: 1.0.0
extends: openapi/grafana-com-query-history-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: 6
- target: $.paths['/query-history'].get
  update:
    x-apievangelist-phrasing:
      intent: Search the query history
      effect: read
      questions:
      - Which queries have I run in Grafana recently?
      - Can I see only the queries I starred in the query history?
      - How do I find queries that contain a certain text in their comment?
      instructions:
      - text: Show my query history for data source {datasourceUid}.
        slots:
          datasourceUid: query.datasourceUid
      - text: Find queries in my history matching {searchString} between {from} and {to}.
        slots:
          searchString: query.searchString
          from: query.from
          to: query.to
      - text: List only my starred queries in the query history.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/query-history'].post
  update:
    x-apievangelist-phrasing:
      intent: Add queries to the query history
      effect: write
      questions:
      - How do I add a new query to my query history?
      - Can I push several queries into the history at once?
      instructions:
      - text: Add queries {queries} to my query history.
        slots:
          queries: requestBody.queries
      - text: Save {queries} to the query history for data source {datasourceUid}.
        slots:
          queries: requestBody.queries
          datasourceUid: requestBody.datasourceUid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/query-history/star/{query_history_uid}'].post
  update:
    x-apievangelist-phrasing:
      intent: Star a query in the query history
      effect: write
      questions:
      - How do I star a query I keep coming back to?
      - Can I mark a query in the history as a favorite?
      instructions:
      - text: Star query {query_history_uid} in my query history.
        slots:
          query_history_uid: path.query_history_uid
      - text: Mark query {query_history_uid} as starred.
        slots:
          query_history_uid: path.query_history_uid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/query-history/star/{query_history_uid}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unstar a query in the query history
      effect: destructive
      questions:
      - How do I remove a star from a query I no longer need?
      - Can I unstar a query in the history?
      instructions:
      - text: Unstar query {query_history_uid} in my query history.
        slots:
          query_history_uid: path.query_history_uid
      - text: Remove the star from query {query_history_uid}.
        slots:
          query_history_uid: path.query_history_uid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/query-history/{query_history_uid}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a query from the query history
      effect: destructive
      questions:
      - How do I clear an old query from my query history?
      - Can I delete a query from the history permanently?
      instructions:
      - text: Delete query {query_history_uid} from my query history.
        slots:
          query_history_uid: path.query_history_uid
      - text: Remove the old query {query_history_uid} from the history.
        slots:
          query_history_uid: path.query_history_uid
      method: generated
      generated: '2026-11-17'
- target: $.paths['/query-history/{query_history_uid}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a query comment in the history
      effect: write
      questions:
      - How do I change the comment on a query in my history?
      - Can I edit the comment of a saved query?
      instructions:
      - text: Set the comment on query {query_history_uid} to {comment}.
        slots:
          query_history_uid: path.query_history_uid
          comment: requestBody.comment
      - text: Update the comment of query {query_history_uid} in my history.
        slots:
          query_history_uid: path.query_history_uid
      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-query-history-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.