# Delete a run's data on demand in Workflow SDK

Source: [Vercel](https://vercel.com/changelog/delete-run-data-workflow-sdk)  
Feed7 permalink: https://feed7.dev/p/delete-run-data-workflow-sdk-0jsi5g5  
Published: 2026-11-24T05:00:00.000Z  
Trust: Official Source (official_source)

## Why Included

Vercel’s Workflow SDK can now delete payloads and error traces from finished runs on demand. The run’s metadata stays visible in observability.

## 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 across 1167 accumulated Signals:

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.

- [LLM Agents Can Easily Tamper With Their Own Traces](https://feed7.dev/p/2609-30266v1-1kct4j7) — The study examines agents erasing their own traces. This release adds supported payload deletion, making deletion authority and independent audit capture relevant wherever operators rely on that evidence.
- [Measure time between steps in Vercel Workflows](https://feed7.dev/p/measure-time-between-steps-in-vercel-workflows-0dtmqf6) — The trace viewer uses timing to locate delays. Retained run timings can support triage after payload deletion, and the brief leaves which inter-step details survive unspecified.

## Context Map

- Layer: tools
- Domains: coding, security
- Topics: observability

## Uncertainty

- Deletion skips active runs and lets them keep running. Retention settings can clear payloads as soon as a run finishes.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
