---
title: "Otel Traces"
method: POST
path: "/internal/otel/v1/traces"
tags: ["internal"]
---

# Otel Traces

`POST /internal/otel/v1/traces`

Forward an OTLP /v1/traces batch to Langfuse with auth swap.

Returns 202 immediately and forwards to Langfuse as a background task.
Starlette runs background tasks only after the response is flushed, so the
worker's OTLP exporter receives the 202 without blocking on the ~10s
Langfuse round-trip. Langfuse errors are swallowed and reported to Sentry
so a downstream outage never breaks worker runs (fire-and-forget tracing).

## Response `202`

Successful Response

- unknown

---

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