Skip to content
Browse the documentation

Timeline & Undo

The AgentLock timeline records every executed agent action and lets you undo supported actions.

What is the Timeline?

The Timeline (UndoLayer) is a chronological record of all agent action executions. It works like a "bank statement" for your agent actions. Each entry shows:

  • Status — Succeeded, Failed, Undone, Running.
  • Action type and connector — What was done and through which tool.
  • Agent — Which agent performed the action.
  • Timestamp — When the action was executed.
  • Encrypted request/response — The sanitized action details (visible to Owner/Admin/Approver roles).

Timeline history is limited by your plan: Free = 14 days, Pro = 90 days, Team = 1 year.

How does Undo work?

Some connectors support reversible actions. When an action is undoable, an Undo button appears in the Timeline. Clicking it:

  1. Prompts you for confirmation.
  2. Creates a new approval request (undo is treated as a high-risk write action).
  3. The system executes the connector's undo function with the stored undo payload.
  4. The action status changes to UNDONE in the Timeline.

Undo is available on Pro and Team plans. Not all actions are undoable — it depends on the connector. HTTP write requests are the undoable case: a POST is undone by deleting the created resource, PUT/PATCH by restoring the previous state (captured before the change), DELETE by recreating the resource. SSH commands and MCP tool calls are not undoable — their effects happen on systems AgentLock can't roll back.

Can I disable the Timeline?

Yes. Go to Settings > Data & Privacy and toggle off Timeline. When disabled, execution records are still created temporarily (so agents can poll for results), but they are automatically deleted within 24 hours and won't appear in the Timeline page.

You can also customize the Data Retention period to override the plan default.

Timeline & Undo | AgentLock Docs