Overview
Loki HTTP API is a Open Collection published by Loki on the APIs.io network, version 1.0.0.
The collection contains 27 requests.
Tagged areas include Logging, Observability, Open-Source, and Grafana.
Requests & Folders
Push log entries to Loki
Push OTLP log entries
Run a LogQL instant query
Run a LogQL range query
List label names
List values for a label
List series matching matchers
List series matching matchers via POST
Retrieve index stats
Retrieve index volume
Retrieve index volume over a range
Retrieve detected log patterns
Tail log entries via WebSocket
Readiness probe
Prometheus metrics endpoint
Retrieve the running configuration
Retrieve build information
List all ruler namespaces and groups
List rule groups in a namespace
Create or update rule groups in a namespace
Related API Specs
Loki Config API (OpenAPI)
Loki Loki API (OpenAPI)
Loki Metrics API (OpenAPI)
Loki Otlp API (OpenAPI)
Loki Ready API (OpenAPI)
Work with this as data
Every collection 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 collections
4 MCP tools reach this
find_collectionsBrowse and filter every collection 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 collection
curl "https://apis.io/api/v1/collections/open-loki"
All collections
curl "https://apis.io/api/v1/collections?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.