Grafana Loki website screenshot

Grafana Loki

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.

64.9/100 strong ▬ flat Agent 50/100 agent native Full breakdown ↓
scored 2026-11-13 · rubric v0.28.0 · Show this score on your site →
AccessFreemiumSelf serve⚡ Free to try
3 APIs 1 MCP Servers 5 Agent Skills
CompanyLogsLoggingLog AggregationObservabilityMonitoringOpen SourceLogQLOpenTelemetryTelemetryKubernetesCloud-Native

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-13 · rubric v0.28.0
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. Kin Score badge preview for Grafana Loki 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):
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 →
Ask about:
Grafana Loki · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/grafana-loki/apis.yml: open an issue on github.com/api-evangelist/grafana-loki to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Standards implemented 3

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.

measured — observed by APIs.io (verified)
measured — observed by APIs.io (verified)
measured — observed by APIs.io (published)

APIs 3

Individual APIs this provider publishes, each with its own machine-readable definition.

Loki HTTP API

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 API

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 MCP Server — Loki tools

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...

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

Grafana MCP server (Loki tools)

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...

MCP SERVER

Agent Skills 5

Packaged agent skills for driving this provider's APIs from an AI assistant.

go

AGENT SKILL

Grafana Loki API pricing

Prices published by Grafana Loki. A free plan or tier is listed.

PlanPrice
Free Free
Includes: 50 GB ingested per month
Pro $19
Includes: 50 GB ingested per month, then pay as you go
Enterprise —
Includes: Scalable unit price based on annual commit

Plan details, limits and sources →

Pricing Plans 2

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Grafana Loki Rate Limits

14 limits

RATE LIMITS

Terms of Service 1

What its API terms permit and prohibit, quoted from its own page.

Grafana Loki

11 quoted statements, read from Grafana Loki's own page on 2026-11-09.

TERMS

Compliance 1

Attestations the provider states (SOC 2, ISO 27001 and others), quoted from its own trust page. APIs.io verifies none of them.

Grafana Loki

5 quoted statements, read from Grafana Loki's own page on 2026-11-09.

COMPLIANCE

Eligibility 1

Who may sign up and where, quoted from its own terms.

Grafana Loki

5 quoted statements, read from Grafana Loki's own page on 2026-11-09.

ELIGIBILITY

AI Preferences 1

Its stance on AI training, inference and agents, quoted from its own pages.

Grafana Loki

3 quoted statements, read from Grafana Loki's own page on 2026-11-09.

AI PREFS

Data License 1

How its data and outputs may be reused, quoted from its own terms.

Grafana Loki

1 quoted statement, read from Grafana Loki's own page on 2026-11-09.

LICENSE

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 4

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Grafana Loki Authentication

6 schemes

SECURITY

Grafana Loki Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Grafana Loki Vulnerability Disclosure

Intigriti · contact published

SECURITY

Grafana Loki Trust Center

SOC 2 Type 2, ISO 27001, PCI DSS, FedRAMP High, GDPR, CSA STAR, EU-US / Swiss-US Data Privacy Framework

SECURITY

Scopes 1

OAuth scopes governing access to this provider's APIs.

Grafana Loki Scopes

6 scopes

6 scopes

SCOPES

Resources

Get Started 4

Portal, sign-up, and the first successful call

Documentation 3

Reference material describing how the API behaves

Agent Surfaces 7

MCP servers, agent skills, and machine-readable catalogs

Scroll for all 7

Design & Contract 6

Pagination, idempotency, versioning, errors, and events

Build 5

SDKs, sample code, and the tooling you integrate with

Access & Security 7

Authentication, authorization, and security posture

Scroll for all 7

Operate 5

Status, limits, changes, and where to get help

Commercial 7

Pricing, plans, and the legal terms of use

Scroll for all 7

Company 3

The organization behind the API

Other 3

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
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.

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/grafana-loki"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/grafana-loki/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/grafana-loki/evidence"

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.

A second provider on the same verified email joins the account you already have.