OTLP/HTTP trace ingestion returns 404 on BYOC deployments

Last updated: December 2, 2026

Symptom

You're sending traces from an OTLP/HTTP exporter (an OpenTelemetry collector, gateway, or SDK) to a BYOC (Bring Your Own Cloud) LangSmith data plane, and requests fail with HTTP 404. This happens even when the endpoint path follows the documented self-hosted convention, such as /api/v1/otel/v1/traces.

Cause

BYOC data planes accept OTLP/HTTP traces at their native /otel endpoint. The 404 comes from a path mismatch between deployment types, not a disabled feature.

Self-hosted LangSmith deployments route trace ingestion through a frontend that rewrites requests under /api/v1/otel/... to the backend's native /otel/... route. That rewrite is specific to the self-hosted frontend layer.

BYOC data planes route native /otel/ traffic directly and don't apply this prefix rewrite. If you send a self-hosted-style request with the /api/v1 prefix to a BYOC endpoint, nothing strips that prefix before the request reaches the backend, so it 404s.

Resolution

Point your OTLP exporter at the BYOC data plane's native endpoint, without the /api/v1 prefix used for self-hosted:

  • If your exporter takes a base endpoint and appends /v1/traces itself (for example OTEL_EXPORTER_OTLP_ENDPOINT), set it to https://<data_plane_host>/otel. Don't include /v1/traces here, or the request goes to /otel/v1/traces/v1/traces and also returns 404.

  • If your exporter takes a full trace endpoint, set it to https://<data_plane_host>/otel/v1/traces.

Include your LangSmith API key in the x-api-key header on every request.

This differs from the self-hosted convention (https://<host>/api/v1/otel as the base, or https://<host>/api/v1/otel/v1/traces as the full endpoint), which only works there because the self-hosted frontend rewrites away the /api/v1 prefix before routing to the backend. That rewrite doesn't exist on a BYOC data plane, so the self-hosted path format doesn't apply.

References