Logstreem
Ingest OTLP
POST

Ingest OTLP

OpenTelemetry logs, metrics and traces over OTLP/HTTP.

Native OTLP/HTTP for logs, metrics and traces. Point any OTel SDK or collector here — see the OpenTelemetry guide for full configs.

Headers

Authorizationstringrequired

Bearer <token>.

X-Logstreem-Datasetstringrequired

Target dataset — OTLP has no field for it.

Content-Typeenum

Protobuf is smaller and preferred.

application/x-protobufapplication/json

POST/v1/otlp/v1/{signal}

Path parameters

signalenumrequired

Which OTLP signal this request carries.

logsmetricstraces

Body parameters

resourceSpansarray

Standard OTLP payload. Protobuf or JSON encoding.

curl -X POST https://api.logstreem.com/v1/otlp/v1/{signal} \
  -H "Authorization: Bearer $LOGSTREEM_TOKEN"

Responses

200OK
{
  "object": "ingest_result",
  "dataset": "otel-spans",
  "ingested": 128,
  "failed": 0,
  "partialSuccess": {}
}
401Unauthorized
{
  "error": {
    "type": "authentication_error",
    "code": "missing_token",
    "message": "No API token provided.",
    "doc_url": "https://logstreem.com/docs/errors#missing_token",
    "request_id": "req_9f3c2a7b41de08c5b2e6"
  }
}