# Grafana Data Source API

**Canonical:** https://apis.io/apis/grafana-com/grafana-data-source-api/  
**Provider:** Grafana — https://apis.io/providers/grafana-com/  
**Documentation:** https://grafana.com/docs/grafana/latest/developers/http_api/data_source/

Grafana Data Source API is one of 20 APIs that [Grafana](https://apis.io/providers/grafana-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Observability, Grafana, and Data Sources. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

Programmatically register and manage Grafana data sources (Prometheus, Loki, Tempo, Mimir, Pyroscope, Postgres, MySQL, Elasticsearch, InfluxDB, CloudWatch, Azure Monitor, Google Cloud Monitoring, and 150+ more). Includes per-data-source permission management and label-based access control (LBAC) rules for fine-grained tenant isolation.

## Machine-readable artifacts (4)

- **Documentation** — https://grafana.com/docs/grafana/latest/developers/http_api/data_source/
- **Documentation** — https://grafana.com/docs/grafana/latest/developers/http_api/datasource_permissions/
- **Documentation** — https://grafana.com/docs/grafana/latest/developers/http_api/datasource_lbac_rules/
- **OpenAPI** — https://github.com/grafana/grafana/blob/main/public/api-merged.json

## Other Grafana APIs (12)

- [Grafana HTTP API](https://apis.io/apis/grafana-com/grafana-http-api/)
- [Grafana Dashboard API](https://apis.io/apis/grafana-com/grafana-dashboard-api/)
- [Grafana Folder and Search API](https://apis.io/apis/grafana-com/grafana-folder-api/)
- [Grafana Alerting Provisioning API](https://apis.io/apis/grafana-com/grafana-alerting-api/)
- [Grafana Annotations API](https://apis.io/apis/grafana-com/grafana-annotations-api/)
- [Grafana Organization and Users API](https://apis.io/apis/grafana-com/grafana-org-api/)
- [Grafana Access Control (RBAC) API](https://apis.io/apis/grafana-com/grafana-rbac-api/)
- [Grafana Admin API](https://apis.io/apis/grafana-com/grafana-admin-api/)
- [Grafana Library Elements API](https://apis.io/apis/grafana-com/grafana-library-elements-api/)
- [Grafana Correlations API](https://apis.io/apis/grafana-com/grafana-correlations-api/)
- [Grafana Snapshot, Short URL, and Query History API](https://apis.io/apis/grafana-com/grafana-snapshot-shorturl-api/)
- [Grafana Cloud API](https://apis.io/apis/grafana-com/grafana-cloud-api/)

## Tags

Observability, Grafana, Data Sources

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/grafana-com/grafana-data-source-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/grafana-com/.
