# Approvals and undo

> How Hyperdesk keeps a person in control of agents - proposals with previews, who approves and where, undo for 7 days and the audit log.

Source: https://hyperdesk.com/docs/approvals | Updated 2026-12-06 | Docs index: https://hyperdesk.com/llms.txt

## When a change becomes a proposal

| Who makes the change | What happens |
|---|---|
| A person in the app | It runs at once, with the usual confirmations and an Undo |
| An agent through MCP (Claude, ChatGPT, Codex, Cursor...) | It becomes a proposal for the person who connected it |
| A script with an API key | It runs at once as the key's owner; send a [dry run](https://hyperdesk.com/docs/api#writes) first to preview it |

Reads never need approval. `capability_describe` says whether a capability's writes need approval.

## What a proposal shows

A proposal has an `id`, the capability it would run, a `preview` and an expiry:

- a one-line summary, such as which application moves to which stage;
- how many records it touches;
- each change, with the value before and after where there is one;
- side effects, such as "Sends an email to the candidate".

Proposals expire after 24 hours. An expired one can't be approved; ask the agent again for a fresh one. `proposal.refine` replaces a pending proposal with one that has changed inputs.

## Who approves, and where

The person the proposal was made for (the person whose sign-in or key proposed it) or an admin can approve or reject it. Agents can't approve anything. Once approved, it runs as the person it was made for, with their access at that moment.

- **In Hyperdesk:** Home > Approvals lists what's waiting, with the preview.
- **From an MCP client:** the agent shows the preview, and only after the person says yes in the conversation it calls `proposal_approve`. MCP clients mark that tool as one that needs the person's OK.
- **From the API or the command line:** `proposal.list`, `proposal.approve` and `proposal.reject`, as the person.

Offer and job approvals are a separate thing: approval processes with steps and named approvers, set by admins (`approvalDefinition.update`) and decided one step at a time with `approval.decideStep`, in Hyperdesk.

## Undo

- A write that can be reversed returns an `undoToken`. `action.undo` with that token reverses it.
- It works for 7 days, once, and only for the person who made the change or an admin.
- Changes marked **destructive** in the reference (such as merging candidates or erasing personal data) can't be undone; previews say so.
- Some deletions go to Recently deleted first: a deleted candidate can be restored for 10 days.

## Audit log

Every change is recorded in the audit log with who made it and through which channel. Admins read the audit log in Hyperdesk (Admin > Audit log) or with `auditLog.list`, filtered by category, person, record, date and channel: `WEB`, `API`, `MCP`, `SLACK`, `SCIM`, `EMAIL` or `WORKER`. The audit log never holds candidates' personal data.

---
Every surface needs a Hyperdesk account; access is by invitation. Get one: https://hyperdesk.com/book-demo. Help center for app users: https://app.hyperdesk.com/help
