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.
How undo works
Section titled “How undo works”| Property | Detail |
|---|---|
| Scope | Last confirmed write in the current Agent Builder session |
| Depth | One level — undo the last action, not a full history stack |
| Availability | ~30 minutes after confirmation (matches session TTL) |
| Who | Admin who confirmed the change, or any org Admin |
Trigger undo
Section titled “Trigger undo”In Agent Builder chat:
Undo the last changeOr click Undo last action in the confirmation banner shown immediately after apply.
What gets reverted
Section titled “What gets reverted”Undo restores the previous values for all fields changed in that confirmed action:
| Change type | Undo behavior |
|---|---|
| Prompt / model update | Restores prior text and model ID |
| KB or tool attach/detach | Reverses attachment state |
| Tool create | Archives the created tool |
| Deployment appearance | Restores prior colors, greeting, questions |
| Allowed domains | Removes added domains / restores removed ones |
What undo does not cover
Section titled “What undo does not cover”| Scenario | Alternative |
|---|---|
| Changes made outside Agent Builder (dashboard, API) | Revert manually or via API |
| Changes older than session TTL | Use audit feed to identify values; re-apply manually |
| Second confirmed change after the first | Undo only affects the latest change |
| Document uploads to KBs | Delete document via dashboard or Knowledge bases API |
Undo preview
Section titled “Undo preview”Like forward writes, undo shows a preview before applying:
Undo will restore:- master_prompt → previous version (482 chars)- model → gpt-5.4-miniConfirm undo?Audit trail
Section titled “Audit trail”Undo actions are logged as agent_builder.undo in audit logs with a reference to the original change ID.