{
  "openapi": "3.0.1",
  "info": {
    "title": "SignalReach — Account Signal Checker & Outreach for Outbound",
    "description": "Qualify your account list by buying signals, then draft the outreach. Give it a list and plain-English conditions (breach, product launch, hiring, new office); it tries web search first and escalates to the best Apify Store actor when needed — a cited yes/no per account plus a tailored message.",
    "version": "0.1",
    "x-build-id": "RihBOusiVbtMbHZIy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/napping_grebe~list-check-ai/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-napping_grebe-list-check-ai",
        "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/napping_grebe~list-check-ai/runs": {
      "post": {
        "operationId": "runs-sync-napping_grebe-list-check-ai",
        "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/napping_grebe~list-check-ai/run-sync": {
      "post": {
        "operationId": "run-sync-napping_grebe-list-check-ai",
        "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": [
          "items",
          "conditions"
        ],
        "properties": {
          "items": {
            "title": "Your list",
            "type": "array",
            "description": "One item per line — companies, domains, people, products… anything. The conditions are checked for each.",
            "items": {
              "type": "string"
            }
          },
          "conditions": {
            "title": "Conditions to check",
            "type": "array",
            "description": "One plain-English statement per line. Each is evaluated as yes / no / unclear for every item, e.g. 'Had a security incident or data breach in the last 2 years'.",
            "items": {
              "type": "string"
            }
          },
          "itemType": {
            "title": "What are the items?",
            "enum": [
              "company",
              "person",
              "product",
              "domain",
              "other"
            ],
            "type": "string",
            "description": "A hint that helps route and judge (company, person, product, domain, or other).",
            "default": "company"
          },
          "openRouterApiKey": {
            "title": "OpenRouter API key (optional — advanced)",
            "type": "string",
            "description": "Leave blank — the AI is included and billed through Apify (pay-per-result). Provide your own OpenRouter key only if you'd rather run the AI on your own account. Stored securely, never logged."
          },
          "llmModel": {
            "title": "AI model (advanced)",
            "enum": [
              "openai/gpt-4o-mini",
              "anthropic/claude-3.5-haiku",
              "meta-llama/llama-3.1-8b-instruct",
              "google/gemini-2.0-flash-001"
            ],
            "type": "string",
            "description": "Which model the AI uses. The default is a small, cheap model and is plenty for most runs.",
            "default": "openai/gpt-4o-mini"
          },
          "evidencePerCheck": {
            "title": "Evidence items per check",
            "minimum": 3,
            "maximum": 12,
            "type": "integer",
            "description": "How many search/news results to gather before judging each condition. More is thorough but costs more.",
            "default": 6
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Cap on how many list items to process.",
            "default": 50
          },
          "concurrency": {
            "title": "Items in parallel",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many items to process at once.",
            "default": 4
          },
          "dynamicActors": {
            "title": "Escalate to Store actors on unclear",
            "type": "boolean",
            "description": "When web search can't settle a check, the AI finds and runs the best Apify Store actor for it (e.g. a reviews or breach database). Turn off to use web search only (cheapest).",
            "default": true
          },
          "maxCostUsd": {
            "title": "Max sub-actor spend (USD)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "A safety cap on the total cost of the data-source actors this run triggers. It stops running more once reached (remaining cells are marked skipped). Also capped by your platform spending limit.",
            "default": 5
          },
          "outreachBrief": {
            "title": "Outreach brief (why + what you offer)",
            "type": "string",
            "description": "Optional. Why you are running this and what you offer. When set, the actor drafts a ready outreach message per item, personalized from its true findings. E.g. \"Sales outreach for our incident-response platform — we help teams recover faster after security issues.\""
          },
          "channel": {
            "title": "Message channel",
            "enum": [
              "email",
              "linkedin",
              "note"
            ],
            "type": "string",
            "description": "Format of the drafted message.",
            "default": "email"
          },
          "senderName": {
            "title": "Your name (sign-off)",
            "type": "string",
            "description": "Optional. Signs off the drafted message. The recipient is left as a {first_name} merge field."
          },
          "draftMessages": {
            "title": "Draft outreach messages",
            "type": "boolean",
            "description": "Draft a message per item from its findings (only when an outreach brief is given).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy for data-source actors",
            "type": "object",
            "description": "Proxy to pass to any sub-actor that supports one. Datacenter (default) is cheap; switch on Residential only if a source keeps getting blocked — it is billed per GB and far more expensive. The AI never enables Residential on its own; it uses what you set here.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}