{
  "openapi": "3.0.1",
  "info": {
    "title": "Job Change Tracker — Contacts Who Moved to a New Company",
    "description": "Your contacts (name + last-known company) in, job changes out: who moved, new company, title, evidence URL, new domain and a pattern-matched, MX-checked work e-mail. Confirmed by the company site or two sources; per-watch memory reports each move once. No login, dataset-only, MCP-ready.",
    "version": "0.1",
    "x-build-id": "zs5Bk0qaUTOWrmqb1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/inovaflow~job-change-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-inovaflow-job-change-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/inovaflow~job-change-tracker/runs": {
      "post": {
        "operationId": "runs-sync-inovaflow-job-change-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/inovaflow~job-change-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-inovaflow-job-change-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",
        "required": [
          "contacts"
        ],
        "properties": {
          "contacts": {
            "title": "Contacts to check",
            "type": "array",
            "description": "One object per contact: `name` and `company` (the last-known employer) are required; `title`, `email` and `linkedinUrl` help disambiguate common names. Plain lines like `Jane Doe, Acme, VP Sales` work too."
          },
          "onlyChanged": {
            "title": "Deliver only contacts who moved",
            "type": "boolean",
            "description": "When on, contacts still at their company (and contacts not found) are checked but not delivered or charged — the dataset holds only confirmed moves.",
            "default": false
          },
          "daysBack": {
            "title": "Announcements no older than (days)",
            "minimum": 30,
            "maximum": 3650,
            "type": "integer",
            "description": "Press announcements dated earlier than this are ignored as evidence (the person may have moved again since). Profile headlines are always current.",
            "default": 365
          },
          "confirmOnTeamPage": {
            "title": "Confirm on the new company's website",
            "type": "boolean",
            "description": "Reads the candidate company's home / team / leadership pages. A person listed there is authoritative evidence of the move (and often gives the exact title).",
            "default": true
          },
          "findEmails": {
            "title": "Guess the new work e-mail",
            "type": "boolean",
            "description": "For contacts who moved: resolves the new company's domain and builds the most likely address (first.last@, first@, flast@ …), using the domain's own pattern when it is visible on the site.",
            "default": true
          },
          "verifyEmails": {
            "title": "Verify e-mails (MX + mailbox)",
            "type": "boolean",
            "description": "Checks the domain's mail server (MX) and, where outbound port 25 is available, the mailbox itself (SMTP). Otherwise addresses are verified down to the mail server only (`mx-only`).",
            "default": true
          },
          "watchId": {
            "title": "Watch id (memory across runs)",
            "type": "string",
            "description": "Give the same id on every scheduled run of the same list and each move is reported — and charged — only once: contacts already reported as moved are skipped, unchanged contacts are re-checked. Leave empty for a one-off run."
          },
          "maxContacts": {
            "title": "Max contacts to check",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap for this run (the first N contacts of the list).",
            "default": 5000
          },
          "maxSearchesPerContact": {
            "title": "Max searches per contact",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Search queries spent per contact: the profile search, then a press / company search when the profile points somewhere new or was not found. 3 is enough for almost everyone; lower it to save cost on very large lists.",
            "default": 3
          },
          "searchEngine": {
            "title": "Search engine",
            "enum": [
              "auto",
              "yahoo",
              "bing",
              "google",
              "duckduckgo"
            ],
            "type": "string",
            "description": "`auto` tries Yahoo and Bing (no per-query fee) before the Google SERP proxy (paid per page). Pick one engine only to force it.",
            "default": "auto"
          },
          "language": {
            "title": "Search language",
            "type": "string",
            "description": "Two-letter language for the search results (`en`, `de`, `fr` …).",
            "default": "en"
          },
          "countryCode": {
            "title": "Search country",
            "type": "string",
            "description": "Two-letter country for the search results (`us`, `gb`, `de` …).",
            "default": "us"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Contacts checked in parallel.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Searches and website reads go through the run's own connection first and fall back to this proxy when a site challenges them. Residential is the default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}