Loki Otlp API

The Otlp API from Loki — 1 operation(s) for otlp.

OpenAPI Specification

loki-otlp-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Loki HTTP Config Otlp API
  description: Minimal OpenAPI 3.1 specification for the Grafana Loki HTTP API, covering log ingest, queries, labels, series, status, ring, flush, rules, and deletion endpoints.
  version: 1.0.0
servers:
- url: http://localhost:3100
  description: Default Loki HTTP server
tags:
- name: Otlp
paths:
  /otlp/v1/logs:
    post:
      operationId: pushOtlpLogs
      summary: Push OTLP log entries
      responses:
        '204':
          description: Logs accepted
        default:
          description: Error response
      tags:
      - Otlp
x-generated-from: https://grafana.com/docs/loki/latest/reference/loki-http-api/
x-generated-by: claude-crawl-2026-05-08