{
  "openapi": "3.0.1",
  "info": {
    "title": "Career Site Jobs Scraper: Greenhouse, Lever, Ashby, Workable",
    "description": "Get normalized job postings straight from companies' own career sites on Greenhouse, Lever, Ashby and Workable. Auto-detects the ATS from any careers URL, filters by keyword, location and remote, and can return only jobs that are new since the last run.",
    "version": "0.1",
    "x-build-id": "XMmpVhRURazHjNrPV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lasting_bonnethead~ats-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lasting_bonnethead-ats-jobs",
        "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/lasting_bonnethead~ats-jobs/runs": {
      "post": {
        "operationId": "runs-sync-lasting_bonnethead-ats-jobs",
        "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/lasting_bonnethead~ats-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-lasting_bonnethead-ats-jobs",
        "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": "Companies (career pages, ATS board URLs or slugs)",
            "type": "array",
            "description": "One per line. Accepts: ATS board URLs (https://job-boards.greenhouse.io/stripe, https://jobs.lever.co/palantir, https://jobs.ashbyhq.com/ramp, https://apply.workable.com/huggingface), a company's own careers page (the ATS is detected from links/embeds in the page), prefixed slugs (greenhouse:stripe, lever:palantir, lever-eu:slug, ashby:ramp, workable:huggingface) or a bare slug (looked up on Greenhouse, Lever, Ashby and Workable). Workday sites are not supported yet and are reported as unsupported (not charged).",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (any match)",
            "type": "array",
            "description": "Keep jobs matching at least one keyword. Terms of 3 characters or fewer (AI, ML, QA, SDR) match whole words only.",
            "items": {
              "type": "string"
            }
          },
          "keywordsIn": {
            "title": "Match keywords in",
            "enum": [
              "title",
              "titleAndDepartment",
              "titleAndDescription"
            ],
            "type": "string",
            "description": "Where keywords are matched. Title-only is the most precise.",
            "default": "title"
          },
          "excludeKeywords": {
            "title": "Exclude title keywords",
            "type": "array",
            "description": "Drop jobs whose title contains any of these (e.g. Senior, Intern).",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (any match)",
            "type": "array",
            "description": "Keep jobs whose location, secondary locations or country contain one of these strings (e.g. London, Germany, \"New York\"). Add \"Remote\" to also keep remote jobs.",
            "items": {
              "type": "string"
            }
          },
          "remote": {
            "title": "Remote",
            "enum": [
              "any",
              "remoteOnly",
              "excludeRemote"
            ],
            "type": "string",
            "description": "Keep only remote jobs, drop remote jobs, or keep all. Remote is detected from the ATS workplace field or \"Remote\" in the location.",
            "default": "any"
          },
          "departments": {
            "title": "Departments / teams (any match)",
            "type": "array",
            "description": "Keep jobs whose department or team contains one of these strings (e.g. Engineering, Sales).",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Leave empty for all. Jobs with unknown type are excluded when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "FULL_TIME",
                "PART_TIME",
                "CONTRACT",
                "INTERN",
                "TEMPORARY",
                "OTHER"
              ]
            }
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no date filter. Jobs without a publish date are kept unless 'Drop undated jobs' is on.",
            "default": 0
          },
          "dropUndatedWhenFiltering": {
            "title": "Drop undated jobs when date filter is on",
            "type": "boolean",
            "description": "When \"Posted within\" is set, also drop jobs whose ATS gives no publish date.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new jobs since last run",
            "type": "boolean",
            "description": "Remembers job IDs per company in a named key-value store and outputs only jobs not seen before. Ideal for scheduled runs: you pay for new jobs only (plus a small per-company check fee).",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that keeps seen job IDs. Use a different name for each saved task/filter set.",
            "default": "ats-jobs-state"
          },
          "skipOutputOnFirstRun": {
            "title": "First run: only build the baseline",
            "type": "boolean",
            "description": "With 'Only new jobs' on, the first run records current jobs without outputting them, so later runs return only truly new postings.",
            "default": false
          },
          "stateRetentionDays": {
            "title": "Remember jobs for (days)",
            "minimum": 1,
            "type": "integer",
            "description": "How long a job ID is remembered after it was last seen. Keeps jobs that briefly disappear from being reported as new again.",
            "default": 60
          },
          "includeDescription": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Turn off for faster, smaller output.",
            "default": true
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "both",
              "text",
              "html"
            ],
            "type": "string",
            "description": "Plain text, HTML, or both.",
            "default": "both"
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit.",
            "default": 0
          },
          "maxJobsTotal": {
            "title": "Max jobs in total",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit. The run also stops at your 'max total charge' setting.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Companies in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many companies are processed at the same time.",
            "default": 3
          },
          "probeBareSlugs": {
            "title": "Probe bare slugs",
            "type": "boolean",
            "description": "For entries like \"notion\" (no URL/prefix), look the slug up on Greenhouse, Lever, Ashby and Workable and use the board with most jobs.",
            "default": true
          },
          "enabledAts": {
            "title": "Enabled ATS",
            "type": "array",
            "description": "Turn individual ATS sources on or off.",
            "items": {
              "type": "string",
              "enum": [
                "greenhouse",
                "lever",
                "ashby",
                "workable"
              ],
              "enumTitles": [
                "Greenhouse",
                "Lever",
                "Ashby",
                "Workable"
              ]
            },
            "default": [
              "greenhouse",
              "lever",
              "ashby",
              "workable"
            ]
          },
          "perHostConcurrency": {
            "title": "Parallel requests per host",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Politeness limit per ATS host (robots.txt Crawl-delay always wins, e.g. Lever = 1 request/second).",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}