# Delete Vercel Workflow Run Data: What Gets Purged and What Stays

The difference between deleting a finished run's payload and removing every record or copy of the data.

By Paras Madan | 2026-11-26


If an AI workflow put a customer document into a step input, deleting the final answer from your app doesn't necessarily remove the stored input. [Vercel Workflow SDK now lets you delete stored data from a finished run](https://vercel.com/changelog/delete-run-data-workflow-sdk). That gives operators a precise action to take, but it is not the same as deleting the run from history or erasing every downstream copy.

The practical question is: where did that payload travel? Answer that first, then use the Workflow deletion control where it applies.

## Know what the action removes

Vercel lists stored inputs, outputs, hook payloads and error traces for the finished run and related entities. The run still appears in observability. Metadata such as attributes, hook tokens and timings can remain visible. Avoid putting a customer's email or document contents into every metadata field just because a run has a separate payload purge.

This action is for finished runs. If an active workflow keeps reading or producing the data, handle that run with your existing operational process first. Deletion is not a tool for interrupting it.

## Verify the run ID and environment

A ticket from a customer should not be enough to act on an ID copied from a screenshot. Match the record you intend to delete against the project, environment and the app's own record of which run handled it. Check the deletion is authorized under your team's retention process. Avoid copying raw payloads into the ticket while you investigate.

The Dashboard provides the action, and Vercel's published CLI example for a preview run is:

```sh
pnpx workflow delete <runId> --backend vercel --env preview
```

Replace the placeholder with an authorized test run first. The example explicitly targets preview; don't use it as a substitute for checking which environment owns the production record.

## Prove the boundary with one synthetic run

Before a real request arrives, run a workflow in preview that passes a harmless marker through a step and hook. Write a second harmless marker deliberately to a separate store your team controls. Record the authorized run ID, confirm it has finished, then delete its stored data through the documented interface.

Check that the run is still discoverable, its stored run payload no longer appears as before, and the outside store still contains the other marker. The last check matters: the Workflow action won't instruct your application storage to delete a second copy. Design your runbook so those operations are separate and independently verifiable.

## Follow the payload outside Workflow

Consider app tables, blob objects, error log exports, third-party API requests and support tickets. Also check whether a new run copied input from the original. A process that finds only the first run ID can leave a later run with the same text.

If your own records name the subject or repeat customer text, keep the audit trail minimal. Log the run ID, environment, who authorized the action, time, and which stores were checked. Mark externally retained copies and internal exceptions separately. A lingering metadata record is not evidence that the contents remain, and a missing payload is not evidence that every independent copy is gone.

The better habit is to route large or sensitive inputs through an application design with explicit storage ownership rather than duplicating them through the steps. Then a deletion request has a short, testable list of destinations instead of a search across the whole stack.

I help technical teams explain how their AI products work. [Book a 30-minute call](https://cal.com/paras-madan/30min).
