Delete a run's data on demand in Workflow SDK
The Vercel Workflow SDK now enables users to delete stored data from finished runs on demand, helping meet compliance and security requirements by purging sensitive information from run payloads. This action removes inputs, outputs, hook payloads, and error traces but preserves metadata, including attributes, hook tokens, and step timings. Deletion can be performed via the Vercel Dashboard, CLI commands, or programmatically using the deleteRuns() function. The feature is available for finished runs only and requires workflow@5.7.0 or higher.