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

# Flow history

> See how a flow changed over time: each change, the pull request or push that made it, what it added or removed, and the flow as it was at any version.

Every flow keeps a record of how it changed. Its **History** tab lists each new version, newest first, with the pull request or push that produced it and what changed in its steps, endings and calls. You can open any version to read the flow as it was, or compare two versions side by side.

Open a flow and choose **History** in its view tabs; the tab shows how many entries there are.

![The History tab of a flow, a table of changes with dates, pull request titles, results, step counts and commits](https://mintcdn.com/flowmaps/Laxd03p6_qALyN3o/images/flow-history-light.png?fit=max\&auto=format\&n=Laxd03p6_qALyN3o\&q=85\&s=46fb602505b6ca62bbd7f141d4b15d80)

A flow's History: each change with its pull request, result, counts of steps changed and its commit.

## What each row shows

* **When**: the date and time of the change.
* **Change**: what made it. A merged pull request shows its title, with its number, author and who approved it (read live from GitHub). A push straight to the default branch shows **Direct push**, with its commits and their authors. Other rows read **First mapped**, "Mapped at (commit), no PR", **Re-mapped**, or **Updated** for a change to the stored version without a new map (such as a re-check), with who ran it.
* **Result**: **Changed**, **New**, **Removed** or **No change**, with a short line of facts:
  * "Calls +Stripe −PayPal" when the flow started or stopped calling a vendor or service.
  * "Includes earlier merges" when one update took in several merges at once.
  * "Endpoint back" when an endpoint that had been removed returned.
  * "See the wording changes" when only the words changed.
  * On a first map, how many steps and endings the flow has.
* **Added, Removed, Changed, Moved**: how many steps each change added, removed, changed or moved.
* **Endings**: endings added (+), changed (\~) or removed (−).
* **Commit**: the commit the version belongs to, linked to GitHub, with **View version** and the **diff** on GitHub.

Rows where the behaviour didn't change are shown muted. Their result says why, such as "No behaviour change" (the code changed but does the same thing) or "No code change, so behaviour can't have changed".

## Filter the history

Use **Show** at the top:

* **All**: every entry.
* **Behaviour changes**: only entries that changed what the flow does.
* **Pull requests**: only entries made by merged pull requests.

Long histories load 20 entries at a time; choose **Show older entries** for more.

## Open one change

Choose a row's title to open it. The page shows the flow **Before** and **After** that change, side by side, with the changed steps marked. Choose a changed line to see that step in both versions. A pull request's entry links back to its page under [Changes](https://docs.flowmaps.ai/pull-requests/merges.md).

## View a flow as it was

Choose **View version** on a row to open the whole flow at that version. A note at the top says "The flow as it was on (date) at (commit), after (the pull request)". It also says "Not the current version. Line numbers read against (commit)", and offers **Browse the code at (commit)** on GitHub. Choose **View the current version** to go back.

## Compare two versions

**1. Choose Compare versions**

At the top right of the History tab.

**2. Pick two rows**

Tick the two versions you want. The bar reads "Ready to compare".

**3. Choose Compare**

The page shows the older version before and the newer after, with every step, ending and call that differs between them.

## When history starts

A flow's history starts when it's first mapped. Entries come from maps, re-maps, merges and direct pushes to the default branch. A flow with no entries yet says "No history yet" and adds one with its next map, merge or push. A merge that didn't touch a flow's code moves its line numbers but doesn't add a history entry.

Coding agents read the same history with the `flow_history` MCP tool, and `get_flow` with `at` returns a past version. See [MCP tools](https://docs.flowmaps.ai/agents/tools.md#flow_history).

## Next steps

> [card] [What happens when a PR merges](https://docs.flowmaps.ai/pull-requests/merges.md)
>
> How merges update flows and record history.

> [card] [Find flows](https://docs.flowmaps.ai/flows/finding-flows.md)
>
> Search and filter every mapped flow.


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