Skip to main content

API Overview

The Grafana HTTP API provides programmatic access to Grafana’s core functionality. The same API is used by the frontend to perform operations like managing dashboards, data sources, users, and organizations.

Base URL

All API requests are made to:

API Versioning

The current API version is 0.0.1. The API uses the following schemes:
  • Schemes: http, https
  • BasePath: /api
  • Consumes: application/json
  • Produces: application/json

Common Response Codes

The API uses standard HTTP response codes:

Response Format

API responses are returned in JSON format:

Success Response

Error Response

Rate Limiting

API rate limiting is configured per organization. Contact your Grafana administrator for specific rate limits.

API Resources

The Grafana API provides endpoints for:

Fine-Grained Access Control

If you are running Grafana Enterprise with Fine-grained access control enabled, you need specific permissions for each API endpoint. Refer to the individual endpoint documentation for required permissions.