{
  "openapi": "3.0.1",
  "info": {
    "title": "Congressional Oversight & Investigations Tracker",
    "description": "One feed of congressional oversight activity: hearings and witnesses, committee reports, GAO reports, inspector general reports and executive actions, tagged by agency with keyword watchlists and new-item monitoring. Strictly neutral.",
    "version": "1.0",
    "x-build-id": "i2T69dAAB99dBw2WF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/weirworks~congress-oversight-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-weirworks-congress-oversight-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/weirworks~congress-oversight-tracker/runs": {
      "post": {
        "operationId": "runs-sync-weirworks-congress-oversight-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/weirworks~congress-oversight-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-weirworks-congress-oversight-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": {
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Items published in the last N days (scheduled hearings are always included).",
            "default": 14
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Leave empty for all sources.",
            "items": {
              "type": "string",
              "enum": [
                "govinfo_hearings",
                "govinfo_reports",
                "gao",
                "doj_oig",
                "executive_actions",
                "house_homeland",
                "house_ways_means",
                "house_judiciary",
                "house_judiciary_dems",
                "senate_finance",
                "senate_schedule",
                "congress_meetings"
              ],
              "enumTitles": [
                "Hearing transcripts (GovInfo)",
                "Committee reports (GovInfo)",
                "GAO reports",
                "DOJ Inspector General",
                "Executive orders & presidential documents",
                "House Homeland Security (majority)",
                "House Ways & Means (majority)",
                "House Judiciary (majority)",
                "House Judiciary (minority)",
                "Senate Finance",
                "Senate hearing schedule",
                "Congress.gov committee meetings & witnesses (needs free key)"
              ]
            }
          },
          "watchKeywords": {
            "title": "Watchlist keywords",
            "type": "array",
            "description": "Names of officials, agencies, companies or topics to flag, e.g. <code>subpoena</code>, <code>impeach</code>, <code>Secretary Noem</code>, <code>tariff</code>. Matches appear in <code>matchedKeywords</code>.",
            "items": {
              "type": "string"
            }
          },
          "onlyWatchlistMatches": {
            "title": "Only watchlist matches",
            "type": "boolean",
            "description": "Return only items that match a watchlist keyword.",
            "default": false
          },
          "agencies": {
            "title": "Agencies",
            "type": "array",
            "description": "Only items mentioning these agencies.",
            "items": {
              "type": "string",
              "enum": [
                "DHS",
                "ICE",
                "CBP",
                "DOJ",
                "FBI",
                "DOD",
                "State",
                "Treasury",
                "HHS",
                "Education",
                "VA",
                "EPA",
                "Energy",
                "Commerce",
                "Labor",
                "Interior",
                "Agriculture",
                "Transportation",
                "HUD",
                "SEC",
                "FTC",
                "FCC",
                "Federal Reserve",
                "OPM",
                "USPS",
                "SSA",
                "NASA",
                "GSA",
                "Intelligence",
                "White House"
              ]
            }
          },
          "onlyNewItems": {
            "title": "Only new items (monitoring)",
            "type": "boolean",
            "description": "Skip items returned by earlier runs. Schedule daily for an oversight alert feed.",
            "default": false
          },
          "congressApiKey": {
            "title": "Your own api.data.gov key (optional)",
            "type": "string",
            "description": "Congress.gov committee meetings are included by default. Add your own free key from <a href='https://api.data.gov/signup/'>api.data.gov/signup</a> only if you run this very heavily."
          },
          "maxCommitteeMeetings": {
            "title": "Max committee meetings to check",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Most recently updated meetings are checked first.",
            "default": 150
          },
          "customFeeds": {
            "title": "Extra RSS/Atom feeds",
            "type": "array",
            "description": "Add any other committee, inspector general or agency feeds.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: official public sources.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}