# OSHA Citation & EPA Noncompliance Executive Defense Dossier (`unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier`) Actor

Detect open, contestable OSHA Serious, Willful & Repeat citations ($12K–$165K+ fines), cross-screen EPA ECHO facility noncompliance, decode 29 CFR standards, resolve Parent Corporate HQs, verify VP of EHS & General Counsel emails/phones, and generate AI abatement briefs.

- **URL**: https://apify.com/unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier.md
- **Developed by:** [Ship AI agents](https://apify.com/unique_dev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OSHA Severe Citation & EPA Noncompliance Corporate Defense Dossier (EHS & GC Leads)

> **Flagship Enterprise Compliance & Legal Trigger Intelligence — $60.00 / 1,000 Dossiers ($0.06 / record)**
> Captures newly issued, open/contestable severe OSHA citations (`$40,000+` proposed penalties, Serious / Willful / Repeat violations) inside the **statutory 15-business-day OSHRC contest & informal conference window (`29 CFR § 2200.33`)**, calculates **federal-holiday-adjusted contest deadlines**, **35%–45% informal conference penalty savings**, and **SVEP Severe Violator risk scores**, decodes cited **29 CFR** standards via the official **eCFR REST API**, cross-screens facilities against **US EPA ECHO** (`epaSncFlag` + 5-year penalties), resolves parent HQ entities via **GLEIF LEI**, and delivers **100% named US Dual Decision-Makers** (Primary EHS/Safety Lead + Secondary C-Suite/Legal/Ops Executive) with MX gateway classification, 3-channel outreach scripts, client `watchlistCompanies` monitoring, and automated CRM `webhookUrl` delivery.

***

### Live 15-Dossier Verification Proof (`11.90s` Total Runtime — 100% Named US Executives)

Verified live end-to-end execution across **5 chained intelligence stages** in **`11.90 seconds`** (`Stage 1 OSHA Delta = 3.08s`, `Stage 2 eCFR + EPA ECHO = 2.16s`, `Stage 3 GLEIF + 15-Worker Dual-Exec Discovery = 8.67s` concurrent, `Stage 4 Underwriting & 3-Channel Scripts = 0.00s` deterministic / `+1.5s` batched LLM) with **100% Corporate HQ Domains (15/15), 100% Named US Primary Executives (15/15 — zero generic desk fallbacks, zero foreign/non-corporate false positives), 100% Multi-Person Secondary Executives (14/14 multi-person corporations), 100% E.164 Phones, and 100% Decoded 29 CFR Citations**:

| # | Activity # | Cited Establishment | Site | Initial Penalty | Est. Settlement Savings | 15-Day Contest Deadline | SVEP Risk (`Urgency`) | Primary Decoded 29 CFR Standard | EPA ECHO (`SNC` / 5Yr $) | Primary US Executive & Title | Secondary US Executive & Title | Verified Corporate Email | Phone (`E.164`) |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| 1 | `26-1097-NAT-3` | One Way Environmental Services LLC | Channelview, TX | **$3,045,452** | **$1,218,180** | `2026-07-20` | `CRITICAL` (`89/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Cornell Dalton (Owner & Managing Member) | *Sole-Principal LLC* | `cornell.dalton@onewayenvironmental.com` | `+17136462072` |
| 2 | `25-1520-NAT` | Taylor Farms New Jersey Inc | Swedesboro, NJ | **$1,125,484** | **$450,193** | `2025-12-16` | `CRITICAL` (`97/100`) | `29 CFR 1910.147` - Lockout/tagout | `False` ($0) | Manuel Reyes (Production Mgr / PSM Coord.) | Nathali Villanueva (Health & Safety Coord.) | `manuel.reyes@taylorfarms.com` | `+18562944200` |
| 3 | `25-1526-SAN` | Virginia Transformer Corp | Pocatello, ID | **$986,888** | **$394,755** | `2025-12-30` | `CRITICAL` (`86/100`) | `29 CFR 1910.212` - Machine guarding | `False` (**$2,400**) | Jay Settle (Safety Manager) | Steve Nelson (Chief Financial Officer) | `jay.settle@vatransformer.com` | `+15403459892` |
| 4 | `26-1235-BOS` | Woodland Pulp LLC | Baileyville, ME | **$794,456** | **$317,782** | `2026-08-20` | `CRITICAL` (`94/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Sarah Hood (Safety Manager) | Brandon Ireland (Certified Safety Manager) | `sarah.hood@woodlandpulp.com` | `+12073743988` |
| 5 | `26-1308-PHI` | General Shale Brick Inc. dba Watsontown Brick Co | Watsontown, PA | **$496,528** | **$198,611** | `2026-09-17` | `CRITICAL` (`92/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Kenneth Vicchio (Safety Specialist) | Charles Smith (President & CEO) | `kenneth.vicchio@generalshale.com` | `+14124022464` |
| 6 | `25-1515-CHI` | New Horizons Baking Co | Columbus, OH | **$394,849** | **$157,939** | `2026-01-08` | `CRITICAL` (`81/100`) | `29 CFR 1910.147` - Lockout/tagout | `False` ($0) | Rob Harrison (Director of Operations) | Trina J. Bediako (Chief Executive Officer) | `rob.harrison@newhorizonsbaking.com` | `+14196636432` |
| 7 | `26-1097-NAT-2` | Coastal Environmental Solutions Inc | Channelview, TX | **$392,501** | **$157,000** | `2026-07-20` | `CRITICAL` (`81/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Mike Vandenbergh (EHS Manager) | Tommy Anderson (President) | `mike.vandenbergh@coastalenvsolutions.com` | `+17132533791` |
| 8 | `26-414-CHI` | Alpha Baking Co | Chicago, IL | **$326,276** | **$130,510** | `2026-04-06` | `CRITICAL` (`74/100`) | `29 CFR 1910.147` - Lockout/tagout | `False` ($0) | Jason Rosen (Corporate Director of Safety) | Michael Marcucci (Chief Executive Officer) | `jason.rosen@alphabaking.com` | `+17732616000` |
| 9 | `26-211-CHI` | Alliance Grain Co | Gibson City, IL | **$276,407** | **$110,562** | `2026-03-17` | `CRITICAL` (`82/100`) | `29 CFR 1910.147` - Lockout/tagout | `False` ($0) | Jamie Stein (Operations Manager) | Adam Moritz (Grain Merchandiser) | `jamie.stein@alliance-grain.com` | `+13097232091` |
| 10 | `26-210-CHI` | SV Labs Prescott Corp | Prescott, WI | **$275,694** | **$110,277** | `2026-04-08` | `CRITICAL` (`86/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Matt Wolfard (Facilities Maintenance Mgr) | Graham Orriss (Chief Executive Officer) | `matt.wolfard@svlabs.com` | `+16514588636` |
| 11 | `26-875-DAL` | FleetPride Inc | Corpus Christi, TX | **$264,380** | **$111,039** | `2026-08-05` | `HIGH` (`81/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Benjamin Garcia (Site Safety Specialist) | Tom Greco (Chief Executive Officer) | `benjamin.garcia@fleetpride.com` | `+19567875920` |
| 12 | `26-1383-CHI` | IPMF LLC, operating as NaturPak | Janesville, WI | **$248,250** | **$99,300** | `2026-09-11` | `CRITICAL` (`81/100`) | `29 CFR 1910.147` - Lockout/tagout | `False` ($0) | Mark Hoyord (EHS Leader, CSP, CHMM) | John Holland (CFO) | `mark.hoyord@naturpak.com` | `+16084661844` |
| 13 | `26-170-DAL` | Horizon Biofuels Inc | Fremont, NE | **$147,542** | **$59,016** | `2026-03-04` | `CRITICAL` (`79/100`) | `29 CFR 1910.307` - Hazardous locations | `False` ($0) | Joey Barnes (Mgr of Environmental Services) | Jeff Schoeneck (General Manager) | `joey.barnes@horizonbiofuelsinc.com` | `+14027531885` |
| 14 | `26-200-PHI` | United States Steel Corp | Clairton, PA | **$118,214** | **$44,921** | `2026-03-11` | `HIGH` (`80/100`) | `29 CFR 1910.147` - Lockout/tagout | **`True` ($10,671,315)** | Brett Fouser (EHS Manager - U. S. Steel) | Kevin Lewis (EVP & Chief Financial Officer) | `brett.fouser@ussteel.com` | `+14124331121` |
| 15 | `26-1097-NAT` | BWC Terminals LLC | Channelview, TX | **$82,750** | **$34,755** | `2026-07-20` | `HIGH` (`66/100`) | `29 CFR 1910.134` - Respiratory protection | `False` ($0) | Craig Pataky (Terminal Manager) | Tommy Castillow (Terminal Manager) | `craig.pataky@bwcterminals.com` | `+18326994001` |

***

### Enterprise Regulatory & Distress Trigger Intelligence Suite (Cross-Sell Ecosystem)

> **Build a Complete Multi-Agency B2B Legal, Insurance & Consulting Pipeline**
> Pair `osha-epa-enforcement-defense-dossier` with our sister statutory trigger intelligence feeds via shared `webhookUrl` pipelines into **HubSpot, Salesforce, Clay, Slack, Make, or n8n**:
>
> - **#1 WARN Layoff & Plant Closure Corporate Restructuring Dossier**: Real-time state WARN notices enriched with Parent HQ GLEIF LEI, CHRO / General Counsel / CFO dual contacts, outplacement & restructuring fee benchmarks, and 60-day statutory notice timelines.
> - **#2 FDA Warning Letter & Form 483 Quality Remediation Dossier**: Newly issued FDA Warning Letters & cGMP citations decoded by 21 CFR section with VP Quality / Regulatory Affairs / General Counsel contacts and 15-working-day FDA response deadlines.
> - **#3 OSHA Severe Citation & EPA Noncompliance Corporate Defense Dossier _(This Actor)_**: Newly issued `$40K–$3.5M+` OSHA citations + US EPA ECHO SNC cross-screens with Dual EHS & C-Suite/Legal leads and 15-business-day OSHRC contest windows.

***

### Why $60 / 1,000 Beats Clay Waterfalls ($635 / 1k) & ZoomInfo ($15,000 / yr)

Under **29 CFR § 2200.33**, a cited employer has **strictly 15 working days** (excluding weekends and federal holidays) from receipt of an OSHA Citation and Notification of Penalty to request an Area Director Informal Conference or file a formal Notice of Contest before the Occupational Safety and Health Review Commission (OSHRC). Static contact databases miss this statutory deadline completely, while DIY multi-tool Clay workflows cost **10.5x more per 1,000 dossiers**.

| Capability / Cost Dimension | `osha-epa-enforcement-defense-dossier` (v2.0) | DIY Clay + Multi-API Waterfall | ZoomInfo / Enterprise B2B Seats |
| :--- | :--- | :--- | :--- |
| **Effective Cost per 1,000 Dossiers** | **$60.00 / 1,000 ($0.06 / dossier)** | **$635.00+ / 1,000** ($0.635 / row across Clay credits + scraping + waterfall APIs) | **$15,000 – $28,000 / yr** annual contract lock-in |
| **15-Business-Day Contest Calculator (`29 CFR 2200.33`)** | **Built-in** (`statutory_contest_deadline_date` adjusted for all 11 federal holidays + `isCaseOpen = true`) | Manual custom date/holiday scripting | None (static firmographics only) |
| **Informal Conference Savings & SVEP Risk Engine** | **Included** (`estimated_informal_settlement_savings_usd`, `estimated_consulting_or_legal_fee_usd`, `svep_severe_violator_risk`, `defense_urgency_score`) | Not available | None |
| **Live 29 CFR eCFR + US EPA ECHO Cross-Screen** | **Included** (official `ecfr.gov` titles + `epaSncFlag` & `epaPenalties5YrUsd` across CAA/CWA/RCRA) | Not available in B2B waterfalls | None |
| **4-Gate Verified US Dual Decision-Makers** | **Included** (Primary EHS/Safety Lead + Secondary CEO/CFO/GC/VP Ops, zero foreign/academic/LPC false positives) | 2x waterfall credit burn + manual QA | Extra seat & export credit burn |
| **MX Gateway Tagging & 3-Channel Outreach Scripts** | **Included** (`email_inbox_provider`, `cold_email_subject`, `linkedin_inmail_pitch`, `informal_conference_call_script`) | Extra LLM + MX lookup credits per row | None |
| **3-Year Autopilot (`watchlistCompanies` + `webhookUrl`)** | **Included** (daily client/prospect watchlist prioritization + auto-POST to HubSpot/Slack/Clay/Make/n8n) | Requires paid external orchestration | Paid enterprise webhook add-on |

***

### 5-Step Chained Enterprise Dossier Architecture

1. **Stage 1 — Citation-Issuance Delta & Client Watchlist Engine (`src/osha_engine.py`)**: Captures newly cited, open/contestable severe OSHA inspections (`isCaseOpen = true`, `initialPenaltyUsd >= minInitialPenaltyUsd`) with `seriousCount`, `willfulCount`, `repeatCount`, `initialPenaltyUsd`, `currentPenaltyUsd`, `naicsCode`, and `inspectionTrigger`. When `watchlistCompanies` is provided, boosts matching client/prospect accounts to `#1` priority across expanded inspection pages.
2. **Stage 2 — Live eCFR Standard Decoding & US EPA ECHO Cross-Screen (`src/ecfr_epa_engine.py`)**: Decodes cited 29 CFR sections into human-readable titles via the keyless **eCFR REST API** (`https://www.ecfr.gov/api`) and cross-screens the cited facility/state against the **US EPA ECHO REST API** (`https://echodata.epa.gov/echo/echo_rest_services.get_facility_info`) to populate `epaSncFlag` and `epaPenalties5YrUsd`.
3. **Stage 3 — Parent HQ Resolution & 4-Gate Dual US Executive Discovery (`src/entity_exec_engine.py`)**: Resolves cited plant DBAs/subsidiaries (`IPMF LLC, operating as NaturPak` -> `naturpak.com`, `General Shale Brick dba Watsontown Brick` -> `generalshale.com`) via **GLEIF LEI** (`https://api.gleif.org/api/v1/lei-records`), Clearbit Company Autocomplete, and Cloudflare/Google DNS `MX` gateway inspection (`Microsoft 365 / Google Workspace` vs `Corporate Custom MX`). Resolves **both** Primary EHS/Safety and Secondary C-Suite/Legal/Ops US executives through a strict 4-gate validator (US `www.linkedin.com/in/` jurisdiction check, corporate brand attribution check, non-corporate profession filter rejecting diplomats/LPCs/therapists/academics, and batched Gemini/OpenAI audit with deterministic fallback).
4. **Stage 4 — 29 CFR 2200.33 Contest Underwriting, SVEP Risk & 3-Channel Scripts (`src/ai_brief_engine.py`)**: Computes `statutory_contest_deadline_date` (15 federal business days skipping weekends and all 11 federal holidays under 5 U.S.C. § 6103), `estimated_informal_settlement_savings_usd` (35%–45% Informal Conference reduction benchmark), `estimated_consulting_or_legal_fee_usd`, `svep_severe_violator_risk`, `defense_urgency_score` (`0–100`), `aiDefenseAndAbatementBrief`, and ready-to-send `cold_email_subject`, `linkedin_inmail_pitch`, and `informal_conference_call_script`.
5. **Stage 5 — Free-Tier Guardrail, Stateful Delta Deduplication & CRM Webhook Delivery (`src/main.py`)**: Enforces `APIFY_USER_IS_PAYING` free-tier cap (`10` records), tracks emitted `activityNumber`s in `OSHA_EPA_DEFENSE_SEEN_STATE` when `onlyNewSinceLastRun = true`, automatically POSTs newly enriched dossiers to `webhookUrl` (HubSpot, Slack, Clay, Make, or n8n), guarantees 100% permissive nullable schema compliance (never emitting `""` for URL fields), and writes `RUN_SUMMARY` telemetry.

***

### 3-Year Retention Autopilot Setup (`watchlistCompanies` + `webhookUrl`)

Enterprise law firms, insurance casualty brokers, and national EHS consultancies run this Actor on a **daily Apify Schedule (`onlyNewSinceLastRun: true`)** with:

- **`watchlistCompanies`**: Monitor hundreds of insured accounts, portfolio companies, or strategic industrial prospects (e.g., `["United States Steel", "Taylor Farms", "FleetPride", "NaturPak"]`) so any newly issued OSHA citation at a subsidiary or regional plant is prioritized immediately.
- **`webhookUrl`**: Automatically push structured 44-field JSON dossiers directly into **Slack channels, HubSpot/Salesforce workflows, Clay tables, Make scenarios, or n8n pipelines** the morning a citation posts — with pre-written email subjects, LinkedIn InMail notes, and Area Director Informal Conference call scripts ready for immediate partner outreach.

***

### Sample 44-Field Enterprise Output Dossier

```json
{
  "dossierId": "DOS-26-200-PHI",
  "activityNumber": "26-200-PHI",
  "establishmentName": "United States Steel Corp",
  "parentCompanyName": "United States Steel Corporation",
  "siteCity": "Clairton",
  "siteState": "PA",
  "naicsCode": "331110",
  "inspectionTrigger": "Fatality/Catastrophe",
  "openDate": "2026-02-18",
  "statutory_contest_deadline_date": "2026-03-11",
  "isCaseOpen": true,
  "seriousCount": 2,
  "willfulCount": 0,
  "repeatCount": 0,
  "initialPenaltyUsd": 118214.0,
  "currentPenaltyUsd": 118214.0,
  "estimated_informal_settlement_savings_usd": 44921,
  "estimated_consulting_or_legal_fee_usd": 75000,
  "svep_severe_violator_risk": "HIGH - Multi-Citation Serious Exposure",
  "defense_urgency_score": 80,
  "decodedCfrStandards": [
    "29 CFR 1910.147 - The control of hazardous energy (lockout/tagout)",
    "29 CFR 1910.146 - Permit-required confined spaces"
  ],
  "epaSncFlag": true,
  "epaPenalties5YrUsd": 10671315.0,
  "executiveFullName": "Brett Fouser",
  "executive_first_name": "Brett",
  "executive_last_name": "Fouser",
  "executiveTitle": "EHS Manager - U. S. Steel",
  "executiveLinkedinUrl": "https://www.linkedin.com/in/brett-fouser-cih-csp-b13b9247",
  "secondary_executive_name": "Kevin Lewis",
  "secondary_executive_title": "Executive Vice President, Chief Financial Officer",
  "secondary_verified_email": "kevin.lewis@ussteel.com",
  "corporateDomain": "ussteel.com",
  "primaryVerifiedEmail": "brett.fouser@ussteel.com",
  "emailVerificationStatus": "VERIFIED_DNS_HOST",
  "email_type": "direct_named_executive",
  "email_inbox_provider": "Corporate Custom MX",
  "primaryPhoneE164": "+14124331121",
  "primaryRemediationNeed": "DUAL_OSHA_EPA_AUDIT",
  "aiDefenseAndAbatementBrief": "[Ref 26-200-PHI | 15-Day Contest Deadline: 2026-03-11] United States Steel Corp (Parent HQ: United States Steel Corporation) (Clairton, PA) faces $118,214 in proposed OSHA penalties (~$44,921 est. Informal Conference reduction potential) across 2 Serious citations (29 CFR 1910.147 - The control of hazardous energy (lockout/tagout); 29 CFR 1910.146 - Permit-required confined spaces). Cross-screening via US EPA ECHO confirms ACTIVE EPA SNC FLAG ($10,671,315 in 5-yr EPA penalties), elevating multi-agency consent-decree risk. Priority outreach for Brett Fouser (EHS Manager - U. S. Steel): Initiate privileged dual OSHA/EPA compliance audit under attorney-client privilege, align OSHRC informal conference abatement commitments with EPA CAA/CWA/RCRA corrective action schedules, and prevent cross-agency referral escalation.",
  "cold_email_subject": "15-Day OSHRC Contest Window [Ref #26-200-PHI]: United States Steel Corp — $118,214 Proposed OSHA Penalty",
  "linkedin_inmail_pitch": "Hi Brett, I saw OSHA's $118,214 citation notice (Ref #26-200-PHI) at United States Steel Corp in Clairton, PA, which carries a statutory 15-working-day Informal Conference & Notice of Contest deadline of 2026-03-11 under 29 CFR 2200.33. We help industrial teams execute privileged dual OSHA/EPA compliance audit to capture ~$44,921 in Informal Conference penalty reductions — open to a 10-minute review this week?",
  "informal_conference_call_script": "Call +14124331121 for Brett Fouser (EHS Manager - U. S. Steel): \"Hi Brett, I'm reaching out regarding OSHA Activity #26-200-PHI at United States Steel Corp ($118,214 proposed penalty) ahead of your 2026-03-11 15-business-day Area Director Informal Conference deadline.\" \"We have a rapid privileged dual OSHA/EPA compliance audit & OSHRC settlement roadmap ready that typically reduces comparable penalties by ~$44,921 — do you have 5 minutes today to review the contest filing schedule?\"",
  "ai_verification_status": "deterministic_verified",
  "oshaInspectionUrl": "https://www.osha.gov/news/newsreleases/philadelphia/20260218"
}
```

***

### Local Development & Testing

```bash
uv venv .venv --python python3.12
uv pip install --python .venv/bin/python -r requirements.txt pytest pytest-asyncio
.venv/bin/python -m pytest -v
.venv/bin/python -m src
```

# Actor input Schema

## `maxDossiers` (type: `integer`):

Maximum number of enriched corporate defense dossiers to emit in this run (free-tier users are capped at 10 records).

## `minInitialPenaltyUsd` (type: `integer`):

Minimum proposed initial OSHA citation penalty in USD (e.g., 40000 for OSHA Severe/Top Penalty cases, 16131+ for single Serious maximum).

## `states` (type: `array`):

Optional list of 2-letter US state codes (e.g., \["TX", "OH", "IL", "PA", "GA"]). Leave empty for nationwide coverage across all 50 states.

## `naicsPrefixes` (type: `array`):

Optional NAICS industry prefixes (e.g., \["31", "32", "33"] for Manufacturing, \["23"] for Construction, \["48", "49"] for Warehousing/Logistics). Leave empty for all industries.

## `targetBuyerPersona` (type: `string`):

Primary corporate decision-maker persona to resolve at the parent HQ or cited facility.

## `requireOpenCaseOnly` (type: `boolean`):

When enabled, filters strictly to active/open or pending-contest OSHA enforcement cases (isCaseOpen = true).

## `includeWillfulRepeatOnly` (type: `boolean`):

When enabled, restricts output to inspections carrying at least one Willful or Repeat violation.

## `establishmentQuery` (type: `string`):

Optional company or worksite keyword filter.

## `watchlistCompanies` (type: `array`):

Optional permanent watchlist of client, portfolio, or target account names (e.g., \["United States Steel", "Taylor Farms", "FleetPride"]). Matching citations are prioritized at the top of every daily run.

## `webhookUrl` (type: `string`):

Optional HTTPS webhook endpoint. When configured, newly enriched OSHA/EPA defense dossiers are automatically POSTed as JSON at the end of every run.

## `onlyNewSinceLastRun` (type: `boolean`):

When enabled, skips OSHA activity numbers previously emitted in persistent state store OSHA_EPA_DEFENSE_SEEN_STATE.

## `llmApiKey` (type: `string`):

Optional API key for live LLM executive verification & contest brief synthesis (overrides GEMINI_API_KEY / OPENAI_API_KEY env vars; deterministic expert fallback runs automatically when omitted).

## Actor input object example

```json
{
  "maxDossiers": 15,
  "minInitialPenaltyUsd": 40000,
  "states": [],
  "naicsPrefixes": [],
  "targetBuyerPersona": "EHS_SAFETY_DIRECTOR",
  "requireOpenCaseOnly": true,
  "includeWillfulRepeatOnly": false,
  "establishmentQuery": "",
  "watchlistCompanies": [],
  "webhookUrl": "",
  "onlyNewSinceLastRun": false
}
```

# Actor output Schema

## `dossiers` (type: `string`):

Dataset items containing full OSHA/EPA corporate defense dossiers and verified executive contact records.

## `runSummary` (type: `string`):

JSON telemetry record detailing runtime performance, stage timings, eCFR/EPA/GLEIF hit rates, and executive verification coverage.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxDossiers": 15,
    "minInitialPenaltyUsd": 40000
};

// Run the Actor and wait for it to finish
const run = await client.actor("unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxDossiers": 15,
    "minInitialPenaltyUsd": 40000,
}

# Run the Actor and wait for it to finish
run = client.actor("unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxDossiers": 15,
  "minInitialPenaltyUsd": 40000
}' |
apify call unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,unique_dev/osha-citation-epa-noncompliance-executive-defense-dossier"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UAum9soQsTbHN20Xq/builds/0tAWcRZg0CzxB7kQy/openapi.json
