v2

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-2663154130.1 KB
Traces

Delete Trace

Delete a single trace and cascade to its spans.

The trace row's PK is composite (started_at, otel_trace_id) so we look it up first to grab started_at, then delete by full PK. Spans match on the 8-byte trace id slice. The 404 path leaves both tables untouched.

delete/admin/api/v1/traces/{otel_trace_id}

Path parameters

otel_trace_idstring required

Response

Successful Response

deletedtrue
deletedSpansinteger required