Open Brain
VercelEngineering PostOfficial Source

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.

Vercel · Nov 24, 2026
Open Source Open MarkdownOpen JSON
Source Summary

**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.

Practical Implication

Trigger deletion from the Vercel Dashboard, the CLI or application code. The `deleteRuns()` API accepts **up to 100 runs** per call.

Agent-Ready Context
**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.
Connected Context · Feed7 Judgment

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.

Context Map
toolscodingsecurity#observability
Uncertainty
Deletion skips active runs and lets them keep running. Retention settings can clear payloads as soon as a run finishes.