> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Retention

> How Comfy stores and deletes Partner Node inputs and outputs, and how long media files are retained.

Every Partner Node request produces data that is stored on our platform: inputs (images, videos, 3D assets, audio), and outputs produced by the model. This page explains how long each kind of data is retained.

## What gets stored

When you run a Partner Node, two kinds of files are stored:

* **Input files**: reference images, audio, and other media you provide to a node. Inputs are uploaded to your account's storage space.
* **Output files**: the images, videos, audio, and other media a node generates. Outputs are written to Comfy-managed storage and returned to you as download URLs.

Both input and output files are stored in Comfy-managed cloud storage buckets.

## How long files are kept

All Partner Node media files are automatically deleted **24 hours** after they are created. The deletion applies to both input and output files.

| File type    | Deleted after |
| ------------ | ------------- |
| Input files  | 24 hours      |
| Output files | 24 hours      |

<Note>
  The 24-hour deletion window is a platform default and applies to all Partner Node calls. If you need to keep files longer, download them to your own storage before they expire.
</Note>

## What happens after deletion

Once a file is deleted, its download URL returns an error. Deleted files cannot be recovered, and the same media must be re-uploaded or regenerated if you need it again.

Deleting an input file also removes the corresponding file record from your account storage, so the input cannot be reused by later calls.

## Keeping files longer

If your workflow needs an input file to remain available for longer than 24 hours, re-upload the file before each job. For long-running pipelines, re-upload right before the call that needs it.

For outputs you want to keep, download them to your own storage within the 24-hour window.

## Reference

| Item                  | Value    |
| --------------------- | -------- |
| Input file retention  | 24 hours |
| Output file retention | 24 hours |

For general information about how Comfy handles customer data, see [Data Retention](/support/data-retention).
