{
  "openapi": "3.0.1",
  "info": {
    "title": "📰 Press-Release Event Feed — Official Newsroom Watch",
    "description": "One deduped press-release event feed from buyer-supplied official newsroom feeds, with confirmed cross-feed deltas. No licensed wires.",
    "version": "0.1",
    "x-build-id": "G2r26x5x1GLnjonPl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgenwatch~public-press-release-event-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgenwatch-public-press-release-event-feed",
        "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/nexgenwatch~public-press-release-event-feed/runs": {
      "post": {
        "operationId": "runs-sync-nexgenwatch-public-press-release-event-feed",
        "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/nexgenwatch~public-press-release-event-feed/run-sync": {
      "post": {
        "operationId": "run-sync-nexgenwatch-public-press-release-event-feed",
        "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",
        "required": [
          "sources"
        ],
        "properties": {
          "sources": {
            "title": "Official newsroom sources",
            "type": "array",
            "description": "Buyer-supplied public official-newsroom feeds. Each is an exact HTTPS RSS 2.0, Atom, JSON Feed, or same-host newsroom listing URL plus a publisher label. No arbitrary URLs, no licensed press wires, no login/paywall.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "publisher",
                "url"
              ],
              "properties": {
                "publisher": {
                  "type": "string",
                  "title": "Publisher label",
                  "description": "1-160 character label for the publishing organization (display only)."
                },
                "url": {
                  "type": "string",
                  "title": "Feed / listing URL",
                  "description": "Exact public HTTPS feed or newsroom-listing URL. No credentials, IP literal, fragment, or private-network host."
                },
                "format": {
                  "type": "string",
                  "title": "Feed format",
                  "description": "auto detects RSS/Atom/JSON Feed. html_listing requires an ops-approved adapterId.",
                  "enum": [
                    "auto",
                    "rss",
                    "atom",
                    "json_feed",
                    "html_listing"
                  ]
                },
                "adapterId": {
                  "type": "string",
                  "title": "HTML adapter id",
                  "description": "Required only for format=html_listing. Allowlisted build-time adapter (never buyer CSS/XPath/code)."
                },
                "jurisdiction": {
                  "type": "string",
                  "title": "Jurisdiction",
                  "description": "Optional ISO 3166-1 alpha-2 code, or EU / GLOBAL."
                }
              }
            }
          },
          "watchMode": {
            "title": "Watch mode",
            "type": "boolean",
            "description": "Seed a private baseline and emit only confirmed later deltas (new/updated/retracted). The first run emits zero deltas. False emits current snapshot records.",
            "default": true
          },
          "baselineId": {
            "title": "Baseline id",
            "type": "string",
            "description": "Named watch baseline (3-64 chars: letters, digits, _ or -). Changing the canonical input derives a new baseline."
          },
          "includeArticleText": {
            "title": "Include article text",
            "type": "boolean",
            "description": "Fetch at most one same-host public article page per item to capture normalized body_text.",
            "default": false
          },
          "includeUpdates": {
            "title": "Emit updates",
            "type": "boolean",
            "description": "Emit updated_release deltas on material content-hash changes.",
            "default": true
          },
          "detectRetractions": {
            "title": "Detect retractions",
            "type": "boolean",
            "description": "Emit retracted_release only after an article detail returns 404/410 for the configured consecutive confirmations. Feed disappearance alone never retracts.",
            "default": false
          },
          "retractionConfirmations": {
            "title": "Retraction confirmations",
            "minimum": 2,
            "maximum": 3,
            "type": "integer",
            "description": "Consecutive confirmed-gone runs before a release is marked retracted.",
            "default": 2
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Only emit releases published at or after this RFC3339 date-time (filter only)."
          },
          "languageInclude": {
            "title": "Languages to include",
            "type": "array",
            "description": "0-20 BCP-47 language tags. Unknown-language items are retained only when this list is empty.",
            "items": {
              "type": "string"
            }
          },
          "keywordInclude": {
            "title": "Keyword include",
            "type": "array",
            "description": "Keep only releases whose title/summary/body contains one of these terms (Unicode casefold).",
            "items": {
              "type": "string"
            }
          },
          "keywordExclude": {
            "title": "Keyword exclude",
            "type": "array",
            "description": "Drop releases containing any of these terms (exclude wins over include).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum value records/deltas to emit this run (receipts excluded).",
            "default": 1000
          },
          "maxRequests": {
            "title": "Max requests",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard run budget of HTTP attempts.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Global concurrent requests.",
            "default": 6
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}