Grafana · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Grafana HTTP API. Recording Rules API
9 actions
9 updates
phrasing
extends
openapi/grafana-com-recording-rules-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.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/recording-rules'].get
$.paths['/recording-rules'].put
$.paths['/recording-rules'].post
$.paths['/recording-rules/test'].post
$.paths['/recording-rules/writer'].get
$.paths['/recording-rules/writer'].post
$.paths['/recording-rules/writer'].delete
$.paths['/recording-rules/{recordingRuleID}'].delete
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 Grafana HTTP API. Recording Rules API
version: 1.0.0
extends: openapi/grafana-com-recording-rules-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['/recording-rules'].get
update:
x-apievangelist-phrasing:
intent: List recording rules
effect: read
questions:
- Which recording rules are defined in my Grafana instance?
- Can I see both active and deleted recording rules?
instructions:
- text: List all recording rules.
- text: Show every recording rule in the database.
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules'].put
update:
x-apievangelist-phrasing:
intent: Update a recording rule
effect: write
questions:
- How do I change the active status of an existing recording rule?
- Can I rename a recording rule or change its interval?
instructions:
- text: Set recording rule {id} active to {active}.
slots:
id: requestBody.id
active: requestBody.active
- text: Update recording rule {id} with interval {interval}.
slots:
id: requestBody.id
interval: requestBody.interval
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules'].post
update:
x-apievangelist-phrasing:
intent: Create a recording rule
effect: write
questions:
- How do I create a new recording rule that starts automatically?
- Can I record Prometheus metrics into a specific data source as a recording rule?
instructions:
- text: Create recording rule {name} with queries {queries}.
slots:
name: requestBody.name
queries: requestBody.queries
- text: Create recording rule {name} on data source {dest_data_source_uid} with interval {interval}.
slots:
name: requestBody.name
dest_data_source_uid: requestBody.dest_data_source_uid
interval: requestBody.interval
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules/test'].post
update:
x-apievangelist-phrasing:
intent: Test a recording rule definition
effect: read
questions:
- Can I test a recording rule definition before creating it?
- What does a recording rule return when I test it against a range?
instructions:
- text: Test recording rule definition {queries} over range {range}.
slots:
queries: requestBody.queries
range: requestBody.range
- text: Validate recording rule {name} with queries {queries}.
slots:
name: requestBody.name
queries: requestBody.queries
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules/writer'].get
update:
x-apievangelist-phrasing:
intent: Get the recording rule remote write target
effect: read
questions:
- Where are recording rules being written to?
- What remote write path does the recording rule target use?
instructions:
- text: Show the recording rule remote write target.
- text: Get the Prometheus remote write path for recording rules.
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules/writer'].post
update:
x-apievangelist-phrasing:
intent: Create a recording rule remote write target
effect: write
questions:
- How do I point recording rules at a Prometheus remote write endpoint?
- Why does creating a recording rule write target fail if no Prometheus data source is configured?
instructions:
- text: Create a recording rule write target to {remote_write_path} on data source {data_source_uid}.
slots:
remote_write_path: requestBody.remote_write_path
data_source_uid: requestBody.data_source_uid
- text: Register remote write target {id} for recording rules.
slots:
id: requestBody.id
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules/writer'].delete
update:
x-apievangelist-phrasing:
intent: Delete the recording rule remote write target
effect: destructive
questions:
- How do I stop recording rules from being written anywhere?
- Can I remove the recording rule remote write target?
instructions:
- text: Delete the recording rule remote write target.
- text: Remove the recording rules write target.
method: generated
generated: '2026-11-17'
- target: $.paths['/recording-rules/{recordingRuleID}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a recording rule
effect: destructive
questions:
- How do I stop and remove a recording rule?
- Does deleting a recording rule stop it from running?
instructions:
- text: Delete recording rule {recordingRuleID}.
slots:
recordingRuleID: path.recordingRuleID
- text: Remove recording rule {recordingRuleID} from the registry.
slots:
recordingRuleID: path.recordingRuleID
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/grafana-com-recording-rules-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.