A redacted filing answers one question, what the public sees. Courts, legal teams, and records offices are often asked a second one later: what exactly was removed, under which rules, and can you show that the record of it has not been changed since? Once a matter is in dispute, they also need that record kept until the matter closes, even if routine cleanup would otherwise delete it.
Philter keeps that record in its redaction ledger, and a legal hold keeps it from being deleted. Philter Workspace manages both through Philter’s API, so administrators verify, export, hold, and release the evidence without leaving it.
This guide is a technical walkthrough, not legal advice. Whether a ledger export or a hold meets a court’s rules or a preservation obligation is a question for your counsel. The ledger records what Philter redacted; it does not show that every sensitive value was found, because detection is probabilistic. Review the redacted output as well.
Note: Philter Workspace has no published release yet. The steps below were run on a build of its
mainbranch (commit9f17d8b) with its development stack and Philter 4.0.1, which provides the ledger and legal holds, on December 1, 2026. Screens and settings may change before the first release.
Start Philter Workspace
Build and start the development stack with Philter 4.0.1, as in Data sources and destinations:
PHILTER_VERSION=4.0.1 ./quickstart.sh
Deleting ledger evidence is off in Philter by default: with LEDGER_DELETION_ENABLED unset, every deletion is refused, held or not. This walkthrough shows a hold blocking a deletion, so it added LEDGER_DELETION_ENABLED=true to the philter service’s environment in docker-compose.yaml. Leave it off unless your retention rules call for deleting evidence.
1. Create a context with the ledger on
Philter records redactions only in a context with the ledger on. On Policies, open Contexts, select New context, name it matter-2026-0142, and check Redaction ledger. The list then shows:
matter-2026-0142 0 No disambiguation; ledger on
A batch uses the contexts of the Philter user that owns Philter Workspace’s Philter API key, and that user can have at most 10 contexts, counting default.
2. Redact documents in that context
On Batches, select Create Batch, name it Matter 2026-0142, choose the group and the policy, and enter matter-2026-0142 as the Context. The policy here, court-filings, finds person names, email addresses, phone numbers, and SSNs.
Add documents to the batch, here by uploading two invented filings on Add Documents, or from a data source. One of them reads:
DECLARATION OF THOMAS REYES. I, Thomas Reyes, declare that I contacted the defendant's office at (312) 555-0192 on November 3, 2026, and received a reply from records@example.org. My SSN is 123-45-6789.
Philter writes the ledger when it redacts, not when a person finalizes, so each document has a chain as soon as it is redacted. A plain-text document gets one entry per redaction. Philter 4.0.1 records a PDF as a chain without per-redaction entries.
3. Verify a chain
Admin, Ledgers lists one chain per document:
DOCUMENT ID FILENAME CREATED
37a1dd73-c30a-4d2f-a500-499d05b9a962 none-provided 2026-12-01T18:33:26.831Z
8e3738dd-21ae-4c68-ac31-353a9feefd39 none-provided 2026-12-01T18:33:26.767Z
The IDs are Philter’s, not Philter Workspace’s, and Philter Workspace does not pass file names to Philter, so every chain shows none-provided. To find a document’s chain, read its ledger through Philter Workspace’s API as an administrator or auditor:
curl "http://localhost:8080/api/v1/documents/a20781cd-7521-458c-b12f-878236e7d112/ledger" \
-H "Authorization: Bearer $PHILTER_API_KEY"
{"chains": [{"philterDocumentId": "8e3738dd-21ae-4c68-ac31-353a9feefd39", "state": "OK", "verified": true,
"hashChainValid": true, "signaturesValid": true, "signedEntries": 5, "unsignedEntries": 0,
"summary": "Verified: the hash chain and every signature check.", ...}], "entries": [...]}
View opens a chain, and Philter checks all of it each time:
Ledger chain for 37a1dd73-c30a-4d2f-a500-499d05b9a962
The chain verifies.
Hash chain: intact. Every entry matches its hash and links to the entry before it.
Signatures: all 6 verify against Philter's signing keys.
TYPE REPLACEMENT POSITION POLICY RECORDED
Start of chain court-filings v0 2026-12-01T18:33:26.831Z
person {{{REDACTED-name}}} 15 court-filings v0 2026-12-01T18:33:26.835Z
person {{{REDACTED-name}}} 32 court-filings v0 2026-12-01T18:33:26.838Z
phone-number {{{REDACTED-phone-number}}} 97 court-filings v0 2026-12-01T18:33:26.841Z
email-address {{{REDACTED-email-address}}} 159 court-filings v0 2026-12-01T18:33:26.844Z
ssn {{{REDACTED-ssn}}} 190 court-filings v0 2026-12-01T18:33:26.847Z
The two checks fail for different reasons. The hash chain shows the entries are internally consistent: each entry includes the hash of the one before it, so changing, removing, or reordering an entry breaks the chain. The signatures show origin: Philter signs every entry with its own key, so entries cannot be forged without that key. By default the signing key is stored in Philter’s database, encrypted under PHILTER_ENCRYPTION_KEY, so someone holding both the database and that key could produce entries that verify. Set PHILTER_SIGNING_KEY_PATH to keep the signing key apart from the database. Each entry also names the policy and the policy version that governed the redaction. The page does not show original values.
4. Export a chain for offline verification
Export (JSON) downloads the chain as Philter exports it, here ledger-37a1dd73-c30a-4d2f-a500-499d05b9a962.json, with version, documentId, count, entries, and the signingKeys that check the signatures. Each entry carries the original value, so the chain’s links and signatures can be checked without Philter. Recomputing each entry’s hash also needs the owner’s internal Philter user ID, which the export does not include:
{
"documentId": "37a1dd73-c30a-4d2f-a500-499d05b9a962",
"type": "person",
"token": "THOMAS REYES",
"replacement": "{{{REDACTED-name}}}",
"startPosition": 15,
"previousHash": "83cb23d2b72eff069622f6fa28ee845b6935079f2dedba7814a3ba34c86134a9",
"hash": "351b53ccff395a95c1ebacf653c10687ba80b2af298d7679d340840d3d94d286",
"policyName": "court-filings",
"policyVersion": 0,
"signature": "yno2mJJHZgvDudoRjN8CZZc5aWZfPHRozcSvO8xC3gxODeAbPcfx3Qw9ARzf12ASvf6EWxlHUl5l5wpbqvbLdA",
"signingKeyId": "664e0730d8919c1c",
...
}
Because it holds the original values, the export is personal information. Keep it with the same care as the documents. Philter Workspace keeps no copy. Philter’s documentation describes how the hash and the ES256 signature are computed, for checking an export independently.
5. Place a legal hold
On Admin, Legal Holds, select Place hold and fill in:
| Field | Value |
|---|---|
| Reference | MATTER-2026-0142, your name for the hold, unique among the user’s holds |
| What it covers | One document’s ledger chain, with its document ID from the Ledgers page, or All of the user’s ledger evidence |
| Reason | Preservation notice received for matter 2026-0142 |
The list then shows the hold:
REFERENCE COVERS REASON PLACED
MATTER-2026-0142 One document's ledger chain Preservation notice received for matter 2026-0142 2026-12-01T18:34:38.336Z
37a1dd73-c30a-4d2f-a500-499d05b9a962
Batches are redacted with Philter Workspace’s own Philter API key, so their evidence belongs to the Philter user that owns that key. Holding everything a batch produced means holding that user’s evidence; enter the username in the Owner filter to see it, which needs ADMIN_CROSS_USER_ACCESS_ENABLED=true in Philter. Philter does not report who placed a hold: the hold list leaves it out, and the legal_hold_set audit event records the hold’s owner, not the person who set it. Put the order or the requesting party in the reason so it stays with the hold.
6. What a hold blocks
With the hold in place, Delete chain on that chain is refused:

A hold covers ledger evidence only. It does not cover contexts, policies, or documents in Philter Workspace. Philter enforces it, so it applies whatever client asks for the deletion, including a script calling Philter’s API directly.
7. Read the record of what happened
Philter records reads, exports, holds, and deletions in its own audit log, which Philter Workspace shows under Audit Log, Philter. Filtering by event shows the hold, the export, and the refused deletion, which names the hold that stopped it:
2026-12-01T18:34:05.541Z redaction_ledger_exported admin api owner: 6b0f116c8887a5f48b815d8e, documentId: 37a1dd73-c30a-4d2f-a500-499d05b9a962, count: 6
2026-12-01T18:34:38.337Z legal_hold_set admin api reference: MATTER-2026-0142, scopeType: document_chain, scopeValue: 37a1dd73-c30a-4d2f-a500-499d05b9a962
2026-12-01T18:34:56.291Z legal_hold_blocked_deletion admin api operation: delete_document_chain, documentId: 37a1dd73-c30a-4d2f-a500-499d05b9a962, blocking holds: [MATTER-2026-0142]
For one document, Philter Workspace can also join its own events to the document’s ledger entries and the chain’s verification, as CSV or JSON:
curl "http://localhost:8080/api/v1/documents/a20781cd-7521-458c-b12f-878236e7d112/audit-trail?format=csv" \
-H "Authorization: Bearer $PHILTER_API_KEY"
timestamp,source,documentId,actor,action,outcome,...,philterDocumentId,piiType,startPosition,hash,previousHash,...,chainVerified
,PHILTER_LEDGER_CHAIN,a20781cd-...,,CHAIN_VERIFICATION,VERIFIED,...
2026-12-01T18:33:24.614Z,PHILTER_WORKSPACE,a20781cd-...,admin,DOCUMENT_QUEUED,SUCCESS,...
2026-12-01T18:33:26.775Z,PHILTER_LEDGER,a20781cd-...,,REDACTION,,...,8e3738dd-...,person,71,ea55d601de3f...,0752f6d701b2...
2026-12-01T18:33:26.784Z,PHILTER_LEDGER,a20781cd-...,,REDACTION,,...,8e3738dd-...,ssn,223,edf5c7d19037...,6519db52d3dc...
It leaves out original values and replacements, and both this export and the ledger read are restricted to administrators and auditors and recorded in Philter Workspace’s audit log.
8. Release the hold
When the matter closes, Release the hold and confirm. The evidence can then be deleted or purged again, unless another hold still covers it. Only the person who placed a hold, or a Philter administrator, can release it. With LEDGER_DELETION_ENABLED=true, deleting the chain now succeeds:
Ledger chain for document 37a1dd73-c30a-4d2f-a500-499d05b9a962 deleted.
Philter’s audit log records both steps:
2026-12-01T18:35:13.092Z legal_hold_released admin api reference: MATTER-2026-0142, releasedBy: 6b0f116c8887a5f48b815d8e
2026-12-01T18:35:20.283Z redaction_ledger_deleted admin api documentId: 37a1dd73-c30a-4d2f-a500-499d05b9a962
Philter deletes whole chains, never single entries. The deletion is not transactional, so a database failure partway through can leave it partly applied.
A legal hold is not “Keep original documents”
A batch’s finalization policy decides what Philter Workspace does with a document’s original text when it is finalized. Its Keep original documents (never delete them) option keeps that text; the other options delete it. That option was once labeled “legal hold”, but it is Philter Workspace’s own retention setting: it does not place a Philter legal hold, and a Philter legal hold does not keep Philter Workspace’s documents. For a matter that needs both, choose a finalization policy that keeps originals and place a hold on the ledger evidence.
Where to go next
- Review thresholds and sign-off: decide which redactions a person checks before a document is finalized.
- Data sources and destinations: import a matter’s documents and deliver the redacted text.
- Philter’s Redaction Ledgers and Legal Holds, for how the hash and signatures are computed and every hold rule.