Skip to main content

Purge a trace's content

DELETE 

/v1/projects/:project_id/traces/:trace_id/content

Deletes the trace's step payload and clears its content columns, cascading to every descendant trace in its execution tree and to their generations. The rows survive as auditable skeletons — ids, timestamps and step counts are preserved — with content_redacted_at set as verifiable proof the content is gone; a purged trace still reads back with GET /v1/projects/{project_id}/traces/{trace_id} (a 404 there would prove nothing about what was erased). Idempotent: purging an already-purged trace succeeds and leaves the original content_redacted_at in place.

Request

Responses

The purged trace skeleton.