{
  "openapi": "3.0.1",
  "info": {
    "title": "Data Breach Notification Leads (HHS, State AG & SEC 8-K)",
    "description": "Organizations that just reported a data breach to regulators: HHS HIPAA portal, California and Washington Attorney General lists, and SEC 8-K cybersecurity disclosures, merged into one row per organization with people affected, breach type, data exposed, dates and notice links. No API key.",
    "version": "0.1",
    "x-build-id": "Nv7e6vUGW7C6mZ9s4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/intenal_builds~data-breach-notification-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-intenal_builds-data-breach-notification-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/intenal_builds~data-breach-notification-leads/runs": {
      "post": {
        "operationId": "runs-sync-intenal_builds-data-breach-notification-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/intenal_builds~data-breach-notification-leads/run-sync": {
      "post": {
        "operationId": "run-sync-intenal_builds-data-breach-notification-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Official breach notice sources to read. hhs = HHS OCR HIPAA Breach Portal (healthcare, 500+ people, US-wide); ca = California Attorney General list (all industries); wa = Washington Attorney General (500+ WA residents, with data types); sec = SEC 8-K cybersecurity incident filings (public companies, with phone and address).",
            "items": {
              "type": "string",
              "enum": [
                "hhs",
                "ca",
                "wa",
                "sec"
              ],
              "enumTitles": [
                "HHS OCR HIPAA Breach Portal",
                "California Attorney General",
                "Washington Attorney General",
                "SEC 8-K cybersecurity disclosures"
              ]
            },
            "default": [
              "hhs",
              "ca",
              "wa",
              "sec"
            ]
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 730,
            "type": "integer",
            "description": "Notices reported in the last N days (ending today or at End date). HHS and Washington post with a lag of a few weeks, so 30 to 90 days gives the best mix.",
            "default": 30
          },
          "startDate": {
            "title": "Start date (optional)",
            "type": "string",
            "description": "YYYY-MM-DD. Overrides Days back."
          },
          "endDate": {
            "title": "End date (optional)",
            "type": "string",
            "description": "YYYY-MM-DD. Defaults to today."
          },
          "minIndividualsAffected": {
            "title": "Min people affected",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only organizations whose HHS or Washington notice reports at least this many people. California and SEC notices don't publish counts, so they are dropped when this is set above 0."
          },
          "entityStates": {
            "title": "Organization states",
            "type": "array",
            "description": "Two-letter state of the organization (HHS, Washington and SEC give it), e.g. TX, NY. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "industryKeywords": {
            "title": "Industry keywords",
            "type": "array",
            "description": "Keep organizations whose industry contains any of these, e.g. Healthcare Provider, Health Plan, Business Associate, Finance, Education, Retail, Government.",
            "items": {
              "type": "string"
            }
          },
          "breachTypeKeywords": {
            "title": "Breach type keywords",
            "type": "array",
            "description": "Keep organizations whose breach type or cause contains any of these, e.g. hacking, ransomware, malware, phishing, unauthorized, theft, email, network server.",
            "items": {
              "type": "string"
            }
          },
          "organizationKeywords": {
            "title": "Organization name keywords",
            "type": "array",
            "description": "Keep organizations whose name contains any of these, e.g. clinic, dental, bank, school.",
            "items": {
              "type": "string"
            }
          },
          "secItems": {
            "title": "SEC 8-K items",
            "type": "array",
            "description": "Which 8-K items count. 1.05 = material cybersecurity incident (required filing); 8.01 = voluntary cybersecurity disclosure.",
            "items": {
              "type": "string",
              "enum": [
                "1.05",
                "8.01"
              ],
              "enumTitles": [
                "Item 1.05 (material incident)",
                "Item 8.01 (voluntary)"
              ]
            },
            "default": [
              "1.05",
              "8.01"
            ]
          },
          "multiSourceOnly": {
            "title": "Only organizations in 2+ sources",
            "type": "boolean",
            "description": "Keep only organizations that filed with more than one regulator in the window (usually the larger breaches).",
            "default": false
          },
          "maxResults": {
            "title": "Max organizations",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many rows. You pay per row.",
            "default": 200
          },
          "includeNoticeLetters": {
            "title": "Add California notice letter PDFs",
            "type": "boolean",
            "description": "Open each California notice page to add the link to the consumer notice letter PDF (what happened, what data, dates). Slower: one page every 10 seconds, as the site's robots.txt asks.",
            "default": false
          },
          "userAgent": {
            "title": "User-Agent (optional)",
            "type": "string",
            "description": "Override the declared User-Agent sent to the official sources."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}