Skip to content

Undo last action

After confirming a change in Agent Builder, you can revert the most recent write with a single undo — without manually reconstructing the previous configuration.

PropertyDetail
ScopeLast confirmed write in the current Agent Builder session
DepthOne level — undo the last action, not a full history stack
Availability~30 minutes after confirmation (matches session TTL)
WhoAdmin who confirmed the change, or any org Admin

In Agent Builder chat:

Undo the last change

Or click Undo last action in the confirmation banner shown immediately after apply.

Undo restores the previous values for all fields changed in that confirmed action:

Change typeUndo behavior
Prompt / model updateRestores prior text and model ID
KB or tool attach/detachReverses attachment state
Tool createArchives the created tool
Deployment appearanceRestores prior colors, greeting, questions
Allowed domainsRemoves added domains / restores removed ones
ScenarioAlternative
Changes made outside Agent Builder (dashboard, API)Revert manually or via API
Changes older than session TTLUse audit feed to identify values; re-apply manually
Second confirmed change after the firstUndo only affects the latest change
Document uploads to KBsDelete document via dashboard or Knowledge bases API

Like forward writes, undo shows a preview before applying:

Undo will restore:
- master_prompt → previous version (482 chars)
- model → gpt-5.4-mini
Confirm undo?

Undo actions are logged as agent_builder.undo in audit logs with a reference to the original change ID.