---
docId: doc_64adacd0d410413f802728fd1fd76346
title: History and publishing
description: Compare versions, restore configuration, or publish an earlier version again.
---

# History and Publishing

Each version stores numbered configuration. **Draft** means the latest saved configuration; **Live** identifies the version serving customers. Name, photo, and other resources are managed outside this history: read [Drafts and versions](/help/agents/versions).

<span id="publicar"></span>


![Version history and comparison](/images/screenshots/manuales-piloto/agentes/pantallas-completas/en/historial-publicacion.webp)

## Publish

Save your edits and click **Publish** or **Publish vN** in the selector. Review the version and changed sections, then confirm with **Publish vN**.

**Save and publish** saves first and then opens confirmation. If someone published another version meanwhile, review the notice and try again.

<span id="historial"></span>

## History

1. Open the header's selector and choose **View all versions**.
2. In **Version history**, select a version from the list.
3. Open **What changed** to review differences. Use **Against** to compare with the previous version, live version, or draft, depending on the available options.
4. Open **Full version** to inspect its configuration.

The list shows the number, **Live** or **Draft** labels, when it was saved, who made the change, and which sections changed.

To recover configuration and keep editing, click **Restore this version** and confirm. It creates a new draft; customers keep using the published version. Save or discard pending edits before restoring.

On the live version, **Return to the live version** copies it into a new draft when another draft is pending.

<span id="volver-a-una-versión-anterior"></span>

## Return to an earlier version

To undo a publication:

1. Open the history and select the version you want to recover.
2. Click **Publish this version**.
3. Review the confirmation and publish.

The selected version goes live again and the current draft remains. Versioned configuration is recovered; knowledge, tools, channels, and shared definitions keep their current state.

<span id="subagentes-y-versiones"></span>

## Subagents and versions

The main agent's links use the subagent's live version. Publishing a change to a subagent can change its responses for every agent that uses it. Review its tests before publishing too.

<span id="probar-una-versión-sin-publicarla"></span>

## Test a version without publishing

In [Test your agent](/help/agents/test), use the selector above the composer:

- **Live · vN:** published version.
- **Draft · vN:** latest saved draft, when there are unpublished changes.
- **Previous versions:** another configuration from the history.

The version stays fixed after the first message. To switch, choose **New conversation**. Only users who can edit the agent can test its draft or an earlier version.

Use [Evals](/help/agents/evals) to repeat scenarios and compare results.

<span id="qué-versión-usa-cada-conversación"></span>

## Which version a conversation uses

New messages use the agent's live version. Publishing during a conversation changes configuration for the next message; a retry keeps the version it started with.

Automatic follow-ups and scheduled tasks keep the version that was live when they were scheduled. Publishing a version again does not change that selection or undo completed actions.
