Prometheus · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Prometheus Query API
11 actions
11 updates
phrasing
extends
openapi/prometheus-io-query-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.
What the actions change
x-apievangelist-phrasing
Targets 11
$.info
$.paths['/query'].get
$.paths['/query'].post
$.paths['/query_range'].get
$.paths['/query_range'].post
$.paths['/query_exemplars'].get
$.paths['/query_exemplars'].post
$.paths['/format_query'].get
$.paths['/format_query'].post
$.paths['/parse_query'].get
$.paths['/parse_query'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Prometheus Query API
version: 1.0.0
extends: openapi/prometheus-io-query-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: 10
- target: $.paths['/query'].get
update:
x-apievangelist-phrasing:
intent: Evaluate a PromQL instant query
effect: read
questions:
- How do I run a PromQL expression against Prometheus right now?
- Can I cap how far back a single instant query looks?
instructions:
- text: Evaluate {query} as an instant query.
slots:
query: query.query
- text: Run {query} now with a {timeout} timeout.
slots:
query: query.query
timeout: query.timeout
method: generated
generated: '2026-11-19'
- target: $.paths['/query'].post
update:
x-apievangelist-phrasing:
intent: Evaluate a PromQL instant query (POST)
effect: read
questions:
- Can I POST a PromQL expression to get an instant result?
- Is there a POST form for evaluating a single PromQL expression?
instructions:
- text: POST the PromQL expression {query} and return its instant result.
slots:
query: requestBody.query
- text: Evaluate {query} as a POST request with stats {stats}.
slots:
query: requestBody.query
stats: requestBody.stats
method: generated
generated: '2026-11-19'
- target: $.paths['/query_range'].get
update:
x-apievangelist-phrasing:
intent: Evaluate a PromQL range query
effect: read
questions:
- How do I get Prometheus time series over a range of time?
- Can I set the step size for a range query?
instructions:
- text: Evaluate {query} from {start} to {end} in steps of {step}.
slots:
query: query.query
start: query.start
end: query.end
step: query.step
- text: Fetch {query} over {start} to {end} at {step} steps.
slots:
query: query.query
start: query.start
end: query.end
step: query.step
method: generated
generated: '2026-11-19'
- target: $.paths['/query_range'].post
update:
x-apievangelist-phrasing:
intent: Evaluate a PromQL range query (POST)
effect: read
questions:
- Can I POST a PromQL range query with a step size?
- Is there a POST form for a time-range query?
instructions:
- text: POST the range query {query} from {start} to {end} at {step}.
slots:
query: requestBody.query
start: requestBody.start
end: requestBody.end
step: requestBody.step
- text: Evaluate {query} over {start} to {end} in {step} steps via POST.
slots:
query: requestBody.query
start: requestBody.start
end: requestBody.end
step: requestBody.step
method: generated
generated: '2026-11-19'
- target: $.paths['/query_exemplars'].get
update:
x-apievangelist-phrasing:
intent: Query exemplars for a metric
effect: read
questions:
- How do I find the exemplars behind a particular metric?
- Can I get exemplars for a time range?
instructions:
- text: Query exemplars for {query}.
slots:
query: query.query
- text: Get exemplars for {query} between {start} and {end}.
slots:
query: query.query
start: query.start
end: query.end
method: generated
generated: '2026-11-19'
- target: $.paths['/query_exemplars'].post
update:
x-apievangelist-phrasing:
intent: Query exemplars for a metric (POST)
effect: read
questions:
- Can I POST a PromQL query to get exemplars?
- Is there a POST form for exemplar queries?
instructions:
- text: POST the exemplar query {query}.
slots:
query: requestBody.query
- text: Get exemplars for {query} from {start} to {end} via POST.
slots:
query: requestBody.query
start: requestBody.start
end: requestBody.end
method: generated
generated: '2026-11-19'
- target: $.paths['/format_query'].get
update:
x-apievangelist-phrasing:
intent: Format a PromQL query
effect: read
questions:
- How do I make a PromQL expression readable with proper indentation?
- Can I pretty-print a PromQL query?
instructions:
- text: Format the PromQL expression {query}.
slots:
query: query.query
- text: Pretty-print {query} with proper spacing.
slots:
query: query.query
method: generated
generated: '2026-11-19'
- target: $.paths['/format_query'].post
update:
x-apievangelist-phrasing:
intent: Format a PromQL query (POST)
effect: read
questions:
- Can I POST a PromQL expression to get it formatted?
- Is there a POST form for PromQL formatting?
instructions:
- text: POST the PromQL expression {query} and return it formatted.
slots:
query: requestBody.query
- text: Format {query} as a POST request.
slots:
query: requestBody.query
method: generated
generated: '2026-11-19'
- target: $.paths['/parse_query'].get
update:
x-apievangelist-phrasing:
intent: Parse a PromQL query
effect: read
questions:
- How do I check whether a PromQL expression is valid?
- Can I parse a PromQL query without evaluating it?
instructions:
- text: Parse the PromQL expression {query}.
slots:
query: query.query
- text: Validate {query} as a PromQL query.
slots:
query: query.query
method: generated
generated: '2026-11-19'
- target: $.paths['/parse_query'].post
update:
x-apievangelist-phrasing:
intent: Parse a PromQL query (POST)
effect: read
questions:
- Can I POST a PromQL expression to parse it?
- Is there a POST form for PromQL parsing?
instructions:
- text: POST the PromQL expression {query} and parse it.
slots:
query: requestBody.query
- text: Parse {query} as a POST request.
slots:
query: requestBody.query
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/prometheus-io-query-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.