County email release package
A records team prepares a release package with staff emails, phone numbers, account numbers, and addresses that must be reviewed before publish.
Source FOIA package PDF
Redacted derivative PDF
Input
{
"pdf_url": "https://agency.example/records/foia-request-2026-019.pdf",
"redaction_policy": {
"pii": [
"ssn",
"email",
"phone",
"address",
"account_number"
],
"timing": "before_publish"
},
"reviewer": {
"role": "records_officer",
"approval_key": "foia-redaction"
},
"publish": {
"visibility": "signed",
"include_audit_manifest": true,
"include_proof_cards": true
}
}
Output
{
"redacted_document_id": "doc_redacted_...",
"published_view": "https://app.okrapdf.com/view/...",
"redaction_decision_log": [
{
"page": 2,
"entity": "email",
"decision": "approved"
}
],
"audit_manifest": {
"source_document_id": "doc_source_...",
"derivative_document_id": "doc_redacted_...",
"reviewer": "records_officer"
}
}
Lifecycle
- create workflow definition
- start run after the redaction/publish runner supports this step set
- intake private source PDF
- detect redaction candidates
- wait for human.approval
- apply true redactions
- sanitize metadata, forms, and annotations
- publish redacted derivative
Create or import the workflow
Request
{
"name": "FOIA redaction workflow",
"definition": {
"steps": "see template snapshot"
}
}
Response
{
"object": "workflow",
"workflow_id": "wf_...",
"execution_mode": "step_definition",
"runnable": false,
"readiness": {
"status": "schema_only"
}
}
Attempt run today
Request
{
"workflow_id": "wf_...",
"inputs": {
"pdf_url": "https://agency.example/records/foia-request-2026-019.pdf"
}
}
Response
{
"status": 409,
"error": "Workflow definition is schema-only; step execution is not deployed yet"
}
- This example run is attached to the FOIA workflow template for SEO, docs, and import screens.
- It is not a standalone sample PDF and it is not a claim that the redaction/publish runner is live.
- The same shape becomes executable when the deployed finite runner supports the redaction, approval, sanitize, and publish step set.