Delete a run's data on demand in Workflow SDK
Vercel’s Workflow SDK can now delete payloads and error traces from finished runs on demand. The run’s metadata stays visible in observability.
**workflow@5.7.0** adds on-demand deletion of stored data from finished runs. It clears inputs, outputs, hook payloads and error traces. The observability entry still shows **run metadata**, including attributes, hook tokens and timings.
Trigger deletion from the Vercel Dashboard, the CLI or application code. The `deleteRuns()` API accepts **up to 100 runs** per call.
**workflow@5.7.0** adds on-demand deletion of stored data from finished runs. It clears inputs, outputs, hook payloads and error traces. The observability entry still shows **run metadata**, including attributes, hook tokens and timings. Trigger deletion from the Vercel Dashboard, the CLI or application code. The `deleteRuns()` API accepts **up to 100 runs** per call. Deletion skips active runs and lets them keep running. Retention settings can clear payloads as soon as a run finishes.
Workflow SDK now lets teams remove stored payloads and error traces after a run finishes while keeping a timing and metadata record. This makes retention a choice about what operators can diagnose later. Timings can still support latency triage, while investigations that depend on deleted detail need a separately retained record.