{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse Jobs Scraper, Lever, Ashby, Workable",
    "description": "Scrape open jobs from any company on 10 ATS - Greenhouse, Lever, Ashby, Workable, Recruitee, SmartRecruiters, Personio, Teamtailor, JazzHR, Jobvite - as one normalized JSON record per vacancy. Monitor bills the first baseline, then only new and updated jobs. $1.50 per 1,000 jobs, $0.90 on Gold.",
    "version": "0.1",
    "x-build-id": "dHO1GcF5p0hSiloc1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aigrator~company-jobs-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aigrator-company-jobs-api",
        "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/aigrator~company-jobs-api/runs": {
      "post": {
        "operationId": "runs-sync-aigrator-company-jobs-api",
        "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/aigrator~company-jobs-api/run-sync": {
      "post": {
        "operationId": "run-sync-aigrator-company-jobs-api",
        "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": "Company domains, names or ATS slugs. Examples: stripe.com (Greenhouse), openai.com (Ashby), jobs.lever.co/spotify (Lever), apply.workable.com/acme (Workable). The Actor will figure out which of the 10 ATS the company uses. Leave empty to run the demo set: stripe.com, openai.com, figma.com.",
            "items": {
              "type": "string"
            }
          },
          "careerUrls": {
            "title": "Career page URLs",
            "type": "array",
            "description": "Optional direct links to Greenhouse, Lever, Ashby, Workable, Recruitee, SmartRecruiters, Personio, Teamtailor, JazzHR or Jobvite boards. Useful when a domain is not enough (custom career sites, multiple brands). Examples: https://boards.greenhouse.io/stripe, https://jobs.lever.co/spotify, https://jobs.ashbyhq.com/openai, https://xitaso.jobs.personio.de, https://career.teamtailor.com, https://antler.applytojob.com, https://jobs.jobvite.com/uplight.",
            "items": {
              "type": "string"
            }
          },
          "discover": {
            "title": "Auto-discover ATS",
            "type": "boolean",
            "description": "Try to detect the ATS and board slug automatically. Disable only if you already provide exact ATS slugs and want to save requests.",
            "default": true
          },
          "query": {
            "title": "Keyword",
            "type": "string",
            "description": "Case-insensitive substring match against job title, department and description (when descriptions are included)."
          },
          "location": {
            "title": "Location contains",
            "type": "string",
            "description": "Example: Berlin, New York, Europe."
          },
          "country": {
            "title": "Country contains",
            "type": "string",
            "description": "Example: Germany, United States, Netherlands."
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Keep only jobs whose workplace type is remote. Uses the same detection as the workplaceType field, including location text.",
            "default": false
          },
          "department": {
            "title": "Department contains",
            "type": "string",
            "description": "Example: Engineering, Sales, Design."
          },
          "seniority": {
            "title": "Seniority",
            "type": "array",
            "description": "Leave empty for all levels.",
            "items": {
              "type": "string",
              "enum": [
                "intern",
                "junior",
                "mid",
                "senior",
                "lead",
                "staff",
                "director"
              ]
            }
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "",
              "full-time",
              "part-time",
              "contract",
              "internship",
              "temporary"
            ],
            "type": "string",
            "description": "Leave empty for all types."
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "type": "integer",
            "description": "0 = no limit. Useful for monitoring fresh openings.",
            "default": 0
          },
          "includeDescription": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Adds the full HTML and plain text to each record and makes description-only edits visible as updated rows. Turn it off to shrink the dataset: the description hash is then null and text edits are not detected.",
            "default": true
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "type": "integer",
            "description": "How many rows one run may return per company. The monitoring state still tracks the whole board, and changes over the limit are delivered by the next run instead of being lost. 0 = unlimited.",
            "default": 500
          },
          "monitorMode": {
            "title": "Monitor mode (only changes)",
            "type": "boolean",
            "description": "On the first run per state key the Actor stores a baseline and returns the full board, billed per row like a snapshot. Later runs return only new, updated and closed jobs; only new and updated are charged. If a board suddenly returns nothing, closures are reported only after a second consecutive empty run, so an ATS outage cannot produce a wave of phantom closed jobs.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Leave empty: the state is scoped to the current Apify Task automatically, so different Tasks never share a baseline. The value is only a record name in the Actor's key-value store. Fill it only if you run the Actor directly (without a Task) or need several independent monitoring profiles inside one Task."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "All sources answer plain requests and normally do not need a proxy. Keep it disabled unless your IP is rate-limited.",
            "default": {
              "useApifyProxy": false
            }
          },
          "refreshDirectory": {
            "title": "Refresh ATS directory cache",
            "type": "boolean",
            "description": "Clear the persistent domain -> ATS cache before the run. Use it if a company changed its ATS.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}