{
  "openapi": "3.0.1",
  "info": {
    "title": "Multi-ATS Jobs Scraper & Hiring Signal Monitor",
    "description": "Scans public Greenhouse, Lever, and Ashby job boards, returning normalized jobs, hiring velocity, new/changed/closed deltas, webhook alerts, and optional AI hiring briefs for sales, recruiting, and market teams.",
    "version": "0.1",
    "x-build-id": "yncJXKTUssEfGLCpg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/harvestlab~ats-hiring-signal-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-harvestlab-ats-hiring-signal-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/harvestlab~ats-hiring-signal-monitor/runs": {
      "post": {
        "operationId": "runs-sync-harvestlab-ats-hiring-signal-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/harvestlab~ats-hiring-signal-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-harvestlab-ats-hiring-signal-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": {
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Optional company names used as output labels and for best-effort discovery when paired with domains or slugs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "companyDomains": {
            "title": "Company domains",
            "type": "array",
            "description": "Optional company domains to search for public Greenhouse, Lever, or Ashby careers links.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "atsBoardUrls": {
            "title": "ATS board URLs",
            "type": "array",
            "description": "Public Greenhouse, Lever, or Ashby board URLs. This is the most reliable input for a first run.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "atsSlugs": {
            "title": "ATS slugs",
            "type": "array",
            "description": "Optional slugs in source:slug form, such as greenhouse:stripe, lever:mistral, or ashby:openai. Raw slugs are expanded across supported ATS sources.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxCompanies": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of companies or board targets to scan.",
            "default": 25
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of jobs returned per company or ATS board.",
            "default": 100
          },
          "includeDescriptions": {
            "title": "Include descriptions",
            "type": "boolean",
            "description": "Include cleaned job description text when available. Turn off for smaller datasets.",
            "default": true
          },
          "watchMode": {
            "title": "Watch mode",
            "type": "boolean",
            "description": "Classify jobs as new, existing, changed, or closed when previousJobsDatasetId is supplied.",
            "default": false
          },
          "previousJobsDatasetId": {
            "title": "Previous jobs dataset ID",
            "type": "string",
            "description": "Optional Apify dataset ID from a prior run. Used to classify new, changed, existing, and closed jobs."
          },
          "alertWebhookUrl": {
            "title": "Alert webhook URL",
            "type": "string",
            "description": "Optional Slack, Zapier, Make, n8n, Discord, or custom HTTP endpoint for hiring signal summaries."
          },
          "enableAiAnalysis": {
            "title": "Enable AI hiring brief",
            "type": "boolean",
            "description": "Generate an optional AI brief over the hiring summaries and changed jobs. Requires the selected provider key or Ollama URL.",
            "default": false
          },
          "llmProvider": {
            "title": "LLM provider",
            "enum": [
              "openrouter",
              "anthropic",
              "google",
              "openai",
              "ollama"
            ],
            "type": "string",
            "description": "Provider for optional AI hiring briefs.",
            "default": "openrouter"
          },
          "llmModel": {
            "title": "LLM model override",
            "type": "string",
            "description": "Optional model override. Leave empty to use the actor default for the selected provider."
          },
          "openrouterApiKey": {
            "title": "OpenRouter API key",
            "type": "string",
            "description": "Get one at https://openrouter.ai/keys. Or set OPENROUTER_API_KEY env var."
          },
          "anthropicApiKey": {
            "title": "Anthropic API key",
            "type": "string",
            "description": "Get one at https://console.anthropic.com/settings/keys. Or set ANTHROPIC_API_KEY env var."
          },
          "googleApiKey": {
            "title": "Google AI API key",
            "type": "string",
            "description": "Get one at https://aistudio.google.com/app/apikey. Or set GOOGLE_API_KEY env var."
          },
          "openaiApiKey": {
            "title": "OpenAI API key",
            "type": "string",
            "description": "Get one at https://platform.openai.com/api-keys. Or set OPENAI_API_KEY env var."
          },
          "ollamaBaseUrl": {
            "title": "Ollama base URL",
            "type": "string",
            "description": "URL of a self-hosted Ollama instance. Default: http://localhost:11434. Install at https://ollama.com/download.",
            "default": "http://localhost:11434"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy settings. Public ATS boards usually work without Apify Proxy; enable only when your run environment needs outbound routing.",
            "default": {
              "useApifyProxy": false
            }
          },
          "urls": {
            "title": "ATS board URLs (CLI alias)",
            "type": "string",
            "description": "Hidden alias for atsBoardUrls."
          },
          "domains": {
            "title": "Company domains (CLI alias)",
            "type": "string",
            "description": "Hidden alias for companyDomains."
          },
          "companies": {
            "title": "Company names (CLI alias)",
            "type": "string",
            "description": "Hidden alias for companyNames."
          },
          "maxItems": {
            "title": "Max items (CLI alias)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hidden alias for maxJobsPerCompany."
          },
          "query": {
            "title": "Single query (CLI alias)",
            "type": "string",
            "description": "Hidden alias for a single company, domain, ATS URL, or source:slug input."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}