Prometheus · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Prometheus Targets API

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

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/scrape_pools'].get
$.paths['/targets'].get
$.paths['/targets/metadata'].get
$.paths['/targets/relabel_steps'].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 Prometheus Targets API
  version: 1.0.0
extends: openapi/prometheus-io-targets-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/scrape_pools'].get
  update:
    x-apievangelist-phrasing:
      intent: List scrape pools
      effect: read
      questions:
      - Which scrape pools are configured in Prometheus?
      - What scrape pools exist in my setup?
      instructions:
      - text: List all scrape pools.
      - text: Show the scrape pools configured in Prometheus.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/targets'].get
  update:
    x-apievangelist-phrasing:
      intent: List targets in a scrape pool
      effect: read
      questions:
      - Which targets are up in a given scrape pool?
      - Can I list only dropped targets in a pool?
      instructions:
      - text: List targets in scrape pool {scrapePool}.
        slots:
          scrapePool: query.scrapePool
      - text: Show targets in pool {scrapePool} with state {state}.
        slots:
          scrapePool: query.scrapePool
          state: query.state
      method: generated
      generated: '2026-11-19'
- target: $.paths['/targets/metadata'].get
  update:
    x-apievangelist-phrasing:
      intent: Get target metadata for a metric
      effect: read
      questions:
      - What labels and help text does a metric expose on its targets?
      - Can I get metadata for a metric across targets matching a label selector?
      instructions:
      - text: Get metadata for metric {metric}.
        slots:
          metric: query.metric
      - text: Show target metadata for {metric} matching {match_target}.
        slots:
          metric: query.metric
          match_target: query.match_target
      method: generated
      generated: '2026-11-19'
- target: $.paths['/targets/relabel_steps'].get
  update:
    x-apievangelist-phrasing:
      intent: Apply relabel rules to labels
      effect: read
      questions:
      - How would Prometheus relabel a set of labels for a scrape pool?
      - Can I preview relabel steps for a target before it is scraped?
      instructions:
      - text: Apply relabel steps of pool {scrapePool} to labels {labels}.
        slots:
          scrapePool: query.scrapePool
          labels: query.labels
      - text: Preview relabeling of {labels} in scrape pool {scrapePool}.
        slots:
          labels: query.labels
          scrapePool: query.scrapePool
      method: generated
      generated: '2026-11-19'

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/prometheus-io-targets-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.