Grafana Loki is Grafana Labs' open source log aggregation system — "like Prometheus, but for logs." Rather than full-text indexing log contents, Loki indexes only a small set of labels per log stream and stores the compressed lines in object storage, which is what makes it cheap to run at scale. It is queried with LogQL, a Prometheus-inspired query language, over an HTTP API that covers ingestion, querying, label and pattern discovery, live tailing over WebSocket, a Prometheus-compatible ruler for alerting and recording rules, and a cancellable log deletion API. Loki accepts native pushes and OpenTelemetry OTLP/HTTP logs, publishes proto3 gRPC service definitions for its push and query paths, and ships a first-party CLI (LogCLI), Helm charts, a Kubernetes operator, and Docker images. It is licensed AGPL-3.0 and self-hosted; the same engine is sold as the managed Grafana Cloud Logs service and as the self-managed Grafana Enterprise Logs distribution.
Grafana Loki is listed with 3 APIs on the APIs.io network. Tagged areas include Company, Logs, Logging, Log Aggregation, and Observability.
Grafana Loki’s developer surface includes documentation, API reference, getting-started guide, support, engineering blog, pricing, signup flow, and 43 more developer resources.
Regulatory Posture applies to this provider. Its tags matched the
Horizontal (data, software, accessibility, platform) regime, so
Regulatory Posture carries 15 points of the composite.
If this regime is wrong for your business, say so on your
provider repo — the
applicability map is public and we will correct it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for
this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero:
never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and
several others — scorable at all.
The six quality facets above are damped to 85 points between them,
because the conditional facet above carries the other
15. That is why each facet's contribution is shown against a damped
maximum: raising a quality facet moves the composite by 85% of its nominal
weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site.
It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/grafana-loki/"><img src="https://apis.io/badge/grafana-loki/card.svg" alt="Grafana Loki on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
Typed Event Surface+6 pts — AsyncAPI document, OR webhooks/callbacks objects in the as-published OpenAPI, OR common[].type includes Webhooks Ask about this →
Agentic Commerce Well-Known Document+5 pts — a parsing /.well-known/ucp.json or acp.json declaring a version and at least one service, OR (0.27) a live x402 payment challenge from _data/x402-adoption.json — `self` when its endpoints are on the provider's own domain, `platform` when they are on a vendor's Ask about this →
3 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
The Grafana Loki HTTP API — 40 documented endpoints for pushing logs (native and OTLP), querying with LogQL over instants and ranges, discovering labels, series, patterns and de...
Grafana Cloud Logs is the fully managed Grafana Loki service. It serves the same Loki HTTP API on a per-stack host of the form logs-prod-.grafana.net, authenticated with HTTP Ba...
Grafana Loki reaches MCP clients through the Grafana Labs MCP servers, which register a Loki tool family (query_loki_logs, list_loki_label_names, list_loki_label_values, query_l...
Grafana Loki does not itself ship an MCP server. The Loki query surface reaches MCP clients through the Grafana Labs MCP servers, which expose Loki as a datasource: the open-sou...
aid: grafana-loki
name: Grafana Loki
description: Grafana Loki is Grafana Labs' open source log aggregation system — "like Prometheus, but for logs." Rather than
full-text indexing log contents, Loki indexes only a small set of labels per log stream and stores the compressed lines
in object storage, which is what makes it cheap to run at scale. It is queried with LogQL, a Prometheus-inspired query language,
over an HTTP API that covers ingestion, querying, label and pattern discovery, live tailing over WebSocket, a Prometheus-compatible
ruler for alerting and recording rules, and a cancellable log deletion API. Loki accepts native pushes and OpenTelemetry
OTLP/HTTP logs, publishes proto3 gRPC service definitions for its push and query paths, and ships a first-party CLI (LogCLI),
Helm charts, a Kubernetes operator, and Docker images. It is licensed AGPL-3.0 and self-hosted; the same engine is sold
as the managed Grafana Cloud Logs service and as the self-managed Grafana Enterprise Logs distribution.
deliveryModel:
model: unknown
open_source: unknown
commercial: true
callable_host: false
label: Delivery model not determined — needs a product licence on record
confidence: low
source:
- pricing
- repository-unlicensed
generated: '2026-08-28'
method: derived
accessModel:
pricing: freemium
onboarding: self-serve
trial: false
try_now: true
public: false
gated: none
gated_source:
- onboarding
label: Freemium · Self-serve signup
confidence: high
source:
- plans
- authentication
- scopes
- rate-limits
- security
- sandbox
generated: '2026-11-13'
method: derived
image: https://grafana.com/media/docs/loki/logo-grafana-loki.png
url: https://raw.githubusercontent.com/api-evangelist/grafana-loki/refs/heads/main/apis.yml
x-type: company
x-source: harvest:self-hosted-agent-stack
specificationVersion: '0.20'
created: '2026-08-27'
modified: '2026-10-06'
tags:
- Company
- Logs
- Logging
- Log Aggregation
- Observability
- Monitoring
- Open Source
- LogQL
- OpenTelemetry
- Telemetry
- Kubernetes
- Cloud-Native
tags_raw:
- Company
- Logs
- Logging
- Log Aggregation
- Observability
- Monitoring
- Open Source
- LogQL
- OpenTelemetry
- Telemetry
- Kubernetes
- Cloud Native
- Open-Source
maintainers:
- FN: Kin Lane
email: kin@apievangelist.com
- FN: APIs.json
email: info@apis.io
apis:
- aid: grafana-loki:loki-http-api
name: Loki HTTP API
description: The Grafana Loki HTTP API — 40 documented endpoints for pushing logs (native and OTLP), querying with LogQL
over instants and ranges, discovering labels, series, patterns and detected fields, streaming a live tail over WebSocket,
managing Prometheus-shaped alerting and recording rule groups, submitting and cancelling log deletion requests, and reading
component status and ring state. Loki is self-hosted software, so the base host is whichever address the operator binds;
the documented default port is 3100 and TLS is terminated by the operator or a fronting proxy. Authorization is explicitly
not part of this API.
humanURL: https://grafana.com/docs/loki/latest/reference/loki-http-api/
baseURL: http://{loki-host}:3100
tags:
- Logs
- Logging
- Observability
- LogQL
- OpenTelemetry
properties:
- type: Documentation
url: https://grafana.com/docs/loki/latest/
- type: APIReference
url: https://grafana.com/docs/loki/latest/reference/loki-http-api/
- type: GettingStarted
url: https://grafana.com/docs/loki/latest/get-started/
- type: Protobuf
url: grpc/grafana-loki-push.proto
name: Loki Pusher service (proto3)
- type: Protobuf
url: grpc/grafana-loki-logproto.proto
name: Loki Querier and StreamData services (proto3)
- type: Protobuf
url: grpc/grafana-loki-rules.proto
name: Loki ruler rule group messages (proto3)
- aid: grafana-loki:grafana-cloud-logs-api
name: Grafana Cloud Logs API
description: Grafana Cloud Logs is the fully managed Grafana Loki service. It serves the same Loki HTTP API on a per-stack
host of the form logs-prod-<cluster>.grafana.net, authenticated with HTTP Basic where the username is the tenant and the
password is an access policy token carrying logs:read, logs:write or logs:delete. A free tier allows 50 GB of ingest per
month with 14 day retention.
humanURL: https://grafana.com/docs/grafana-cloud/send-data/logs/
baseURL: https://logs-prod-{cluster}.grafana.net
tags:
- Logs
- Observability
- Managed Service
properties:
- type: Documentation
url: https://grafana.com/docs/grafana-cloud/send-data/logs/
- type: APIReference
url: https://grafana.com/docs/loki/latest/reference/loki-http-api/
- type: Pricing
url: https://grafana.com/pricing/
- aid: grafana-loki:grafana-mcp-loki-tools
name: Grafana MCP Server — Loki tools
description: Grafana Loki reaches MCP clients through the Grafana Labs MCP servers, which register a Loki tool family (query_loki_logs,
list_loki_label_names, list_loki_label_values, query_loki_stats, query_loki_patterns, analyze_loki_labels, suggest_loki_alloy_label_config).
The hosted Grafana Cloud MCP server answers at https://mcp.grafana.com/mcp over streamable HTTP with OAuth 2.1; the open
source grafana/mcp-grafana server runs locally over stdio, SSE or streamable HTTP.
humanURL: https://grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp/
baseURL: https://mcp.grafana.com/mcp
tags:
- MCP
- Agents
- Logs
properties:
- type: MCPServer
url: mcp/grafana-loki-mcp.yml
name: Grafana MCP server (Loki tools)
- type: ToolCrosswalk
url: mcp/grafana-loki-tool-crosswalk.yml
- type: Documentation
url: https://grafana.com/docs/grafana/latest/developer-resources/mcp/
- type: GitHubOrganization
url: https://github.com/grafana/mcp-grafana
common:
- url: https://grafana.com/blog/index.xml
type: BlogRSS
- type: License
name: AGPL-3.0
url: https://github.com/grafana/loki/blob/main/LICENSE
- type: Website
url: https://grafana.com/oss/loki/
- type: DeveloperPortal
url: https://grafana.com/docs/loki/latest/
- type: Documentation
url: https://grafana.com/docs/loki/latest/
- type: APIReference
url: https://grafana.com/docs/loki/latest/reference/loki-http-api/
- type: GettingStarted
url: https://grafana.com/docs/loki/latest/get-started/
- type: Support
url: https://community.grafana.com/
- type: Blog
url: https://grafana.com/blog/
- type: GitHubOrganization
url: https://github.com/grafana
- type: SourceCode
url: https://github.com/grafana/loki
- type: Pricing
url: https://grafana.com/pricing/
- type: SignUp
url: https://grafana.com/auth/sign-up/create-user
- type: TermsOfService
url: https://grafana.com/legal/terms/
- type: PrivacyPolicy
url: https://grafana.com/legal/privacy-policy/
- type: Security
url: https://grafana.com/security/
name: Grafana Labs security advisories and vulnerability disclosure
- type: Compliance
url: https://grafana.com/legal/security-compliance/
name: 'Grafana Labs security compliance: ISO 27001, SOC 2 Type 2, PCI DSS, GDPR, CSA STAR, FedRAMP High'
- type: TrustCenter
url: security/grafana-loki-trust-center.yml
- type: StatusPage
url: https://status.grafana.com/
name: Grafana Cloud Status
- type: Deprecation
url: lifecycle/grafana-loki-lifecycle.yml
name: Loki deprecated endpoints and upgrade guide
- type: Lifecycle
url: lifecycle/grafana-loki-lifecycle.yml
- type: ChangeLog
url: changelog/grafana-loki-changelog.yml
- type: Protobuf
url: grpc/grafana-loki-push.proto
- type: Authentication
url: authentication/grafana-loki-authentication.yml
- type: OAuthScopes
url: scopes/grafana-loki-scopes.yml
- type: Conventions
url: conventions/grafana-loki-conventions.yml
- type: Idempotency
url: conventions/grafana-loki-conventions.yml
name: Retry, idempotency and reversibility semantics
- type: ErrorCatalog
url: errors/grafana-loki-problem-types.yml
- type: RateLimits
url: rate-limits/grafana-loki-rate-limits.yml
- type: Plans
url: plans/grafana-loki-plans-pricing.yml
- type: Packages
url: packages/grafana-loki-packages.yml
- type: SDKs
url: packages/grafana-loki-packages.yml
name: First-party libraries and distributions (Go push contract module, Helm charts, images)
- type: CLI
url: cli/grafana-loki-cli.yml
name: LogCLI
- type: Sandbox
url: sandbox/grafana-loki-sandbox.yml
- type: DataModel
url: data-model/grafana-loki-data-model.yml
- type: Conformance
url: conformance/grafana-loki-conformance.yml
- type: DomainSecurity
url: security/grafana-loki-domain-security.yml
- type: VulnerabilityDisclosure
url: security/grafana-loki-vulnerability-disclosure.yml
- type: WellKnown
url: well-known/grafana-loki-well-known.yml
- type: LLMsTxt
url: llms/grafana-loki-llms.txt
name: grafana.com/llms.txt (Grafana Labs site-wide, saved verbatim)
- type: AgentSkill
url: skills/_index.yml
name: Grafana Loki agent skills
- type: AgentSkill
url: skills/grafana-loki-query-logs.md
name: Query logs from Grafana Loki
- type: AgentSkill
url: skills/grafana-loki-push-logs.md
name: Push logs into Grafana Loki
- type: AgentSkill
url: skills/grafana-loki-delete-logs.md
name: Delete logs from Grafana Loki and cancel within the window
- type: AgentSkill
url: skills/grafana-loki-manage-alerting-rules.md
name: Manage Loki alerting and recording rules
- type: UsageTerms
url: terms/grafana-loki-terms-of-service.yml
- type: Attestations
url: compliance/grafana-loki-compliance.yml
- type: Eligibility
url: eligibility/grafana-loki-eligibility.yml
- type: AIPreferences
url: ai-preferences/grafana-loki-ai-preferences.yml
- type: DataLicense
url: data-license/grafana-loki-data-license.yml
x-enrichment:
date: '2026-08-27'
status: enriched
artifacts_added: 32
pass: local-v1
Grafana Loki API — frequently asked questions
Does Grafana Loki have an API?
Yes. APIs.io lists 3 APIs from Grafana Loki, including Loki HTTP API, Grafana Cloud Logs API and Grafana MCP Server — Loki tools.
How do I authenticate with the Grafana Loki API?
Grafana Loki documents its authentication (6 schemes). The details are profiled on APIs.io as Grafana Loki Authentication.
How much does the Grafana Loki API cost?
Grafana Loki publishes its prices; its Pro plan is $19 as of 2026-08-27. APIs.io lists 3 pricing plans for Grafana Loki, with each plan's price, limits and inclusions under Pricing on this page.
Does Grafana Loki have an MCP server?
Yes. APIs.io lists 1 MCP server for Grafana Loki: Grafana Loki does not itself ship an MCP server. The Loki query surface reaches MCP clients through the Grafana Labs MCP servers, which expose Loki as a datasource: the open-source grafana/mcp-grafana
Is the Grafana Loki API ready for AI agents?
Grafana Loki has a Kin Score of 64.9 out of 100 (strong) and an Agent Readiness score of 49.8 (agent-native), scored by API Evangelist on 2026-11-13.
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. See our Privacy Policy and
Terms.