{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Signals Monitor: Roles Opened & Closed",
    "description": "Weekly hiring snapshot per company from Greenhouse, Lever, Ashby, Recruitee and Personio boards: roles opened and closed since last run, velocity, team and location mix, pay ranges and rule-based signals such as surges and new teams.",
    "version": "1.0",
    "x-build-id": "Be6jTLFG5rqeCSbPE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/saiberops~hiring-signals-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-saiberops-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/saiberops~hiring-signals-monitor/runs": {
      "post": {
        "operationId": "runs-sync-saiberops-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/saiberops~hiring-signals-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-saiberops-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 (board URLs, ats:token or careers pages)",
            "type": "array",
            "description": "One per line: job-board URLs (boards.greenhouse.io/stripe, jobs.lever.co/spotify, jobs.ashbyhq.com/ramp, acme.recruitee.com, acme.jobs.personio.de), shorthands such as greenhouse:stripe, or a careers-page URL (the ATS is detected from the page). Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "stateKey": {
            "title": "Watchlist name",
            "type": "string",
            "description": "Each watchlist keeps its own memory of previous runs, so one account can track several lists (for example clients-a, competitors). Letters, numbers, - and _. Left at \"default\", a run from a saved task uses its own memory (task-<task ID>).",
            "default": "default"
          },
          "emitChangeEvents": {
            "title": "Also output one row per opened, closed or changed role",
            "type": "boolean",
            "description": "Adds change-event rows (charged per row) next to the company snapshots. Not produced on a company's first (baseline) run.",
            "default": false
          },
          "includeRoleLists": {
            "title": "List opened, closed and changed roles inside each snapshot",
            "type": "boolean",
            "description": "Up to 100 roles per list, with title, department, location, workplace type, URL and posted date. Free.",
            "default": true
          },
          "velocityWindowDays": {
            "title": "Velocity window (days)",
            "minimum": 7,
            "maximum": 90,
            "type": "integer",
            "description": "Window for 'opened/closed in the last N days' and the per-week rates.",
            "default": 30
          },
          "trackContentChanges": {
            "title": "Detect edited roles",
            "type": "boolean",
            "description": "Reports roles whose title, location, department, employment type, workplace type or pay changed.",
            "default": true
          },
          "resetState": {
            "title": "Start over for this watchlist",
            "type": "boolean",
            "description": "Ignore what earlier runs saved for these companies and record a new baseline.",
            "default": false
          },
          "maxJobsPerCompany": {
            "title": "Max jobs read per company",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Safety cap. If a board has more open roles than this, closures are not reported for it that run (the snapshot says truncated).",
            "default": 5000
          },
          "autoDetect": {
            "title": "Detect the ATS from careers pages",
            "type": "boolean",
            "description": "For URLs that aren't job-board URLs, read the page once (respecting robots.txt) and look for an embedded or linked supported board. A successful detection is charged once; later runs use a 30-day cache for free.",
            "default": true
          },
          "probeGuessedTokens": {
            "title": "Guess the board name if detection finds nothing",
            "type": "boolean",
            "description": "Try the domain name (acme for acme.com) as a board name on Greenhouse, Lever and Ashby. Can match an unrelated company with the same name.",
            "default": false
          },
          "respectRobots": {
            "title": "Respect robots.txt on careers pages",
            "type": "boolean",
            "description": "On by default. Turn off only for careers pages you own. Job-board API hosts always follow robots.txt.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}