Grafana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Grafana HTTP API. Annotations API

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

$.info
$.paths['/annotations'].get
$.paths['/annotations'].post
$.paths['/annotations/graphite'].post
$.paths['/annotations/mass-delete'].post
$.paths['/annotations/tags'].get
$.paths['/annotations/{annotation_id}'].get
$.paths['/annotations/{annotation_id}'].put
$.paths['/annotations/{annotation_id}'].delete
$.paths['/annotations/{annotation_id}'].patch
$.paths['/public/dashboards/{accessToken}/annotations'].get

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. Annotations API
  version: 1.0.0
extends: openapi/grafana-com-annotations-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: 10
- target: $.paths['/annotations'].get
  update:
    x-apievangelist-phrasing:
      intent: List annotations
      effect: read
      questions:
      - How do I find annotations created by a specific user?
      - Can I list annotations for one alert rule or dashboard?
      - Which annotations were created between two timestamps?
      instructions:
      - text: List annotations created by user {userId}.
        slots:
          userId: query.userId
      - text: Find annotations for alert {alertUID} between {from} and {to}.
        slots:
          alertUID: query.alertUID
          from: query.from
          to: query.to
      - text: List annotations on dashboard {dashboardId} tagged {tags}.
        slots:
          dashboardId: query.dashboardId
          tags: query.tags
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an annotation
      effect: write
      questions:
      - How do I add a user annotation to a dashboard?
      - Can I create a region annotation with a start and end time?
      instructions:
      - text: Create an annotation {text} on dashboard {dashboardId} at {time}.
        slots:
          text: requestBody.text
          dashboardId: requestBody.dashboardId
          time: requestBody.time
      - text: Add a region annotation {text} from {time} to {timeEnd}.
        slots:
          text: requestBody.text
          time: requestBody.time
          timeEnd: requestBody.timeEnd
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/graphite'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a Graphite-style annotation
      effect: write
      questions:
      - How do I send a Graphite event annotation?
      - Can I create a Graphite-compatible annotation with a timestamp?
      instructions:
      - text: Create a Graphite annotation {what} with tags {tags}.
        slots:
          what: requestBody.what
          tags: requestBody.tags
      - text: Send a Graphite event {what} at {when} with data {data}.
        slots:
          what: requestBody.what
          when: requestBody.when
          data: requestBody.data
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/mass-delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete several annotations
      effect: destructive
      questions:
      - How do I delete multiple annotations at once?
      - Can I remove annotations for a whole dashboard?
      instructions:
      - text: Delete annotations {annotationId} in one request.
        slots:
          annotationId: requestBody.annotationId
      - text: Remove all annotations on dashboard {dashboardId}.
        slots:
          dashboardId: requestBody.dashboardId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/tags'].get
  update:
    x-apievangelist-phrasing:
      intent: List annotation tags
      effect: read
      questions:
      - What tags have been used in annotations?
      - Can I search annotation tags for a keyword?
      instructions:
      - text: List annotation tags matching {tag}.
        slots:
          tag: query.tag
      - text: Show the first {limit} annotation tags.
        slots:
          limit: query.limit
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/{annotation_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an annotation
      effect: read
      questions:
      - How do I read one annotation by its ID?
      - What text and tags does a specific annotation have?
      instructions:
      - text: Get annotation {annotation_id}.
        slots:
          annotation_id: path.annotation_id
      - text: Show the details of annotation {annotation_id}.
        slots:
          annotation_id: path.annotation_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/{annotation_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an annotation
      effect: write
      questions:
      - How do I overwrite every field of an annotation?
      - Can I replace an annotation's text and tags in full?
      instructions:
      - text: Replace annotation {annotation_id} with text {text} and tags {tags}.
        slots:
          annotation_id: path.annotation_id
          text: requestBody.text
          tags: requestBody.tags
      - text: Overwrite all fields of annotation {annotation_id}.
        slots:
          annotation_id: path.annotation_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/{annotation_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an annotation
      effect: destructive
      questions:
      - How do I delete a single annotation by ID?
      - Can I remove one annotation permanently?
      instructions:
      - text: Delete annotation {annotation_id}.
        slots:
          annotation_id: path.annotation_id
      - text: Remove the annotation with ID {annotation_id}.
        slots:
          annotation_id: path.annotation_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/annotations/{annotation_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change selected fields of an annotation
      effect: write
      questions:
      - How do I change just the text or tags of an annotation?
      - Can I move an annotation's end time without resending everything?
      instructions:
      - text: Change the text of annotation {annotation_id} to {text}.
        slots:
          annotation_id: path.annotation_id
          text: requestBody.text
      - text: Set the end time of annotation {annotation_id} to {timeEnd}.
        slots:
          annotation_id: path.annotation_id
          timeEnd: requestBody.timeEnd
      method: generated
      generated: '2026-11-17'
- target: $.paths['/public/dashboards/{accessToken}/annotations'].get
  update:
    x-apievangelist-phrasing:
      intent: List annotations on a public dashboard
      effect: read
      questions:
      - How do I get annotations for a public dashboard?
      - Can I read annotations from a public dashboard by access token?
      instructions:
      - text: Get annotations for public dashboard {accessToken}.
        slots:
          accessToken: path.accessToken
      - text: Show public annotations using access token {accessToken}.
        slots:
          accessToken: path.accessToken
      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-annotations-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.