Push one conversation's execution trace to a collector
Render one conversation’s execution trace into the requested wire format and POST it straight to the caller’s OWN observability collector, so per-turn model/tool/token spans land live in the tooling they already run: format=otlp (default) posts an OTLP/JSON ExportTraceServiceRequest ({ resourceSpans: [...] }) — the body an OpenTelemetry collector’s /v1/traces accepts; format=langfuse posts a Langfuse /api/public/ingestion batch. The collector URL is dialed through the same SSRF / DNS-rebinding gate as the BYO-MCP probe; the headers map carries the caller’s own credential and is sanitized so no reserved header can be overridden. Span/trace ids are deterministic, so re-pushing upserts rather than duplicates. Always 200 with a structured push verdict — ok / empty / ssrf_blocked / timeout / unreachable / auth_failed / http_error.
Authorizations
Dashboard JWT token from Clerk
Headers
Stripe-style idempotency token. Pass a stable, client-generated value (1-255 chars) to dedupe retries on transient timeouts. The same key+credential+path replays the original response for 24h on 2xx (5min on 4xx, 30s on 5xx). Returns 409 if a concurrent request with the same key is already in flight; replayed responses include the Idempotency-Replay: true response header.
1 - 255Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Path Parameters
The agent id.
1The agent conversation id.
1 - 200Body
Collector URL (SSRF / DNS-rebinding gate validated at dial time).
1 - 2048Wire format for the rendered trace body.
otlp, langfuse Caller-side credential headers, sanitized so reserved headers cannot be overridden.
Maximum LLM turns to render.
1 <= x <= 200