{
  "openapi": "3.0.3",
  "info": {
    "title": "US OSHA Workplace Safety & Violation Compliance Auditor",
    "version": "3.0.0",
    "description": "Queries official US DOL/OSHA inspection records (requires a free DOL_API_KEY set as an Actor environment variable) and scores workplace-safety risk. Returns no data, and charges nothing, when the key is missing or the source is unavailable.\n\n### Enterprise B2B Value Proposition (US OSHA Workplace Safety & Violation Compliance Auditor)\n- **Target B2B Buyers:** Commercial Insurance Underwriters (Workers' Comp), EHS Compliance Platforms, and M&A Due Diligence Teams.\n- **Zero External API Keys Required:** Connects directly to authoritative government, regulatory, and financial primary registries with built-in retry/backoff and deterministic schema normalization.\n- **Quantitative Scoring & RAG Briefs:** Every record is enriched with a quantitative 0-100 risk/viability score and an LLM-ready Markdown executive brief (`US OSHA Establishment Safety & Penalty Audited`).\n- **Backend Proxy Secret Injection:** RapidAPI Studio and Zyla API Hub inject `Authorization: Bearer <APIFY_API_TOKEN>` invisibly at the proxy layer when forwarding synchronous calls to `https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items`.\n- **Marketplace Categories:** RapidAPI `Business` | Zyla API Hub `Government & Legal`.\n- **Subscription Tiers (USD):** `BASIC` ($0.00/mo, 15 req/mo hard cap), `PRO` ($19.00/mo, 1,000 req/mo + $0.02/extra), `ULTRA` ($49.00/mo, 5,000 req/mo + $0.015/extra), `MEGA` ($149.00/mo, 25,000 req/mo + $0.010/extra).\n- **SEO Keywords:** osha-violations, workplace-safety, ehs-compliance, industrial-inspections, workers-comp-underwriting, supply-chain-audit, dol-osha.",
    "termsOfService": "https://jesleytassili-glitch.github.io/b2b-quant-mcp-n8n-suite/",
    "contact": {
      "name": "B2B Quant APIs (@b2b-quant-apis)",
      "email": "jesleytassili@gmail.com",
      "url": "https://apify.com/b2b-quant-apis/us-osha-workplace-safety-violation-auditor"
    },
    "license": {
      "name": "Commercial B2B API Subscription (RapidAPI & Zyla Hub)",
      "url": "https://apify.com/b2b-quant-apis/us-osha-workplace-safety-violation-auditor"
    },
    "x-category": "Business",
    "x-rapidapi-category": "Business",
    "x-zyla-category": "Government & Legal",
    "x-seo-tags": [
      "osha-violations",
      "workplace-safety",
      "ehs-compliance",
      "industrial-inspections",
      "workers-comp-underwriting",
      "supply-chain-audit",
      "dol-osha"
    ],
    "x-payout-destination": "Wise #890361113",
    "x-pricing-plans": {
      "BASIC": {
        "tier": "BASIC",
        "label": "Freemium Developer Trial",
        "monthlyPriceUsd": 0.0,
        "monthlyQuotaRequests": 15,
        "overagePricePerRequestUsd": 0.0,
        "hardLimit": true
      },
      "PRO": {
        "tier": "PRO",
        "label": "Startup & RevOps Pipeline",
        "monthlyPriceUsd": 19.0,
        "monthlyQuotaRequests": 1000,
        "overagePricePerRequestUsd": 0.02,
        "hardLimit": false
      },
      "ULTRA": {
        "tier": "ULTRA",
        "label": "Mid-Market Automation Cluster",
        "monthlyPriceUsd": 49.0,
        "monthlyQuotaRequests": 5000,
        "overagePricePerRequestUsd": 0.015,
        "hardLimit": false
      },
      "MEGA": {
        "tier": "MEGA",
        "label": "Enterprise High-Throughput SLA",
        "monthlyPriceUsd": 149.0,
        "monthlyQuotaRequests": 25000,
        "overagePricePerRequestUsd": 0.01,
        "hardLimit": false
      }
    },
    "x-code-snippets": {
      "cURL": "# Primary Synchronous Endpoint: https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\ncurl --request POST \\\n  --url \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\" \\\n  --header \"Content-Type: application/json\" \\\n  --header \"X-RapidAPI-Host: us-osha-workplace-safety-violation-auditor.p.rapidapi.com\" \\\n  --header \"X-RapidAPI-Key: <YOUR_RAPIDAPI_OR_ZYLA_KEY>\" \\\n  --data '{\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5}'",
      "Python": "import httpx\n\n# Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nurl = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\"\npayload = {\n    \"companyOrEstablishment\": \"Amazon\",\n    \"stateCode\": \"TX\",\n    \"maxResults\": 5\n}\nheaders = {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\",\n}\n\nwith httpx.Client(timeout=30.0) as client:\n    response = client.post(url, json=payload, headers=headers)\n    response.raise_for_status()\n    print(response.json())\n",
      "Node.js": "// Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nconst url = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\";\nconst options = {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\"\n  },\n  body: JSON.stringify({\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5})\n};\n\nconst response = await fetch(url, options);\nconst data = await response.json();\nconsole.log(data);\n"
    },
    "x-primary-backend-url": "https://api.apify.com",
    "x-primary-backend-base-url": "https://api.apify.com",
    "x-apify-sync-endpoint": "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items",
    "x-apify-health-endpoint": "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor",
    "x-backend-secret-header": {
      "name": "Authorization",
      "valueTemplate": "Bearer <APIFY_API_TOKEN>",
      "headerName": "Authorization",
      "headerValueTemplate": "Bearer <APIFY_API_TOKEN>",
      "injectedByProxy": true,
      "hiddenFromSubscriber": true,
      "description": "Secret Header injected invisibly by RapidAPI Studio and Zyla API Hub proxy when calling https://api.apify.com."
    },
    "x-openapi-spec-url": "https://jesleytassili-glitch.github.io/specs_openapi_31/us-osha-workplace-safety-violation-auditor.json",
    "x-openapi-suite-spec-url": "https://jesleytassili-glitch.github.io/b2b-quant-mcp-n8n-suite/specs_openapi_31/us-osha-workplace-safety-violation-auditor.json",
    "x-apis-json-url": "https://jesleytassili-glitch.github.io/apis.json",
    "x-github-release-tag": "v2.2.0"
  },
  "externalDocs": {
    "description": "Official B2B Documentation & Schema Reference for US OSHA Workplace Safety & Violation Compliance Auditor",
    "url": "https://jesleytassili-glitch.github.io/b2b-quant-mcp-n8n-suite/actors/us-osha-workplace-safety-violation-auditor.html"
  },
  "servers": [
    {
      "url": "https://api.apify.com",
      "description": "Primary Apify Cloud Synchronous Execution Cluster (Real HTTP 200/201 POST & GET)"
    },
    {
      "url": "https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items",
      "description": "Direct Apify Actor Synchronous Execution Endpoint (us-osha-workplace-safety-violation-auditor)"
    },
    {
      "url": "https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev",
      "description": "Anti-Bypass Stateless B2B Gateway (RapidAPI & Zyla Hub Proxy)"
    }
  ],
  "tags": [
    {
      "name": "Business",
      "description": "RapidAPI Hub primary category: Business (Zyla Hub: Government & Legal)"
    },
    {
      "name": "osha-violations",
      "description": "B2B SEO Search Tag: osha-violations"
    },
    {
      "name": "workplace-safety",
      "description": "B2B SEO Search Tag: workplace-safety"
    },
    {
      "name": "ehs-compliance",
      "description": "B2B SEO Search Tag: ehs-compliance"
    },
    {
      "name": "industrial-inspections",
      "description": "B2B SEO Search Tag: industrial-inspections"
    },
    {
      "name": "workers-comp-underwriting",
      "description": "B2B SEO Search Tag: workers-comp-underwriting"
    },
    {
      "name": "supply-chain-audit",
      "description": "B2B SEO Search Tag: supply-chain-audit"
    },
    {
      "name": "dol-osha",
      "description": "B2B SEO Search Tag: dol-osha"
    }
  ],
  "security": [
    {
      "ApifyCloudBearerAuth": []
    },
    {
      "RapidAPIProxySecret": []
    },
    {
      "ZylaProxySecret": []
    },
    {
      "RapidAPISubscriberKey": []
    }
  ],
  "paths": {
    "/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run_sync_us_osha_workplace_safety_violation_auditor",
        "summary": "Execute US OSHA Workplace Safety & Violation Compliance Auditor (Apify Cloud Synchronous POST)",
        "description": "Synchronous stateless execution of **US OSHA Workplace Safety & Violation Compliance Auditor**. RapidAPI Studio and Zyla API Hub inject the backend secret header `Authorization: Bearer <APIFY_API_TOKEN>` invisibly to the end user, validate `X-RapidAPI-Proxy-Secret` / `X-Zyla-Proxy-Secret` in constant time (`hmac.compare_digest`), inject quota headers (`X-RateLimit-Remaining`, `X-Engine-Version`), and return deterministic JSON records.",
        "tags": [
          "Business",
          "osha-violations",
          "workplace-safety",
          "ehs-compliance",
          "industrial-inspections",
          "workers-comp-underwriting"
        ],
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "# Primary Synchronous Endpoint: https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\ncurl --request POST \\\n  --url \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\" \\\n  --header \"Content-Type: application/json\" \\\n  --header \"X-RapidAPI-Host: us-osha-workplace-safety-violation-auditor.p.rapidapi.com\" \\\n  --header \"X-RapidAPI-Key: <YOUR_RAPIDAPI_OR_ZYLA_KEY>\" \\\n  --data '{\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5}'"
          },
          {
            "lang": "Python",
            "label": "Python (httpx)",
            "source": "import httpx\n\n# Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nurl = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\"\npayload = {\n    \"companyOrEstablishment\": \"Amazon\",\n    \"stateCode\": \"TX\",\n    \"maxResults\": 5\n}\nheaders = {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\",\n}\n\nwith httpx.Client(timeout=30.0) as client:\n    response = client.post(url, json=payload, headers=headers)\n    response.raise_for_status()\n    print(response.json())\n"
          },
          {
            "lang": "Node.js",
            "label": "Node.js (fetch)",
            "source": "// Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nconst url = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\";\nconst options = {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\"\n  },\n  body: JSON.stringify({\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5})\n};\n\nconst response = await fetch(url, options);\nconst data = await response.json();\nconsole.log(data);\n"
          }
        ],
        "x-snippets": {
          "cURL": "# Primary Synchronous Endpoint: https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\ncurl --request POST \\\n  --url \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\" \\\n  --header \"Content-Type: application/json\" \\\n  --header \"X-RapidAPI-Host: us-osha-workplace-safety-violation-auditor.p.rapidapi.com\" \\\n  --header \"X-RapidAPI-Key: <YOUR_RAPIDAPI_OR_ZYLA_KEY>\" \\\n  --data '{\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5}'",
          "Python": "import httpx\n\n# Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nurl = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\"\npayload = {\n    \"companyOrEstablishment\": \"Amazon\",\n    \"stateCode\": \"TX\",\n    \"maxResults\": 5\n}\nheaders = {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\",\n}\n\nwith httpx.Client(timeout=30.0) as client:\n    response = client.post(url, json=payload, headers=headers)\n    response.raise_for_status()\n    print(response.json())\n",
          "Node.js": "// Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nconst url = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\";\nconst options = {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\"\n  },\n  body: JSON.stringify({\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5})\n};\n\nconst response = await fetch(url, options);\nconst data = await response.json();\nconsole.log(data);\n"
        },
        "x-backend-secret-header": {
          "name": "Authorization",
          "value": "Bearer <APIFY_API_TOKEN>",
          "visibleToSubscriber": false
        },
        "requestBody": {
          "required": true,
          "description": "Structured JSON parameters for `us-osha-workplace-safety-violation-auditor`.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorRequest"
              },
              "example": {
                "companyOrEstablishment": "Amazon",
                "stateCode": "TX",
                "maxResults": 5
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful synchronous execution of `us-osha-workplace-safety-violation-auditor` returning enriched B2B JSON records.",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Remaining requests in the subscriber's monthly plan quota (BASIC=15, PRO=1000, ULTRA=5000, MEGA=25000).",
                "schema": {
                  "type": "integer",
                  "example": 999
                }
              },
              "X-Engine-Version": {
                "description": "Deterministic B2B engine release version.",
                "schema": {
                  "type": "string",
                  "example": "3.0.0"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorResponseEnvelope"
                },
                "example": {
                  "status": "succeeded",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "count": 1,
                  "data": [
                    {
                      "activityNumber": "317019842",
                      "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
                      "siteCity": "Fort Worth",
                      "siteState": "TX",
                      "naicsCode": "493110",
                      "inspectionType": "Complaint",
                      "openDate": "2026-06-14",
                      "totalViolations": 4,
                      "seriousWillfulRepeatCount": 3,
                      "currentPenaltyUsd": 64500,
                      "workplaceRiskScore": 84,
                      "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
                    }
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Synchronous dataset created and returned for `us-osha-workplace-safety-violation-auditor` on Apify Cloud (`HTTP 201`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorResponseEnvelope"
                },
                "example": {
                  "status": "succeeded",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "count": 1,
                  "data": [
                    {
                      "activityNumber": "317019842",
                      "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
                      "siteCity": "Fort Worth",
                      "siteState": "TX",
                      "naicsCode": "493110",
                      "inspectionType": "Complaint",
                      "openDate": "2026-06-14",
                      "totalViolations": 4,
                      "seriousWillfulRepeatCount": 3,
                      "currentPenaltyUsd": 64500,
                      "workplaceRiskScore": 84,
                      "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request — Invalid JSON payload or schema validation error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "error",
                  "code": 400,
                  "message": "Invalid JSON request body."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — Missing or invalid `X-RapidAPI-Proxy-Secret` / `X-Zyla-Proxy-Secret` header (Anti-Bypass Protection).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "forbidden",
                  "code": 403,
                  "message": "Direct access denied. Requests must originate from RapidAPI Hub or Zyla API Hub with a valid Proxy-Secret."
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests — Monthly plan quota exceeded (e.g., BASIC Freemium 15 req/month hard limit).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "quota_exceeded",
                  "code": 429,
                  "message": "Monthly request quota exceeded for BASIC plan (15 req/month hard limit). Upgrade to PRO ($19/mo), ULTRA ($49/mo), or MEGA ($149/mo)."
                }
              }
            }
          }
        }
      }
    },
    "/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor": {
      "get": {
        "operationId": "status_us_osha_workplace_safety_violation_auditor",
        "summary": "Actor Metadata & Live Connectivity Check for US OSHA Workplace Safety & Violation Compliance Auditor",
        "description": "Immediate `HTTP 200` status and metadata health check for `us-osha-workplace-safety-violation-auditor` on RapidAPI Studio and Zyla API Hub (`GET https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor` and `GET /v1/us-osha-workplace-safety-violation-auditor/health`) without starting a container build or run.",
        "tags": [
          "Business"
        ],
        "responses": {
          "200": {
            "description": "Engine online and ready (`HTTP 200 JSON`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "actor": {
                      "type": "string",
                      "example": "us-osha-workplace-safety-violation-auditor"
                    },
                    "engineVersion": {
                      "type": "string",
                      "example": "3.0.0"
                    },
                    "category": {
                      "type": "string",
                      "example": "Business"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": true,
                      "example": {
                        "name": "us-osha-workplace-safety-violation-auditor",
                        "username": "b2b-quant-apis",
                        "isPublic": true
                      }
                    }
                  }
                },
                "example": {
                  "status": "ok",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "category": "Business",
                  "data": {
                    "name": "us-osha-workplace-safety-violation-auditor",
                    "username": "b2b-quant-apis",
                    "isPublic": true
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/us-osha-workplace-safety-violation-auditor": {
      "post": {
        "operationId": "execute_us_osha_workplace_safety_violation_auditor",
        "summary": "Execute US OSHA Workplace Safety & Violation Compliance Auditor",
        "description": "Synchronous stateless execution of **US OSHA Workplace Safety & Violation Compliance Auditor**. RapidAPI Studio and Zyla API Hub inject the backend secret header `Authorization: Bearer <APIFY_API_TOKEN>` invisibly to the end user, validate `X-RapidAPI-Proxy-Secret` / `X-Zyla-Proxy-Secret` in constant time (`hmac.compare_digest`), inject quota headers (`X-RateLimit-Remaining`, `X-Engine-Version`), and return deterministic JSON records.",
        "tags": [
          "Business",
          "osha-violations",
          "workplace-safety",
          "ehs-compliance",
          "industrial-inspections",
          "workers-comp-underwriting"
        ],
        "x-codeSamples": [
          {
            "lang": "cURL",
            "label": "cURL",
            "source": "# Primary Synchronous Endpoint: https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\ncurl --request POST \\\n  --url \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\" \\\n  --header \"Content-Type: application/json\" \\\n  --header \"X-RapidAPI-Host: us-osha-workplace-safety-violation-auditor.p.rapidapi.com\" \\\n  --header \"X-RapidAPI-Key: <YOUR_RAPIDAPI_OR_ZYLA_KEY>\" \\\n  --data '{\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5}'"
          },
          {
            "lang": "Python",
            "label": "Python (httpx)",
            "source": "import httpx\n\n# Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nurl = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\"\npayload = {\n    \"companyOrEstablishment\": \"Amazon\",\n    \"stateCode\": \"TX\",\n    \"maxResults\": 5\n}\nheaders = {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\",\n}\n\nwith httpx.Client(timeout=30.0) as client:\n    response = client.post(url, json=payload, headers=headers)\n    response.raise_for_status()\n    print(response.json())\n"
          },
          {
            "lang": "Node.js",
            "label": "Node.js (fetch)",
            "source": "// Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nconst url = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\";\nconst options = {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\"\n  },\n  body: JSON.stringify({\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5})\n};\n\nconst response = await fetch(url, options);\nconst data = await response.json();\nconsole.log(data);\n"
          }
        ],
        "x-snippets": {
          "cURL": "# Primary Synchronous Endpoint: https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\ncurl --request POST \\\n  --url \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\" \\\n  --header \"Content-Type: application/json\" \\\n  --header \"X-RapidAPI-Host: us-osha-workplace-safety-violation-auditor.p.rapidapi.com\" \\\n  --header \"X-RapidAPI-Key: <YOUR_RAPIDAPI_OR_ZYLA_KEY>\" \\\n  --data '{\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5}'",
          "Python": "import httpx\n\n# Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nurl = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\"\npayload = {\n    \"companyOrEstablishment\": \"Amazon\",\n    \"stateCode\": \"TX\",\n    \"maxResults\": 5\n}\nheaders = {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\",\n}\n\nwith httpx.Client(timeout=30.0) as client:\n    response = client.post(url, json=payload, headers=headers)\n    response.raise_for_status()\n    print(response.json())\n",
          "Node.js": "// Primary Synchronous Endpoint (Gateway Route: https://b2b-quant-rapidapi-gateway.jesleytassili.workers.dev/v1/us-osha-workplace-safety-violation-auditor)\nconst url = \"https://us-osha-workplace-safety-violation-auditor.p.rapidapi.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor/run-sync-get-dataset-items\";\nconst options = {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"X-RapidAPI-Host\": \"us-osha-workplace-safety-violation-auditor.p.rapidapi.com\",\n    \"X-RapidAPI-Key\": \"<YOUR_RAPIDAPI_OR_ZYLA_KEY>\"\n  },\n  body: JSON.stringify({\"companyOrEstablishment\": \"Amazon\", \"stateCode\": \"TX\", \"maxResults\": 5})\n};\n\nconst response = await fetch(url, options);\nconst data = await response.json();\nconsole.log(data);\n"
        },
        "x-backend-secret-header": {
          "name": "Authorization",
          "value": "Bearer <APIFY_API_TOKEN>",
          "visibleToSubscriber": false
        },
        "requestBody": {
          "required": true,
          "description": "Structured JSON parameters for `us-osha-workplace-safety-violation-auditor`.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorRequest"
              },
              "example": {
                "companyOrEstablishment": "Amazon",
                "stateCode": "TX",
                "maxResults": 5
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful synchronous execution of `us-osha-workplace-safety-violation-auditor` returning enriched B2B JSON records.",
            "headers": {
              "X-RateLimit-Remaining": {
                "description": "Remaining requests in the subscriber's monthly plan quota (BASIC=15, PRO=1000, ULTRA=5000, MEGA=25000).",
                "schema": {
                  "type": "integer",
                  "example": 999
                }
              },
              "X-Engine-Version": {
                "description": "Deterministic B2B engine release version.",
                "schema": {
                  "type": "string",
                  "example": "3.0.0"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorResponseEnvelope"
                },
                "example": {
                  "status": "succeeded",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "count": 1,
                  "data": [
                    {
                      "activityNumber": "317019842",
                      "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
                      "siteCity": "Fort Worth",
                      "siteState": "TX",
                      "naicsCode": "493110",
                      "inspectionType": "Complaint",
                      "openDate": "2026-06-14",
                      "totalViolations": 4,
                      "seriousWillfulRepeatCount": 3,
                      "currentPenaltyUsd": 64500,
                      "workplaceRiskScore": 84,
                      "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
                    }
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Synchronous dataset created and returned for `us-osha-workplace-safety-violation-auditor` on Apify Cloud (`HTTP 201`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorResponseEnvelope"
                },
                "example": {
                  "status": "succeeded",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "count": 1,
                  "data": [
                    {
                      "activityNumber": "317019842",
                      "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
                      "siteCity": "Fort Worth",
                      "siteState": "TX",
                      "naicsCode": "493110",
                      "inspectionType": "Complaint",
                      "openDate": "2026-06-14",
                      "totalViolations": 4,
                      "seriousWillfulRepeatCount": 3,
                      "currentPenaltyUsd": 64500,
                      "workplaceRiskScore": 84,
                      "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request — Invalid JSON payload or schema validation error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "error",
                  "code": 400,
                  "message": "Invalid JSON request body."
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — Missing or invalid `X-RapidAPI-Proxy-Secret` / `X-Zyla-Proxy-Secret` header (Anti-Bypass Protection).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "forbidden",
                  "code": 403,
                  "message": "Direct access denied. Requests must originate from RapidAPI Hub or Zyla API Hub with a valid Proxy-Secret."
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests — Monthly plan quota exceeded (e.g., BASIC Freemium 15 req/month hard limit).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "status": "quota_exceeded",
                  "code": 429,
                  "message": "Monthly request quota exceeded for BASIC plan (15 req/month hard limit). Upgrade to PRO ($19/mo), ULTRA ($49/mo), or MEGA ($149/mo)."
                }
              }
            }
          }
        }
      }
    },
    "/v1/us-osha-workplace-safety-violation-auditor/health": {
      "get": {
        "operationId": "health_us_osha_workplace_safety_violation_auditor",
        "summary": "Health & SLA Check for US OSHA Workplace Safety & Violation Compliance Auditor",
        "description": "Immediate `HTTP 200` status and metadata health check for `us-osha-workplace-safety-violation-auditor` on RapidAPI Studio and Zyla API Hub (`GET https://api.apify.com/v2/acts/b2b-quant-apis~us-osha-workplace-safety-violation-auditor` and `GET /v1/us-osha-workplace-safety-violation-auditor/health`) without starting a container build or run.",
        "tags": [
          "Business"
        ],
        "responses": {
          "200": {
            "description": "Engine online and ready (`HTTP 200 JSON`).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "actor": {
                      "type": "string",
                      "example": "us-osha-workplace-safety-violation-auditor"
                    },
                    "engineVersion": {
                      "type": "string",
                      "example": "3.0.0"
                    },
                    "category": {
                      "type": "string",
                      "example": "Business"
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": true,
                      "example": {
                        "name": "us-osha-workplace-safety-violation-auditor",
                        "username": "b2b-quant-apis",
                        "isPublic": true
                      }
                    }
                  }
                },
                "example": {
                  "status": "ok",
                  "actor": "us-osha-workplace-safety-violation-auditor",
                  "engineVersion": "3.0.0",
                  "category": "Business",
                  "data": {
                    "name": "us-osha-workplace-safety-violation-auditor",
                    "username": "b2b-quant-apis",
                    "isPublic": true
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApifyCloudBearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "APIFY_API_TOKEN",
        "description": "Backend Secret Header (`Authorization: Bearer <APIFY_API_TOKEN>`) injected invisibly by RapidAPI Studio and Zyla API Hub proxy when calling https://api.apify.com."
      },
      "RapidAPIProxySecret": {
        "type": "apiKey",
        "in": "header",
        "name": "X-RapidAPI-Proxy-Secret",
        "description": "RapidAPI Hub shared proxy secret verified in constant time via hmac.compare_digest."
      },
      "ZylaProxySecret": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Zyla-Proxy-Secret",
        "description": "Zyla API Hub shared proxy secret verified in constant time via hmac.compare_digest."
      },
      "RapidAPISubscriberKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-RapidAPI-Key",
        "description": "Subscriber API Key injected by RapidAPI Hub or Zyla API Hub."
      }
    },
    "schemas": {
      "UsOshaWorkplaceSafetyViolationAuditorRequest": {
        "type": "object",
        "title": "US OSHA Workplace Safety & Violation Compliance Auditor Request Schema",
        "description": "Configure company/establishment keyword, optional 2-letter U.S. state filter, and maximum OSHA enforcement inspection records to audit.",
        "properties": {
          "companyOrEstablishment": {
            "type": "string",
            "title": "Company or Establishment Name",
            "description": "Employer or establishment keyword (e.g., 'Amazon', 'Tesla', 'Walmart', 'United Parcel Service', 'Tyson').",
            "default": "Amazon",
            "example": "Amazon"
          },
          "stateCode": {
            "type": "string",
            "title": "U.S. State Code (Optional)",
            "description": "Optional 2-letter U.S. state abbreviation (e.g., 'TX', 'CA', 'IL', 'OH', or leave empty for nationwide).",
            "default": "",
            "example": "TX"
          },
          "maxResults": {
            "type": "integer",
            "title": "Maximum Inspections to Audit",
            "description": "Maximum number of OSHA establishment inspection records to extract and score (1 to 100).",
            "default": 15,
            "minimum": 1,
            "maximum": 100,
            "example": 5
          }
        },
        "required": [
          "companyOrEstablishment"
        ],
        "example": {
          "companyOrEstablishment": "Amazon",
          "stateCode": "TX",
          "maxResults": 5
        }
      },
      "UsOshaWorkplaceSafetyViolationAuditorRecord": {
        "type": "object",
        "title": "US OSHA Workplace Safety & Violation Compliance Auditor Output Record",
        "description": "Enriched B2B dataset item returned by `us-osha-workplace-safety-violation-auditor`.",
        "properties": {
          "activityNumber": {
            "type": "string",
            "title": "OSHA Activity Number",
            "description": "Official OSHA inspection activity identifier.",
            "example": "317019842"
          },
          "establishmentName": {
            "type": "string",
            "title": "Establishment Name",
            "description": "Inspected employer or facility name.",
            "example": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7"
          },
          "siteCity": {
            "type": "string",
            "title": "Site City",
            "description": "City where the inspected facility is located.",
            "example": "Fort Worth"
          },
          "siteState": {
            "type": "string",
            "title": "Site State",
            "description": "2-letter U.S. state abbreviation.",
            "example": "TX"
          },
          "naicsCode": {
            "type": "string",
            "title": "NAICS Industry Code",
            "description": "6-digit North American Industry Classification System code.",
            "example": "493110"
          },
          "inspectionType": {
            "type": "string",
            "title": "Inspection Type",
            "description": "Complaint, Referral, Fatality/Catastrophe, or Planned inspection.",
            "example": "Complaint"
          },
          "openDate": {
            "type": "string",
            "title": "Inspection Open Date",
            "description": "ISO date when the OSHA inspection opened.",
            "example": "2026-06-14"
          },
          "totalViolations": {
            "type": "integer",
            "title": "Total Citations",
            "description": "Total number of OSHA standards cited.",
            "example": 4
          },
          "seriousWillfulRepeatCount": {
            "type": "integer",
            "title": "Serious / Willful / Repeat Citations",
            "description": "Count of high-severity (Serious, Willful, or Repeat) citations.",
            "example": 3
          },
          "currentPenaltyUsd": {
            "type": "number",
            "title": "Current Penalty (USD)",
            "description": "Assessed OSHA civil monetary penalty in USD.",
            "example": 64500
          },
          "workplaceRiskScore": {
            "type": "integer",
            "title": "Workplace Safety Risk Score (0-100)",
            "description": "Quantitative EHS and supply-chain underwriting risk score (0-100).",
            "example": 84
          },
          "markdownSafetyBrief": {
            "type": "string",
            "title": "Markdown EHS & Underwriting Audit Brief",
            "description": "Executive Markdown dossier for ESG auditors, insurance underwriters, and M&A due diligence.",
            "example": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
          }
        },
        "example": {
          "activityNumber": "317019842",
          "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
          "siteCity": "Fort Worth",
          "siteState": "TX",
          "naicsCode": "493110",
          "inspectionType": "Complaint",
          "openDate": "2026-06-14",
          "totalViolations": 4,
          "seriousWillfulRepeatCount": 3,
          "currentPenaltyUsd": 64500,
          "workplaceRiskScore": 84,
          "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
        }
      },
      "UsOshaWorkplaceSafetyViolationAuditorResponseEnvelope": {
        "type": "object",
        "title": "US OSHA Workplace Safety & Violation Compliance Auditor Synchronous Response Envelope",
        "required": [
          "status",
          "actor",
          "count",
          "data"
        ],
        "properties": {
          "status": {
            "type": "string",
            "example": "succeeded"
          },
          "actor": {
            "type": "string",
            "example": "us-osha-workplace-safety-violation-auditor"
          },
          "marketplace": {
            "type": "string",
            "example": "rapidapi_zyla_hub"
          },
          "engineVersion": {
            "type": "string",
            "example": "3.0.0"
          },
          "count": {
            "type": "integer",
            "example": 1
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsOshaWorkplaceSafetyViolationAuditorRecord"
            }
          }
        },
        "example": {
          "status": "succeeded",
          "actor": "us-osha-workplace-safety-violation-auditor",
          "engineVersion": "3.0.0",
          "count": 1,
          "data": [
            {
              "activityNumber": "317019842",
              "establishmentName": "AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7",
              "siteCity": "Fort Worth",
              "siteState": "TX",
              "naicsCode": "493110",
              "inspectionType": "Complaint",
              "openDate": "2026-06-14",
              "totalViolations": 4,
              "seriousWillfulRepeatCount": 3,
              "currentPenaltyUsd": 64500,
              "workplaceRiskScore": 84,
              "markdownSafetyBrief": "# US OSHA WORKPLACE SAFETY & COMPLIANCE DOSSIER: 317019842\n\n## 1. Establishment & Inspection Profile\n- **Establishment Name:** **AMAZON.COM SERVICES LLC - FULFILLMENT CENTER DFW7**\n- **Location:** `Fort Worth, TX`\n- **NAICS Industry Code:** `493110`\n- **Inspection Type:** `Complaint`\n- **Inspection Open Date:** `2026-06-14`\n\n## 2. Citations, Penalties & Underwriting Risk\n- **Workplace Safety Risk Score:** **84/100**\n- **Total OSHA Violations Cited:** `4`\n- **Serious / Willful / Repeat Citations:** **`3`**\n- **Assessed Civil Monetary Penalty:** **$64,500.00 USD**"
            }
          ]
        }
      },
      "ErrorResponse": {
        "type": "object",
        "required": [
          "status",
          "code",
          "message"
        ],
        "properties": {
          "status": {
            "type": "string",
            "example": "error"
          },
          "code": {
            "type": "integer",
            "example": 403
          },
          "message": {
            "type": "string",
            "example": "Direct access denied."
          }
        }
      }
    }
  }
}