> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/data/data-pinning.md).

# Pin data in Duaer

In Duaer, during development, pin a node’s output so later tests reuse that data instead of fetching fresh data.
Data pinning is for development only. Production executions do not use pinned data.

Use it when an external trigger or rate-limited API is expensive to fire, when you need a consistent sample, or when you mock data first and then pin it for reuse.

## Data pinning <a href="#data-pinning" id="data-pinning"></a>

Pinning saves a node’s output and reuses that copy on later editor runs instead of fetching fresh data. You can only pin nodes that have a single main output (error outputs do not count).

## Pin data <a href="#pin-data" id="pin-data"></a>

1. Run the node to load data.
2. In the OUTPUT view, select Pin data. When pinning is active, the button is disabled and a This data is pinned banner appears.

You cannot pin data if the output includes binary data.

## Unpin data <a href="#unpin-data" id="unpin-data"></a>

When pinning is active, a banner appears at the top of the output panel. Select Unpin to fetch fresh data on the next run.

## Use data from previous executions <a href="#use-data-from-previous-executions" id="use-data-from-previous-executions"></a>

1. Open Executions and find the run you want.
2. Open the node, switch to JSON, and copy the output.
3. In the workflow you are editing, open the target node, select Edit in the OUTPUT JSON view, paste, and Save. Saving also pins the data.

Editing pinned data is covered in [Edit the data in a node output](/data/data-editing.md).
## Questions

### When does pinned data apply?

In Duaer, only during development in the editor. Production executions do not use pinned data. You cannot pin binary output or a node with more than one main output.

### How do you pin a node output?

In Duaer, run the node, then select Pin data in OUTPUT. Select Unpin to remove it. Pasting JSON from a past execution into Edit and Save also pins.

## Related

- [Edit output data in Duaer](https://doc.duaer.com/data/data-editing.md)
- [Understand Duaer’s data structure](https://doc.duaer.com/data/data-structure.md)
- [Work with nodes in Duaer](https://doc.duaer.com/Duaer-Organizations/components/nodes.md)

