---
title: "Ingest OpenTelemetry logs"
method: POST
path: "/v1/logs"
tags: ["Ingestion"]
---

# Ingest OpenTelemetry logs

`POST /v1/logs`

## Request

- Base URL: `https://api.lmnr.ai`
- URL: `https://api.lmnr.ai/v1/logs`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Accepts an OTLP ExportLogsServiceRequest encoded as protobuf. JSON-encoded OTLP is not accepted. This endpoint is in beta: ingested logs are stored in the `logs` table and can only be queried with SQL. They are not shown anywhere in the Laminar UI, and Signals do not read them when analyzing traces.

## Request body `application/x-protobuf`

- string

## Response `200`

Log batch accepted.

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid API key.
- `413`: The request exceeds the configured HTTP payload limit.

---

[API](https://skmtc.dev/laminar-sh/apis/laminar-api.md) - [All operations](https://skmtc.dev/laminar-sh/apis/laminar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/laminar-sh/apis/laminar-api/revisions/8a7a08163846?raw)
