{
  "openapi": "3.0.1",
  "info": {
    "title": "Multi-ATS Jobs API & Delta Monitor",
    "description": "Extract and monitor public career boards across Greenhouse, Lever, Ashby, SmartRecruiters, Workable, and Recruitee via official public JSON APIs. Zero proxies, normalized salary & remote status, and stateful new-jobs-only delta mode.",
    "version": "1.0",
    "x-build-id": "ORkobfY7UXqOqsK5j"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simon_kundrik~multi-ats-jobs-delta-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simon_kundrik-multi-ats-jobs-delta-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/simon_kundrik~multi-ats-jobs-delta-monitor/runs": {
      "post": {
        "operationId": "runs-sync-simon_kundrik-multi-ats-jobs-delta-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/simon_kundrik~multi-ats-jobs-delta-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-simon_kundrik-multi-ats-jobs-delta-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": [
          "boards"
        ],
        "properties": {
          "boards": {
            "title": "Company Career Boards (URLs or ATS objects)",
            "type": "array",
            "description": "List of public career board URLs (auto-detected) or objects like {\"ats\": \"greenhouse\", \"company\": \"cloudflare\"}.",
            "default": [
              "https://job-boards.greenhouse.io/cloudflare",
              "https://jobs.ashbyhq.com/linear"
            ]
          },
          "deltaMode": {
            "title": "Stateful Delta Mode (emit ONLY new or updated jobs since previous run)",
            "type": "boolean",
            "description": "When enabled, seen job IDs and fingerprints are persisted in a named Key-Value Store so scheduled runs only emit newly posted or changed roles.",
            "default": true
          },
          "stateStoreName": {
            "title": "Named Key-Value Store for Delta Persistence",
            "type": "string",
            "description": "Apify Key-Value Store name used to remember seen jobs between scheduled runs.",
            "default": "ats-jobs-delta-state"
          },
          "stateNamespace": {
            "title": "State Namespace",
            "type": "string",
            "description": "Separate state key if you run multiple independent job-tracking workflows against the same store.",
            "default": "default"
          },
          "firstRunMode": {
            "title": "First-Run Behavior (when no delta state exists yet)",
            "enum": [
              "emit_limited",
              "seed_only",
              "emit_all"
            ],
            "type": "string",
            "description": "Choose whether the first run emits up to firstRunEmitLimit jobs per board, seeds silently with 0 emissions, or emits all matching jobs.",
            "default": "emit_limited"
          },
          "firstRunEmitLimit": {
            "title": "Max Jobs Emitted per Board on First Run",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Caps emitted jobs per company on run 1 when firstRunMode is 'emit_limited' to prevent surprise charges on large boards.",
            "default": 10
          },
          "titleKeywords": {
            "title": "Include Title Keywords (match ANY, case-insensitive)",
            "type": "array",
            "description": "Only emit jobs whose title contains at least one of these terms (e.g. 'engineer', 'python', 'security').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeTitleKeywords": {
            "title": "Exclude Title Keywords (reject ANY, case-insensitive)",
            "type": "array",
            "description": "Skip jobs whose title contains any of these terms (e.g. 'intern', 'director').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locationKeywords": {
            "title": "Location Keywords (match ANY, case-insensitive)",
            "type": "array",
            "description": "Only emit jobs whose location or workplace text contains at least one of these terms (e.g. 'London', 'UK', 'Remote').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "departmentKeywords": {
            "title": "Department Keywords (match ANY, case-insensitive)",
            "type": "array",
            "description": "Only emit jobs whose department/team contains at least one of these terms.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote Jobs Only",
            "type": "boolean",
            "description": "When enabled, only emit jobs classified as workplaceType='remote'.",
            "default": false
          },
          "includeDescription": {
            "title": "Include Clean Plain-Text Job Description",
            "type": "boolean",
            "description": "Include HTML-stripped plain-text job description (truncated to 4,000 chars) for LLM/RAG pipelines.",
            "default": true
          },
          "maxJobsPerBoard": {
            "title": "Max Jobs Emitted per Company Board",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit on matching jobs emitted from any single company board per run.",
            "default": 100
          },
          "maxTotalJobs": {
            "title": "Max Total Jobs Emitted per Run",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Hard ceiling on total dataset rows emitted across all boards in one run.",
            "default": 500
          },
          "requestTimeoutSecs": {
            "title": "HTTP Request Timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Timeout in seconds for each public ATS JSON API request.",
            "default": 20
          },
          "dryRun": {
            "title": "Dry Run (do not persist updated delta state)",
            "type": "boolean",
            "description": "Preview matching jobs without updating stored delta state.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}