{
  "openapi": "3.0.1",
  "info": {
    "title": "Apollo News Signal Monitor",
    "description": "Monitors RSS feeds, blogs, and newsroom pages for company signals, generates outreach context, and pushes review-ready actions into Apollo.",
    "version": "0.1",
    "x-build-id": "txELJoISPEDgBQspJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solutionssmart~apollo-news-signal-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solutionssmart-apollo-news-signal-monitor",
        "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/solutionssmart~apollo-news-signal-monitor/runs": {
      "post": {
        "operationId": "runs-sync-solutionssmart-apollo-news-signal-monitor",
        "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/solutionssmart~apollo-news-signal-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-solutionssmart-apollo-news-signal-monitor",
        "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": "Target companies and sources",
            "minItems": 1,
            "type": "array",
            "description": "Each source can point directly to an RSS feed or to a blog/newsroom page. If only a page URL or domain is supplied, the Actor will try to discover a feed and then fall back to HTML extraction.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "companyName"
              ],
              "properties": {
                "companyName": {
                  "title": "Company name",
                  "type": "string",
                  "editor": "textfield",
                  "minLength": 1,
                  "description": "Display name used throughout output records and notifications."
                },
                "domain": {
                  "title": "Company domain",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Used for feed discovery, article filtering, and Apollo matching."
                },
                "rssUrl": {
                  "title": "RSS or Atom URL",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Direct RSS or Atom feed URL when already known."
                },
                "pageUrl": {
                  "title": "Blog or newsroom URL",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Landing page for feed discovery or HTML article extraction fallback."
                },
                "companyIdOptional": {
                  "title": "Apollo company ID",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Optional direct Apollo company identifier for downstream matching."
                },
                "apolloContactIdOptional": {
                  "title": "Apollo contact ID",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Optional direct Apollo contact identifier for downstream writes."
                },
                "contactEmailOptional": {
                  "title": "Apollo contact email",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Optional contact email used for Apollo lookup or contact creation."
                },
                "contactFirstNameOptional": {
                  "title": "Contact first name",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Optional first name used when creating a contact in Apollo."
                },
                "contactLastNameOptional": {
                  "title": "Contact last name",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Optional last name used when creating a contact in Apollo."
                },
                "topicRules": {
                  "title": "Company-specific topic rules",
                  "type": "object",
                  "description": "Optional per-company keyword overrides layered on top of the global scoring rules.",
                  "additionalProperties": false,
                  "properties": {
                    "includeKeywords": {
                      "title": "Company include keywords",
                      "type": "array",
                      "editor": "stringList",
                      "description": "Keywords that should boost relevance for this company only.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "excludeKeywords": {
                      "title": "Company exclude keywords",
                      "type": "array",
                      "editor": "stringList",
                      "description": "Keywords that should suppress relevance for this company only.",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "includeKeywords": {
            "title": "Global include keywords",
            "type": "array",
            "description": "Keywords that increase relevance across all monitored sources.",
            "items": {
              "type": "string"
            },
            "default": [
              "launch",
              "product",
              "platform",
              "AI",
              "automation",
              "funding"
            ]
          },
          "excludeKeywords": {
            "title": "Global exclude keywords",
            "type": "array",
            "description": "Keywords that suppress low-signal, compliance, or irrelevant posts.",
            "items": {
              "type": "string"
            },
            "default": [
              "privacy policy",
              "terms of service",
              "cookie policy",
              "job board"
            ]
          },
          "minRelevanceScore": {
            "title": "Minimum relevance score",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Signals scoring below this threshold are written as low-signal skips and not actioned.",
            "default": 0.45
          },
          "mode": {
            "title": "Apollo action mode",
            "enum": [
              "detect_only",
              "create_task",
              "enroll_sequence",
              "human_review"
            ],
            "type": "string",
            "description": "Choose whether to detect only, create review tasks, enroll contacts, or keep a human review gate.",
            "default": "detect_only"
          },
          "apolloApiKey": {
            "title": "Apollo API key",
            "type": "string",
            "description": "Secret Apollo API key used for contact updates, task creation, and sequence enrollment."
          },
          "apolloSequenceId": {
            "title": "Apollo sequence ID",
            "type": "string",
            "description": "Required when mode is set to enroll_sequence."
          },
          "apolloCustomFieldMapping": {
            "title": "Apollo custom field mapping",
            "type": "object",
            "description": "Map logical field names to Apollo custom field identifiers or keys.",
            "properties": {
              "latest_signal_title": {
                "title": "Latest signal title field",
                "type": "string",
                "editor": "textfield",
                "description": "Apollo custom field key or identifier that should receive the latest signal title."
              },
              "latest_signal_url": {
                "title": "Latest signal URL field",
                "type": "string",
                "editor": "textfield",
                "description": "Apollo custom field key or identifier that should receive the latest signal URL."
              },
              "latest_signal_date": {
                "title": "Latest signal date field",
                "type": "string",
                "editor": "textfield",
                "description": "Apollo custom field key or identifier that should receive the latest signal publish date."
              },
              "latest_signal_summary": {
                "title": "Latest signal summary field",
                "type": "string",
                "editor": "textfield",
                "description": "Apollo custom field key or identifier that should receive the generated signal summary."
              },
              "latest_signal_icebreaker": {
                "title": "Latest signal icebreaker field",
                "type": "string",
                "editor": "textfield",
                "description": "Apollo custom field key or identifier that should receive the primary icebreaker."
              }
            },
            "additionalProperties": false
          },
          "useAI": {
            "title": "Use AI personalization",
            "type": "boolean",
            "description": "Enable LLM-based personalization instead of deterministic templates.",
            "default": false
          },
          "llmProvider": {
            "title": "LLM provider",
            "type": "string",
            "description": "Only used when AI personalization is enabled."
          },
          "llmApiKey": {
            "title": "LLM API key",
            "type": "string",
            "description": "Secret provider API key for optional AI-generated personalization."
          },
          "maxItemsPerRun": {
            "title": "Maximum items per run",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Global cap on how many candidate signals the Actor will process in a single run.",
            "default": 25
          },
          "webhookUrl": {
            "title": "Generic webhook URL",
            "type": "string",
            "description": "Optional generic webhook that receives a JSON review payload in human_review mode."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Optional Slack webhook used to send a concise review brief."
          },
          "dedupeWindowDays": {
            "title": "Dedupe window in days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of days processed signal fingerprints stay in state before they are pruned.",
            "default": 30
          },
          "fetchFullArticle": {
            "title": "Fetch full article content",
            "type": "boolean",
            "description": "When enabled, fetch each detected article URL to improve summary quality and scoring context.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}