{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Intelligence Monitor",
    "description": "Monitor companies' public ATS job boards (Greenhouse, Lever, Ashby or any JSON careers endpoint) and turn hiring changes into structured buying-intent signals: new or closed roles, team hiring surges, and tech-stack signals. Daily snapshots delivered to Slack, webhook, email or dataset.",
    "version": "0.7",
    "x-build-id": "D56e9vwUbaEe8Ff0W"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yongpub~hiring-intelligence-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yongpub-hiring-intelligence-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/yongpub~hiring-intelligence-monitor/runs": {
      "post": {
        "operationId": "runs-sync-yongpub-hiring-intelligence-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/yongpub~hiring-intelligence-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-yongpub-hiring-intelligence-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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Target companies",
            "type": "array",
            "description": "The companies whose public job boards you want to monitor. Provide either the ATS identifier (company token) or the full careers/JSON URL. ATS type is auto-detected when possible. Run this Actor on a schedule (e.g. daily) to get signals as changes happen.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "title": "Company name",
                  "description": "Display name used in reports and notifications.",
                  "type": "string"
                },
                "ats_type": {
                  "title": "ATS type",
                  "description": "Which applicant tracking system the company uses. 'auto' tries Greenhouse, Lever and Ashby in order, or you can force 'generic_json' / 'html'.",
                  "type": "string",
                  "enum": [
                    "auto",
                    "greenhouse",
                    "lever",
                    "ashby",
                    "generic_json",
                    "html"
                  ],
                  "default": "auto"
                },
                "ats_id": {
                  "title": "ATS identifier / token",
                  "description": "The company token in the ATS URL. Greenhouse: boards-api.greenhouse.io/v1/boards/{TOKEN}. Lever: api.lever.co/v0/postings/{TOKEN}. Ashby: api.ashbyhq.com/posting-api/job-board/{TOKEN}.",
                  "type": "string"
                },
                "url": {
                  "title": "Full careers or JSON URL",
                  "description": "Alternative to the token: paste the public job-board URL, or any URL that returns job postings as JSON.",
                  "type": "string",
                  "editor": "textfield"
                },
                "enabled": {
                  "title": "Enabled",
                  "description": "Uncheck to temporarily skip this company without deleting it.",
                  "type": "boolean",
                  "default": true
                },
                "jobs_path": {
                  "title": "[generic_json] Path to job list",
                  "description": "Only for generic JSON URLs. Dot-path to the array of jobs, e.g. 'data.jobs'. Auto-detected if omitted.",
                  "type": "string"
                },
                "title_paths": {
                  "title": "[generic_json] Title field paths",
                  "description": "Optional dot-paths to try for the job title.",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "surgeMinCount": {
            "title": "Surge threshold: minimum new roles",
            "minimum": 2,
            "type": "integer",
            "description": "A team is flagged as a HIRING SURGE when it opens at least this many roles in the monitoring window (also subject to the growth-rate condition below).",
            "default": 5
          },
          "surgeGrowthPct": {
            "title": "Surge threshold: minimum growth rate",
            "minimum": 0,
            "type": "number",
            "description": "Relative growth required for a surge, as a fraction of the team's previous open roles (0.5 = 50% growth). Teams with no previous baseline qualify on count alone.",
            "default": 0.5
          },
          "customKeywordTags": {
            "title": "Custom buying-intent keyword tags",
            "type": "object",
            "description": "Add your own signal categories or override built-in ones. Key = tag, value: {label, implied_category, keywords:[...]}. Matched against new roles' titles and descriptions to infer what the company may be shopping for.",
            "default": {}
          },
          "snapshotsStoreName": {
            "title": "Snapshots key-value store name",
            "type": "string",
            "description": "Named Apify key-value store used to persist job snapshots between scheduled runs. Change it only if you need separate baselines.",
            "default": "hiring-intel-snapshots"
          },
          "requestTimeout": {
            "title": "HTTP request timeout (seconds)",
            "minimum": 5,
            "type": "integer",
            "description": "Maximum time to wait for an ATS job board to respond before retrying or failing.",
            "default": 30
          },
          "maxRetries": {
            "title": "HTTP retries",
            "minimum": 1,
            "type": "integer",
            "description": "Number of attempts for rate-limited or failed requests.",
            "default": 3
          },
          "notify": {
            "title": "Notifications",
            "type": "object",
            "description": "Where to send the English hiring signal digest. All channels are optional; results are always available in the run dataset and the REPORT key-value store.",
            "default": {}
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}