Grafana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Grafana HTTP API. Service Accounts API

9 actions 9 updates phrasing extends openapi/grafana-com-service-accounts-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 9

$.info
$.paths['/serviceaccounts'].post
$.paths['/serviceaccounts/search'].get
$.paths['/serviceaccounts/{serviceAccountId}'].get
$.paths['/serviceaccounts/{serviceAccountId}'].delete
$.paths['/serviceaccounts/{serviceAccountId}'].patch
$.paths['/serviceaccounts/{serviceAccountId}/tokens'].get
$.paths['/serviceaccounts/{serviceAccountId}/tokens'].post
$.paths['/serviceaccounts/{serviceAccountId}/tokens/{tokenId}'].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. Service Accounts API
  version: 1.0.0
extends: openapi/grafana-com-service-accounts-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: 8
- target: $.paths['/serviceaccounts'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a service account
      effect: write
      questions:
      - How do I create a service account for an integration?
      - Can I set a role and disable a new service account when creating it?
      instructions:
      - text: Create a service account named {name}.
        slots:
          name: requestBody.name
      - text: Create service account {name} with role {role}.
        slots:
          name: requestBody.name
          role: requestBody.role
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/search'].get
  update:
    x-apievangelist-phrasing:
      intent: Search service accounts
      effect: read
      questions:
      - Which service accounts exist in my Grafana organization?
      - Can I search service accounts by name?
      instructions:
      - text: Search service accounts for {query}.
        slots:
          query: query.query
      - text: List service accounts with expired tokens set to {expiredTokens}.
        slots:
          expiredTokens: query.expiredTokens
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a service account
      effect: read
      questions:
      - What role and status does a particular service account have?
      - Can I look up one service account by ID?
      instructions:
      - text: Get service account {serviceAccountId}.
        slots:
          serviceAccountId: path.serviceAccountId
      - text: Show the role of service account {serviceAccountId}.
        slots:
          serviceAccountId: path.serviceAccountId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a service account
      effect: destructive
      questions:
      - How do I remove a service account I no longer use?
      - Can I delete a service account by its ID?
      instructions:
      - text: Delete service account {serviceAccountId}.
        slots:
          serviceAccountId: path.serviceAccountId
      - text: Remove the service account {serviceAccountId} from my organization.
        slots:
          serviceAccountId: path.serviceAccountId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a service account
      effect: write
      questions:
      - Can I rename a service account or change its role?
      - Is it possible to disable a service account?
      instructions:
      - text: Rename service account {serviceAccountId} to {name}.
        slots:
          serviceAccountId: path.serviceAccountId
          name: requestBody.name
      - text: Set the role of service account {serviceAccountId} to {role}.
        slots:
          serviceAccountId: path.serviceAccountId
          role: requestBody.role
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}/tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List tokens for a service account
      effect: read
      questions:
      - What API tokens exist for a service account?
      - Can I see the tokens issued to a service account?
      instructions:
      - text: List tokens for service account {serviceAccountId}.
        slots:
          serviceAccountId: path.serviceAccountId
      - text: Show the API tokens of service account {serviceAccountId}.
        slots:
          serviceAccountId: path.serviceAccountId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}/tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Issue a token for a service account
      effect: write
      questions:
      - How do I generate a new API token for a service account?
      - Can I set how long a service account token stays valid?
      instructions:
      - text: Issue a new token named {name} for service account {serviceAccountId}.
        slots:
          name: requestBody.name
          serviceAccountId: path.serviceAccountId
      - text: Create a {secondsToLive}-second token for service account {serviceAccountId}.
        slots:
          secondsToLive: requestBody.secondsToLive
          serviceAccountId: path.serviceAccountId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/serviceaccounts/{serviceAccountId}/tokens/{tokenId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a service account token
      effect: destructive
      questions:
      - How do I revoke a leaked API token from a service account?
      - Can I delete one specific token of a service account?
      instructions:
      - text: Delete token {tokenId} from service account {serviceAccountId}.
        slots:
          tokenId: path.tokenId
          serviceAccountId: path.serviceAccountId
      - text: Revoke service account {serviceAccountId}'s token {tokenId}.
        slots:
          serviceAccountId: path.serviceAccountId
          tokenId: path.tokenId
      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-service-accounts-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.