History and undo
Review merges, undo incorrect links, and split accounts. History records each change and its reason.
Overview
A merge creates a link between accounts. Undoing a merge removes the link but retains its evidence, removal author, and reason.
History lists changes to the graph. Recent auto-merges lists automatic merges, with the lowest confidence first.
History
Open it
History has no sidebar entry. Use one of these routes:
- Open Settings → Access. Select View history →.
- Select History at the top of the review queue.
- Open a member’s profile. Select Explain under Identity. Select History → at the bottom.
Read the history
Each row shows a change, its date, its creator, and the affected member. The newest changes appear first. Reasons appear in quotes below each row. Reversals identify the earlier change.
A merge row names both accounts and the member they belong to now, for example “You merged generic:id:app-102 and generic:id:evt-002 · Priya Raman”. Datum masks addresses in account names.
The creator appears as You, A teammate, The matcher, Datum, An import, or An API client. The matcher made automatic merges. Datum made other automatic changes, such as the default reports in a new workspace.
Filter with Everything, Merges, Merges undone, Splits, or Erasure refusals. An erasure refusal records a rejected attempt to write data about an erased member. See Erasure and retention.
Undo from History
- Select Undo this merge… on a merge row.
- Check the two accounts in the dialog.
- Enter a reason. Datum stores it with the change.
- Select Undo this merge.
This action removes the same link as the member page. It also records that the accounts belong to different people. Splits and other changes have no undo button.
Datum reports the result. If other links still connect the accounts, they remain one member. The confirmation explains this result.
Recent auto-merges
Recent auto-merges lists automatic merges from lowest to highest confidence. Lower-confidence merges need closer review.
Open /merges under your Datum address. This page has no menu entry.
Narrow the list
- Select Last 7 days, Last 30 days, Last 90 days, or All time.
- Select Any confidence, Under 95%, or Under 85%.
The defaults are Last 30 days and Under 95%.
Each row shows the accounts, confidence, method, date, and up to three evidence lines. see the person opens the member.
Undo one merge
Select Undo this merge on the row. This action removes the same link as the member page.
You cannot undo pinned merges from this list. A pinned merge records a person’s explicit decision.
Undo all of them
Undo all of these reverses every eligible merge within the selected dates and confidence limit. This action requires the owner role.
- Press Undo all of these.
- Check the total and first five merges in the dialog.
- Press the confirmation button, such as Undo 412 merges.
Datum calculates the selection before changing links. It excludes pinned merges and merges involving erased members.
Datum records the separated accounts as different people. This decision prevents another automatic merge. Put them back reverses the complete action.
What an undo does
- Removes a link. The remaining links determine which accounts form each member.
- Retains the record. History keeps the evidence, removal author, and reason.
- Records “not the same”. When an undo separates people, Datum prevents another automatic merge. The CLI option
--allow-relinkomits this decision. - Protects pins. Undoing a pinned merge requires an owner and a reason.
Use --allow-relink when insufficient evidence caused the undo, rather than proof that the accounts belong to different people.
Split instead of undo
Select Split beside an account in Linked accounts to separate that account. A split removes every link that connects the account to the member.
A split has no undo button. Use Merge with… to combine the members again. If you selected And never propose it again during the split, the merge dialog shows that decision before you merge. Select They are the same person: overrule that to override it.
From your terminal or agent
Filter by connection to undo merges from one source. Run the command with --dry-run first. Check the reported count before running the command without --dry-run.
ocmgr audit list --kind undone --json
ocmgr audit list --kind erasure-refusals --json
ocmgr audit list --actor-type operator --json
ocmgr merge list --created-by system --since 2026-10-01T00:00:00Z --json
ocmgr merge undo <linkId> --reason "Two different people" --json
ocmgr merge bulk-undo --connection <connectionId> --reason "Bad CSV import" --dry-run --json
ocmgr merge bulk-undo --connection <connectionId> --reason "Bad CSV import" --json
ocmgr audit undo <groupId> --reason "Put back" --json{ "name": "list_links", "arguments": { "created_by": "system", "max_confidence": 0.95 } }
{ "name": "bulk_unmerge", "arguments": { "filter": { "connection_id": "<connectionId>" }, "reason": "Bad CSV import", "dry_run": true } }
{ "name": "undo_bulk_action", "arguments": { "group_id": "<groupId>", "reason": "Put back" } }curl "$OCMGR_URL/v1/audit?action=link.removed" \
-H "Authorization: Bearer $OCMGR_API_KEY"
curl "$OCMGR_URL/v1/links?created_by=system&max_confidence=0.95" \
-H "Authorization: Bearer $OCMGR_API_KEY"A bulk undo returns a group ID. Pass it to ocmgr audit undo to restore all the merges. The reversal returns its own ID, so you can reverse it too.
See bulk_unmerge, unmerge_link, and list_audit.
FAQ
I undid a merge, but it's still one person.
Other links still connect the accounts. Open Accounts → Why these are one person to inspect them. Use Split to separate one account completely.
Why did my undo fail?
A pinned merge requires the owner role. Datum also rejects changes involving erased members.
Can I see who merged two accounts?
Yes. Each link identifies its creator: the matcher, a person, an import, or an API client. Open the profile of the member. Then select Explain under Identity. You can also filter History by Merges.
Does undoing delete anything?
No. Datum retains removed links and their evidence. It does not edit observations. Only an erasure request deletes personal data.