{
  "openapi": "3.0.1",
  "info": {
    "title": "Utility Commission Filings Tracker (22 States) + AI Summaries",
    "description": "Returns new utility commission (PUC/PSC) docket filings from 22 US states in one schema: docket, filer, date, PDF link and topic tags for data centers and large loads, rate cases, interconnection, IRPs and tariffs. Optional AI summaries with MW, dollars and deadlines. No API key or login needed.",
    "version": "0.1",
    "x-build-id": "Z78AHSQVUNyOmQDnY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wickedome~puc-filings-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wickedome-puc-filings-tracker",
        "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/wickedome~puc-filings-tracker/runs": {
      "post": {
        "operationId": "runs-sync-wickedome-puc-filings-tracker",
        "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/wickedome~puc-filings-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-wickedome-puc-filings-tracker",
        "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": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "Which state utility commissions to pull (22 supported). Leave all selected for a national feed, or pick the states you cover.",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "AZ",
                "CA",
                "CO",
                "FL",
                "GA",
                "KY",
                "LA",
                "MD",
                "MI",
                "MO",
                "NV",
                "NY",
                "OH",
                "OK",
                "OR",
                "PA",
                "SC",
                "TX",
                "UT",
                "VA",
                "WA"
              ],
              "enumTitles": [
                "Alabama (PSC)",
                "Arizona (ACC)",
                "California (CPUC)",
                "Colorado (PUC)",
                "Florida (PSC)",
                "Georgia (PSC)",
                "Kentucky (PSC)",
                "Louisiana (LPSC)",
                "Maryland (PSC)",
                "Michigan (MPSC)",
                "Missouri (PSC)",
                "Nevada (PUCN)",
                "New York (PSC)",
                "Ohio (PUCO)",
                "Oklahoma (OCC)",
                "Oregon (PUC)",
                "Pennsylvania (PUC)",
                "South Carolina (PSC)",
                "Texas (PUCT)",
                "Utah (PSC)",
                "Virginia (SCC)",
                "Washington (UTC)"
              ]
            },
            "default": [
              "AL",
              "AZ",
              "CA",
              "CO",
              "FL",
              "GA",
              "KY",
              "LA",
              "MD",
              "MI",
              "MO",
              "NV",
              "NY",
              "OH",
              "OK",
              "OR",
              "PA",
              "SC",
              "TX",
              "UT",
              "VA",
              "WA"
            ]
          },
          "lookbackDays": {
            "title": "Lookback days",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "How many days back from today to fetch (including today). Ignored if Date from is set. For a daily schedule use 2-3 together with 'Only new filings'.",
            "default": 3
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Optional start date (YYYY-MM-DD), up to 2 years back. Ranges longer than 31 days are read a month at a time, newest month first, so Max filings stops a backfill at the most recent history."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Optional end date (YYYY-MM-DD). Defaults to today."
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Keep only filings tagged with at least one of these topics. Leave empty to return every filing (each still gets tagged).",
            "items": {
              "type": "string",
              "enum": [
                "data_center_large_load",
                "rate_case",
                "generation_interconnection",
                "resource_planning_and_transmission",
                "tariff"
              ],
              "enumTitles": [
                "Data centers / large loads / crypto",
                "Rate cases",
                "Generation & interconnection (solar, wind, storage)",
                "Resource plans, CCNs, transmission & substations",
                "Tariffs & riders"
              ]
            },
            "default": []
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Optional industry filter (substring match), e.g. electric, gas, water, telecom.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional extra keywords (case-insensitive, any match) searched in the document title, docket title, filer and company. Example: Oncor, Dominion, battery.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludePublicComments": {
            "title": "Exclude mass public comments",
            "type": "boolean",
            "description": "Drop bulk consumer/public comment memoranda (often hundreds per day in big cases). Party comments in rulemakings are kept.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new filings (monitoring mode)",
            "type": "boolean",
            "description": "Remember filings already returned and skip them in later runs. Use with a daily schedule to get just the new filings.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Name for the 'only new' memory, so different schedules (e.g. one per topic) don't share it.",
            "default": "default"
          },
          "maxItems": {
            "title": "Max filings",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum filings to return (newest first). You are charged per filing returned. All 22 states together produce roughly 700 filings per business day, so raise this for a full national feed or a backfill. For long backfills also raise the run timeout (Run options).",
            "default": 200
          },
          "aiSummaries": {
            "title": "AI summaries (reads the PDF)",
            "type": "boolean",
            "description": "Download each filing's PDF and add an AI summary: plain-English gist, purpose, key facts, dollar amounts, MW/load figures, deadlines and a data-center flag. Charged per successful summary on top of the per-filing price.",
            "default": false
          },
          "maxSummaries": {
            "title": "Max AI summaries",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Write at most this many AI summaries (newest filings first). Filings that can't be summarized, such as Maryland and Ohio documents or scanned PDFs, don't count. The rest are returned without a summary.",
            "default": 50
          },
          "sendDiagnostics": {
            "title": "Send anonymous diagnostics",
            "type": "boolean",
            "description": "Send the Actor's author a short anonymous record of each run: status, duration, row count, error message, and which options were used (never their values). This helps find and fix failures. See Diagnostics in the README.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}