LynceaAPI

Send logs

OpenTelemetry Protocol (OTLP) over HTTP — logs signal. Path follows the OTLP/HTTP spec literally (`/v1/logs`, no `/api/` prefix). **Authentication** : pass an API key with scope `write:logs` as `Authorization: Bearer lyn_live_xxx` (or `lyn_test_xxx`). API keys are created via `POST /api/v1/projects/{projectId}/api-keys`. **Body** : OTLP `ExportLogsServiceRequest` payload. Both `application/x-protobuf` (default for OTel SDKs and the OTel Collector) and `application/json` are accepted. `Content-Encoding: gzip` and `deflate` are decoded transparently. **Limits** : raw body 4 MiB ; decompressed body 16 MiB. Per-API-key and per-tenant token-bucket rate limit applied (see plan EPS quota). **v1 contract** : full-success only — the API never reports per-record rejects. Any record that fails normalization downstream goes to the DLQ asynchronously (Kafka `logs.dlq`).

POST
/v1/logs
AuthorizationBearer <token>

Project API key with scope write:logs. Mint via POST /api/v1/projects/{projectId}/api-keys.

In: header

Request Body

OTLP ExportLogsServiceRequest. JSON shape : { resourceLogs: [{ resource, scopeLogs: [{ scope, logRecords: [...] }] }] }. Protobuf : raw bytes per the OTLP proto definition.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.monitoring.crahe-arthur.com/v1/logs" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
Empty
Empty
Empty