Loki HTTP API

The Loki HTTP API supports pushing logs, querying with LogQL, range queries, label discovery, series retrieval, index stats and volume, pattern detection, log tailing, deletion, and ruler operations. There is no published OpenAPI specification; see Grafana's HTTP API reference for endpoint details.

API entry from apis.yml

apis.yml Raw ↑
aid: loki:loki-http-api
name: Loki HTTP API
description: The Loki HTTP API supports pushing logs, querying with LogQL, range queries, label discovery,
  series retrieval, index stats and volume, pattern detection, log tailing, deletion, and ruler operations.
  There is no published OpenAPI specification; see Grafana's HTTP API reference for endpoint details.
humanURL: https://grafana.com/docs/loki/latest/reference/loki-http-api/
tags:
- Logging
- Observability
- HTTP API
properties:
- type: Documentation
  url: https://grafana.com/docs/loki/latest/reference/loki-http-api/
- type: GitHub Repository
  url: https://github.com/grafana/loki