{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse Jobs API + Lever, Ashby & Workable in One Schema",
    "description": "Board tokens or URLs in; normalized jobs out from Greenhouse, Lever, Ashby, SmartRecruiters, Recruitee, Workable. New-job monitor. From $0.0015 per job.",
    "version": "1.0",
    "x-build-id": "wEtW2LVZEBR4yQnu1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apricot_blackberry~ats-jobs-unified/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apricot_blackberry-ats-jobs-unified",
        "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/apricot_blackberry~ats-jobs-unified/runs": {
      "post": {
        "operationId": "runs-sync-apricot_blackberry-ats-jobs-unified",
        "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/apricot_blackberry~ats-jobs-unified/run-sync": {
      "post": {
        "operationId": "run-sync-apricot_blackberry-ats-jobs-unified",
        "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": {
          "boards": {
            "title": "Boards",
            "maxItems": 2000,
            "type": "array",
            "description": "Company job boards to fetch, one per line (up to 2000). Each entry is either `<ats>:<token>` where ats is greenhouse, lever, ashby, smartrecruiters, recruitee or workable, or a public board URL. Example: greenhouse:airbnb or https://boards.greenhouse.io/airbnb.",
            "items": {
              "type": "string"
            }
          },
          "includeDescription": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "When true, add `descriptionHtml` and `descriptionPlain` to every job (rows get much larger). Default false. Legacy alias: `include_descriptions`. Example: true."
          },
          "maxJobsPerBoard": {
            "title": "Max jobs per board",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap on jobs returned per board, an integer from 1 to 10000. In monitor mode a capped board never reports `removed` jobs. Example: 100.",
            "default": 1000
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "snapshot",
              "monitor"
            ],
            "type": "string",
            "description": "`snapshot` returns every current job. `monitor` compares with the previous run and returns only new, changed and removed jobs; the first run is a baseline that returns every job. Example: monitor.",
            "default": "snapshot"
          },
          "stateStoreName": {
            "title": "Monitor state store name",
            "type": "string",
            "description": "Name of the key-value store that remembers the last run for monitor mode; letters, digits and dashes only. Change it to keep independent monitors with the same boards. Example: ats-jobs-unified-state.",
            "default": "ats-jobs-unified-state"
          },
          "emitUnchanged": {
            "title": "Also return unchanged jobs (monitor)",
            "type": "boolean",
            "description": "Monitor mode only: when true, also push jobs that did not change (billed as `job-result`). Example: false.",
            "default": false
          },
          "chargeBaselineAsNew": {
            "title": "Bill baseline as new jobs (monitor)",
            "type": "boolean",
            "description": "Monitor mode only: when true, the first run of a board bills every job as `new-job-detected` instead of `job-result`. Example: false.",
            "default": false
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy settings object. Only used as a fallback: when Workable answers HTTP 429 the request is retried through an Apify RESIDENTIAL proxy (or your own `proxyUrls`). All other ATS APIs are fetched directly. Example: {\"useApifyProxy\": true}.",
            "default": {
              "useApifyProxy": true
            }
          },
          "slugs": {
            "title": "Legacy: slugs (pythia-greenhouse / pythia-lever)",
            "type": "array",
            "description": "Legacy input from the old pythia-greenhouse and pythia-lever actors: bare board slugs. Each slug becomes `greenhouse:<slug>`, or `lever:<slug>` when `legacyAts` is `lever`. Use `boards` for new integrations. Example: stripe.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "legacyAts": {
            "title": "Legacy: ATS for slugs",
            "enum": [
              "greenhouse",
              "lever"
            ],
            "type": "string",
            "description": "Which ATS the legacy `slugs` belong to: greenhouse or lever. Ignored when you only use `boards`. Example: lever.",
            "default": "greenhouse"
          },
          "include_descriptions": {
            "title": "Legacy: include_descriptions",
            "type": "boolean",
            "description": "Legacy alias of `includeDescription` from the old pythia-greenhouse and pythia-lever actors (true or false). Used only when `includeDescription` is not set. Example: 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}