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

# Version History

> Learn how flow versioning works in Lacy.ai

Lacy.ai keeps track of all published flows and their versions. Here’s how it works:

1. You can edit a flow as many times as you want in **draft** mode.
2. Once you're done with your changes, you can publish it.
3. The published flow will be **immutable** and cannot be edited.
4. If you try to edit a published flow, Lacy.ai will create a new **draft** if there is none and copy the **published** version to the new version.

This means you can always go back to a previous version and edit the flow in draft mode without affecting the published version.

![Flow History](https://mintcdn.com/lacyai/XShP4J2TcCKez9X5/resources/flow-history.png?fit=max\&auto=format\&n=XShP4J2TcCKez9X5\&q=85\&s=3dd503a7a2b9ff4a37bcd69aad4c2e19)

As you can see in the following screenshot, the yellow dot refers to DRAFT and the green dot refers to PUBLISHED.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.