v2

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

Bulk Delete Traces

Bulk-delete traces matching the same filters as GET .

Strategy: select the matching trace ids first, then DELETE both tables by id. Two queries instead of a join keeps the SQL portable across PG and SQLite and avoids DELETE ... USING syntax that SQLite does not support.

delete/admin/api/v1/traces

Query parameters

started_afterstring date-time nullable
started_beforestring date-time nullable
modelstring nullable
statusstring nullable
user_idstring nullable
session_idstring nullable
name_containsstring nullable

Response

Successful Response

deletedTracesinteger required
deletedSpansinteger required