---
title: "OpenTelemetry OTLP log ingest"
method: POST
path: "/otlp/v1/logs"
tags: ["Compatibility"]
---

# OpenTelemetry OTLP log ingest

`POST /otlp/v1/logs`

Accepts OTLP HTTP logs in JSON format.

Requests with `Content-Type: application/x-protobuf` are rejected with
`415 Unsupported Media Type`.

```yaml
# OTEL Collector config:
exporters:
  otlp_http:
    endpoint: http://lynxdb:3100/api/v1/otlp
    encoding: json
```

## Request body

- object

## Response `200`

Accepted

## Changes

- **2026-04-19** `9aec01bc7511` — 1 breaking
  - removed the media type `application/x-protobuf` from the request body
- **2026-03-03** `7141381739ac` — 1 info
  - added the media type `application/x-protobuf` to the request body

[Change history](https://skmtc.dev/lynxbase/apis/lynxdb-api/changes/otlp/v1/logs/post.md)

---

[API](https://skmtc.dev/lynxbase/apis/lynxdb-api.md) · [All operations](https://skmtc.dev/lynxbase/apis/lynxdb-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lynxbase/lynxdb-api/revisions/4363a070c444/schema)
