Vercel Workflow SDK supports on-demand deletion of run data
11/25/2026
Vercel Workflow SDK now supports on-demand deletion of data from completed runs, making it easier to meet compliance requirements.
Key points
•Deletion covers inputs, outputs, hook payloads, and error traces.
•Run metadata is retained and remains viewable in observability.
•This applies only to finished runs; in-progress runs are skipped.
Impact
•Teams that need to clean up sensitive data can delete run payloads directly.
•Auditing and troubleshooting can still access metadata, step durations, and hook tokens.
Recommendations
1.Upgrade to workflow@5.7.0 or later before using this feature.
2.Use pnpx workflow delete <runId> to delete data for a single run.
3.For bulk deletion, call deleteRuns(); up to 100 runs per call.