How Intertrace works
Inline gateway classification, telemetry to the dashboard, and how evaluation becomes action.
Control plane

Production data plane today is Railway gateway-v2 (also reachable via gateway.intertrace.ai / Fly edge). The Next.js app on platform.intertrace.ai ingests events, writes gateway_events, and may create findings.
Telemetry path
Your application or gateway emits traces to Intertrace via HTTP (Bearer API key). Each trace contains spans representing steps, tool calls, and outcomes. Optional dual-write can mirror critical fields into legacy gateway event tables for backward compatibility.
Inline vs async
Inline: SDK or thin wrapper around your HTTP client records spans synchronously around each call. Lowest latency for local debugging.
Async: Webhook or queue consumer posts batches to the ingestion API. Best for high throughput and decoupled pipelines.
Gateway vs direct
If you already route model traffic through the Intertrace Gateway, gateway events may be correlated with traces. Direct integration sends traces without the gateway; both paths are supported.