{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Signals Monitor | Greenhouse, Lever, Ashby Job Events",
    "description": "Job events (opened, updated, closed, reopened) with stable IDs plus a company hiring summary from public Greenhouse, Lever and Ashby boards. No login. Pay per company monitored and per event.",
    "version": "0.0",
    "x-build-id": "qVpdF8Xnbpn9q4sP2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kesar_chen~hiring-signals-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kesar_chen-hiring-signals-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/kesar_chen~hiring-signals-monitor/runs": {
      "post": {
        "operationId": "runs-sync-kesar_chen-hiring-signals-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/kesar_chen~hiring-signals-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-kesar_chen-hiring-signals-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": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "One per line: a company domain (stripe.com), a job board URL (https://job-boards.greenhouse.io/stripe, https://jobs.lever.co/spotify, https://jobs.ashbyhq.com/ramp, https://bunq.recruitee.com, https://apply.workable.com/epignosis, https://career.teamtailor.com, https://jobs.gem.com/gem, https://personio.jobs.personio.de), or <system>:<slug> such as greenhouse:stripe, lever:spotify, ashby:ramp, recruitee:bunq, workable:epignosis, teamtailor:career.teamtailor.com, gem:gem, personio:personio. Domains are resolved to a board via the careers page.",
            "items": {
              "type": "string"
            }
          },
          "resolveUnknown": {
            "title": "Resolve domains to boards",
            "type": "boolean",
            "description": "For plain domains, look for a Greenhouse, Lever, Ashby, Recruitee, Workable, Teamtailor, Gem or Personio board on the careers page; a same-name board is used only if it provably belongs to the domain. Off = only board URLs and system:slug inputs are monitored; plain domains are skipped.",
            "default": true
          },
          "emitSnapshotRows": {
            "title": "Write current jobs on first run",
            "type": "boolean",
            "description": "On a board's first run, write one row per currently open job (type = job) so you have a baseline. Later runs write events only. Charged per job row.",
            "default": true
          },
          "includeDescription": {
            "title": "Include job description text",
            "type": "boolean",
            "description": "Off by default: rows carry derived fields (salary, seniority, function) and the original URL, not the full posting text.",
            "default": false
          },
          "maxJobsPerBoard": {
            "title": "Max jobs per board",
            "minimum": 0,
            "type": "integer",
            "description": "0 = all. Large boards (OpenAI ~800, Stripe ~700) are fine; this is a safety cap.",
            "default": 0
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that keeps each board's snapshot, sequence number and the domain→board mapping. Named stores never expire. Use one store per monitoring list.",
            "default": "hiring-signals-state"
          },
          "notifyWebhookUrl": {
            "title": "Notify: webhook URL",
            "type": "string",
            "description": "Slack incoming webhook, Discord channel webhook, Feishu/Lark custom bot, or any HTTPS endpoint. After the run, one message per company that had matching events. No extra charge."
          },
          "notifyEvents": {
            "title": "Notify: event types",
            "type": "array",
            "description": "Which event types to post.",
            "items": {
              "type": "string",
              "enum": [
                "opened",
                "updated",
                "closed",
                "reopened",
                "board_unreachable"
              ],
              "enumTitles": [
                "Opened",
                "Updated",
                "Closed",
                "Reopened",
                "Board unreachable"
              ]
            },
            "default": [
              "opened",
              "closed",
              "reopened"
            ]
          },
          "notifyFunctions": {
            "title": "Notify: only these functions",
            "type": "array",
            "description": "Limit alerts to job functions: engineering, sales, marketing, customer, people, finance, legal, product, design, data, security, infrastructure, operations. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "notifyMinNet7dDrop": {
            "title": "Notify: 7-day net drop threshold",
            "minimum": 0,
            "type": "integer",
            "description": "Also post when a company's open jobs fell by at least this many over 7 days (hiring freeze signal). 0 = off.",
            "default": 0
          },
          "notifyMaxItems": {
            "title": "Notify: max events per message",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "The rest are summarised as a count; all of them are in the dataset.",
            "default": 15
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "monitor",
              "probe",
              "canary"
            ],
            "type": "string",
            "description": "Leave on monitor.",
            "default": "monitor"
          },
          "boards": {
            "title": "Probe: boards",
            "type": "array",
            "description": "ats:slug entries to hit in probe mode.",
            "default": [
              "greenhouse:stripe",
              "lever:spotify",
              "ashby:ramp"
            ],
            "items": {
              "type": "string"
            }
          },
          "burst": {
            "title": "Probe: burst size",
            "minimum": 1,
            "type": "integer",
            "description": "Concurrent requests fired at once per board.",
            "default": 30
          },
          "sustainedRps": {
            "title": "Probe: sustained requests per second",
            "minimum": 1,
            "type": "integer",
            "description": "Requests per second during the sustained phase.",
            "default": 5
          },
          "sustainedSeconds": {
            "title": "Probe: sustained seconds",
            "minimum": 1,
            "type": "integer",
            "description": "How long the sustained phase runs.",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}