Grafana · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Grafana HTTP API. Datasources API
21 actions
21 updates
phrasing
extends
openapi/grafana-com-data-sources-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 21 · first 16 shown; the file carries all of them
$.info
$.paths['/datasources'].get
$.paths['/datasources'].post
$.paths['/datasources/correlations'].get
$.paths['/datasources/id/{name}'].get
$.paths['/datasources/name/{name}'].get
$.paths['/datasources/name/{name}'].delete
$.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].get
$.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].post
$.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].delete
$.paths['/datasources/uid/{sourceUID}/correlations'].get
$.paths['/datasources/uid/{sourceUID}/correlations'].post
$.paths['/datasources/uid/{sourceUID}/correlations/{correlationUID}'].get
$.paths['/datasources/uid/{sourceUID}/correlations/{correlationUID}'].patch
$.paths['/datasources/uid/{uid}'].get
$.paths['/datasources/uid/{uid}'].put
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. Datasources API
version: 1.0.0
extends: openapi/grafana-com-data-sources-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: 20
- target: $.paths['/datasources'].get
update:
x-apievangelist-phrasing:
intent: List all data sources
effect: read
questions:
- Which data sources are configured in Grafana?
- Can I get every data source's name and type?
instructions:
- text: List all data sources.
- text: Show every configured data source.
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources'].post
update:
x-apievangelist-phrasing:
intent: Add a data source
effect: write
questions:
- How do I add a new database data source?
- Can I store a password securely when creating a data source?
instructions:
- text: Create a data source named {name} of type {type} at {url}.
slots:
name: requestBody.name
type: requestBody.type
url: requestBody.url
- text: Add data source {name} with basic auth user {user} and password {password}.
slots:
name: requestBody.name
user: requestBody.user
password: requestBody.secureJsonData
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/correlations'].get
update:
x-apievangelist-phrasing:
intent: List data source correlations
effect: read
questions:
- What correlations exist between my data sources?
- Can I page through all data source correlations?
instructions:
- text: List all data source correlations.
- text: Show {limit} correlations starting at page {page}.
slots:
limit: query.limit
page: query.page
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/id/{name}'].get
update:
x-apievangelist-phrasing:
intent: Look up a data source by name (deprecated)
effect: read
questions:
- Is there an older endpoint that resolves a data source name to its ID?
- What does the deprecated data source name-to-ID lookup return?
instructions:
- text: Look up the data source ID for {name} using the deprecated name lookup.
slots:
name: path.name
- text: Resolve the old data source name {name} to its ID.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/name/{name}'].get
update:
x-apievangelist-phrasing:
intent: Get a data source by name
effect: read
questions:
- How do I fetch a data source when I only know its name?
- Can I read one data source by name through the deprecated name route?
instructions:
- text: Get the data source named {name}.
slots:
name: path.name
- text: Fetch data source {name} by name.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/name/{name}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a data source by name
effect: destructive
questions:
- How do I remove a data source when I only know its name?
- Can I delete a data source through the deprecated name route?
instructions:
- text: Delete the data source named {name}.
slots:
name: path.name
- text: Remove data source {name} using the deprecated name route.
slots:
name: path.name
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].get
update:
x-apievangelist-phrasing:
intent: Proxy a GET call to a data source
effect: read
questions:
- How do I proxy a GET request to a data source through its UID?
- Can I fetch a data source resource by UID and route?
instructions:
- text: Proxy a GET call to data source {uid} at route {datasource_proxy_route}.
slots:
uid: path.uid
datasource_proxy_route: path.datasource_proxy_route
- text: Fetch {datasource_proxy_route} from data source {uid}.
slots:
datasource_proxy_route: path.datasource_proxy_route
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].post
update:
x-apievangelist-phrasing:
intent: POST to a data source using its UID
effect: write
questions:
- How do I send a POST request through a data source to a proxy route?
- Which role does the data source need to support proxying POST calls?
instructions:
- text: Proxy the POST call through data source {uid} to route {datasource_proxy_route}.
slots:
uid: path.uid
datasource_proxy_route: path.datasource_proxy_route
- text: Send a {datasource_proxy_route} POST request to data source {uid}.
slots:
datasource_proxy_route: path.datasource_proxy_route
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/proxy/uid/{uid}/{datasource_proxy_route}'].delete
update:
x-apievangelist-phrasing:
intent: DELETE through a data source using its UID
effect: destructive
questions:
- Can I delete an item by routing a DELETE through a data source?
- What route does the data source need to support for proxying DELETE calls?
instructions:
- text: Proxy the DELETE call through data source {uid} to route {datasource_proxy_route}.
slots:
uid: path.uid
datasource_proxy_route: path.datasource_proxy_route
- text: Delete through data source {uid} using the {datasource_proxy_route} route.
slots:
uid: path.uid
datasource_proxy_route: path.datasource_proxy_route
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{sourceUID}/correlations'].get
update:
x-apievangelist-phrasing:
intent: List correlations from a data source
effect: read
questions:
- What correlations originate from a given data source?
- Can I see only the correlations tied to one source UID?
instructions:
- text: List correlations from data source {sourceUID}.
slots:
sourceUID: path.sourceUID
- text: Show all correlations originating at {sourceUID}.
slots:
sourceUID: path.sourceUID
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{sourceUID}/correlations'].post
update:
x-apievangelist-phrasing:
intent: Add a correlation between data sources
effect: write
questions:
- How do I link two data sources with a correlation?
- Can a correlation be an external URL instead of a query?
instructions:
- text: Add a {type} correlation from {sourceUID} to {targetUID}.
slots:
type: requestBody.type
sourceUID: path.sourceUID
targetUID: requestBody.targetUID
- text: Create correlation {label} from {sourceUID} with config {config}.
slots:
label: requestBody.label
sourceUID: path.sourceUID
config: requestBody.config
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{sourceUID}/correlations/{correlationUID}'].get
update:
x-apievangelist-phrasing:
intent: Get one correlation between data sources
effect: read
questions:
- How do I read a single correlation between two data sources?
- Can I fetch a correlation by its UID?
instructions:
- text: Get correlation {correlationUID} from data source {sourceUID}.
slots:
correlationUID: path.correlationUID
sourceUID: path.sourceUID
- text: Show correlation {correlationUID} on {sourceUID}.
slots:
correlationUID: path.correlationUID
sourceUID: path.sourceUID
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{sourceUID}/correlations/{correlationUID}'].patch
update:
x-apievangelist-phrasing:
intent: Update a correlation between data sources
effect: write
questions:
- How do I change the label or description of an existing correlation?
- Can I update a correlation's type?
instructions:
- text: Update correlation {correlationUID} on {sourceUID} to label {label}.
slots:
correlationUID: path.correlationUID
sourceUID: path.sourceUID
label: requestBody.label
- text: Change the description of correlation {correlationUID} on {sourceUID} to {description}.
slots:
correlationUID: path.correlationUID
sourceUID: path.sourceUID
description: requestBody.description
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}'].get
update:
x-apievangelist-phrasing:
intent: Get a data source by UID
effect: read
questions:
- How do I fetch a data source when I only know its UID?
- Can I read a data source by UID?
instructions:
- text: Get the data source with UID {uid}.
slots:
uid: path.uid
- text: Fetch data source {uid}.
slots:
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}'].put
update:
x-apievangelist-phrasing:
intent: Update a data source by UID
effect: write
questions:
- How do I change the URL of a data source I already have?
- Can I update a data source's basic auth settings by UID?
instructions:
- text: Update data source {uid} to point at {url}.
slots:
uid: path.uid
url: requestBody.url
- text: Change the basic auth user of data source {uid} to {user}.
slots:
uid: path.uid
user: requestBody.user
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a data source by UID
effect: destructive
questions:
- How do I remove a data source when I only know its UID?
- Can I delete a data source by UID?
instructions:
- text: Delete the data source with UID {uid}.
slots:
uid: path.uid
- text: Remove data source {uid}.
slots:
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}/correlations/{correlationUID}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a correlation between data sources
effect: destructive
questions:
- How do I unlink two data sources by removing their correlation?
- Can I delete a correlation by its UID?
instructions:
- text: Delete correlation {correlationUID} from data source {uid}.
slots:
correlationUID: path.correlationUID
uid: path.uid
- text: Remove correlation {correlationUID} on {uid}.
slots:
correlationUID: path.correlationUID
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}/health'].get
update:
x-apievangelist-phrasing:
intent: Health-check a data source
effect: read
questions:
- Is my data source up and reachable?
- Can I health-check a data source by UID?
instructions:
- text: Health-check the data source with UID {uid}.
slots:
uid: path.uid
- text: Ping data source {uid} to confirm it is healthy.
slots:
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/datasources/uid/{uid}/resources/{datasource_proxy_route}'].get
update:
x-apievangelist-phrasing:
intent: Fetch a resource from a data source
effect: read
questions:
- How do I fetch a resource from a data source through its UID?
- Can I read a data source's resources by UID and route?
instructions:
- text: Fetch resource {datasource_proxy_route} from data source {uid}.
slots:
datasource_proxy_route: path.datasource_proxy_route
uid: path.uid
- text: Read {datasource_proxy_route} on data source {uid}.
slots:
datasource_proxy_route: path.datasource_proxy_route
uid: path.uid
method: generated
generated: '2026-11-17'
- target: $.paths['/ds/query'].post
update:
x-apievangelist-phrasing:
intent: Query metrics with expressions
effect: read
questions:
- How do I query metrics from a data source with expressions?
- Can I run a query with expressions between two times?
instructions:
- text: Query data source {queries} from {from} to {to}.
slots:
queries: requestBody.queries
from: requestBody.from
to: requestBody.to
- text: Run a metrics query with expressions between {from} and {to}.
slots:
from: requestBody.from
to: requestBody.to
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-data-sources-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.