{
  "openapi": "3.0.1",
  "info": {
    "title": "ATS Hiring Changes by Company",
    "description": "Monitor company hiring on Greenhouse, Lever, Ashby and Workable, or discover jobs through Himalayas, Arbeitnow and Jobicy. Поиск вакансий, история изменений и отчёты RU/EN.",
    "version": "0.1",
    "x-build-id": "lQZ8Xt8HZBAsnzgFm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/isolovyev~ats-hiring-changes-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-isolovyev-ats-hiring-changes-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/isolovyev~ats-hiring-changes-monitor/runs": {
      "post": {
        "operationId": "runs-sync-isolovyev-ats-hiring-changes-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/isolovyev~ats-hiring-changes-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-isolovyev-ats-hiring-changes-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",
        "properties": {
          "companyBoards": {
            "title": "Company job boards",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "One exact Greenhouse, Lever, Ashby, or Workable board URL per line. Optional format: Company name | URL.",
            "items": {
              "type": "string"
            }
          },
          "watchId": {
            "title": "Watch ID",
            "minLength": 1,
            "maxLength": 120,
            "type": "string",
            "description": "Required in monitor and snapshot modes. A stable ID for this client or campaign. State is isolated by the starting Apify user and this value. Discover mode uses searchId instead and ignores watchId.",
            "default": "agency-demo"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "monitor",
              "snapshot",
              "discover"
            ],
            "type": "string",
            "description": "Monitor changes against prior complete checks, return a current snapshot without history, or scan bounded public discovery feeds. companyBoards is required only for monitor and snapshot.",
            "default": "monitor"
          },
          "emitInitialSnapshot": {
            "title": "Return current jobs on the first monitor run",
            "type": "boolean",
            "description": "Emit current job records while establishing a new monitor baseline.",
            "default": true
          },
          "includeDescriptions": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Adds normalized public description text to job records.",
            "default": false
          },
          "maxJobsPerCompany": {
            "title": "Maximum jobs per company",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop collecting a company after this many jobs and mark its coverage partial.",
            "default": 1000
          },
          "maxTotalJobs": {
            "title": "Maximum jobs per run",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Stop fetching later company batches when the run reaches this job budget.",
            "default": 10000
          },
          "maxResponseBytes": {
            "title": "Maximum response bytes per company",
            "minimum": 1000000,
            "maximum": 25000000,
            "type": "integer",
            "description": "Reject larger source responses and keep prior history without closures.",
            "default": 12000000
          },
          "maxTotalResponseBytes": {
            "title": "Maximum response bytes per run",
            "minimum": 5000000,
            "maximum": 250000000,
            "type": "integer",
            "description": "Stop fetching later company batches when the run reaches this response budget.",
            "default": 100000000
          },
          "maxDescriptionChars": {
            "title": "Maximum description characters per job",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Trim emitted descriptions to this length when descriptions are enabled.",
            "default": 20000
          },
          "requestTimeoutSeconds": {
            "title": "Request timeout seconds",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum time allowed for each public ATS request.",
            "default": 20
          },
          "concurrency": {
            "title": "Concurrent company checks",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of company boards fetched in parallel, from 1 to 8.",
            "default": 8
          },
          "discoverySources": {
            "title": "Discovery sources",
            "minItems": 1,
            "maxItems": 3,
            "uniqueItems": true,
            "type": "array",
            "description": "Public feeds used only in discover mode. Himalayas is opt-in. Defaults are Arbeitnow and Jobicy.",
            "items": {
              "type": "string",
              "enum": [
                "arbeitnow",
                "jobicy",
                "himalayas"
              ],
              "enumTitles": [
                "Arbeitnow",
                "Jobicy",
                "Himalayas"
              ]
            },
            "default": [
              "arbeitnow",
              "jobicy"
            ]
          },
          "searchId": {
            "title": "Discovery search ID",
            "minLength": 1,
            "maxLength": 120,
            "type": "string",
            "description": "Required in discover mode. A stable name for one search; history is isolated by the starting Apify user, this value and the scan configuration fingerprint."
          },
          "visaSponsorshipOnly": {
            "title": "Visa sponsorship only",
            "type": "boolean",
            "description": "Discover mode only. Requests the provider's explicit visa-sponsorship filter when that source supports it. Defaults to false; an unknown visa status is never presented as confirmed.",
            "default": false
          },
          "includeReport": {
            "title": "Include HTML report",
            "type": "boolean",
            "description": "Discover mode only. Writes REPORT.html to the default key-value store, built from the final emitted records and summary. Legacy output is unchanged when this option is false.",
            "default": false
          },
          "reportLanguage": {
            "title": "Report language",
            "enum": [
              "en",
              "ru"
            ],
            "type": "string",
            "description": "Discover mode only. Language of REPORT.html. Use en for English or ru for Russian.",
            "default": "en"
          },
          "outputFilters": {
            "title": "Output filters",
            "type": "object",
            "description": "Optional filters applied to emitted job rows only. They never change source fetching, monitoring history, company checks or billing.",
            "properties": {
              "includeKeywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "minItems": 1,
                "title": "Include keywords",
                "description": "Include jobs matching at least one keyword.",
                "editor": "stringList",
                "maxItems": 50
              },
              "excludeKeywords": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "minItems": 1,
                "title": "Exclude keywords",
                "description": "Exclude jobs matching any of these keywords.",
                "editor": "stringList",
                "maxItems": 50
              },
              "candidateCountries": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "minItems": 1,
                "title": "Candidate countries",
                "description": "Match explicit eligible countries or worldwide jobs. Remote alone does not imply worldwide.",
                "editor": "stringList",
                "maxItems": 50
              },
              "roleFamilies": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "minItems": 1,
                "title": "Role families",
                "description": "Match role families against the supplied job text.",
                "editor": "stringList",
                "maxItems": 50
              },
              "remoteOnly": {
                "type": "boolean",
                "title": "Remote only",
                "description": "Include only jobs explicitly marked remote.",
                "editor": "checkbox"
              },
              "includeUnknownEligibility": {
                "type": "boolean",
                "title": "Include unknown eligibility",
                "description": "Allow jobs whose country eligibility is not stated.",
                "editor": "checkbox"
              },
              "minSalary": {
                "type": "number",
                "minimum": 0,
                "title": "Minimum salary",
                "description": "Discover mode only: compare the available salary range with this threshold in the selected currency and period. Legacy monitor and snapshot runs reject this key.",
                "editor": "number"
              },
              "salaryCurrency": {
                "type": "string",
                "minLength": 1,
                "title": "Salary currency",
                "description": "Discover mode only: currency used for the salary comparison, for example USD or EUR. Legacy monitor and snapshot runs reject this key.",
                "editor": "textfield"
              },
              "salaryPeriod": {
                "type": "string",
                "minLength": 1,
                "description": "Discover mode only: compare only jobs with a compatible stated period, for example year, month or hour. Legacy monitor and snapshot runs reject this key.",
                "title": "Salary period",
                "editor": "textfield"
              }
            },
            "additionalProperties": false
          },
          "maxDiscoveryPages": {
            "title": "maxDiscoveryPages",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Maximum pages per discovery source. Default one page.",
            "default": 1
          },
          "maxDiscoveryJobs": {
            "title": "maxDiscoveryJobs",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum discovery job records emitted after filters.",
            "default": 10
          },
          "maxDiscoveryRequests": {
            "title": "maxDiscoveryRequests",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Maximum HTTP requests across all discovery sources in one run.",
            "default": 6
          },
          "discoveryPageSize": {
            "title": "discoveryPageSize",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Provider page size for Jobicy and Himalayas, derived from useful result size. 1-100; Arbeitnow uses its own page size.",
            "default": 100
          },
          "maxDiscoveryStateJobs": {
            "title": "maxDiscoveryStateJobs",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Keep up to 1000 detailed job records. Older details rotate to compact history markers, retained for 180 days with a hard maximum of 20000 markers. Pending events are retained. Capacity limits stop history advancement without discarding saved events.",
            "default": 1000
          },
          "maxDiscoveryResponseBytes": {
            "title": "maxDiscoveryResponseBytes",
            "minimum": 100000,
            "maximum": 5000000,
            "type": "integer",
            "description": "Maximum decoded bytes for one discovery response.",
            "default": 5000000
          },
          "maxDiscoveryTotalResponseBytes": {
            "title": "maxDiscoveryTotalResponseBytes",
            "minimum": 200000,
            "maximum": 12000000,
            "type": "integer",
            "description": "Maximum decoded bytes across one discovery run.",
            "default": 6000000
          },
          "maxDiscoveryRunSeconds": {
            "title": "maxDiscoveryRunSeconds",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Time limit for collecting job data. Saving history and preparing the report have a separate completion reserve.",
            "default": 60
          },
          "himalayasQuery": {
            "title": "Himalayas search keywords",
            "maxLength": 120,
            "type": "string",
            "description": "Search Himalayas for a role or skill, such as Python engineer. Output filters refine the returned jobs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}