{
  "openapi": "3.0.1",
  "info": {
    "title": "Careers Page New Job Monitor",
    "description": "$0.004 per job posting that's new since this actor's own last run, across Greenhouse, Lever, or Ashby career pages, descriptions included. The first run per company records a free baseline by default. A run that delivers new postings adds a flat $0.02; a run with nothing new costs $0.",
    "version": "0.1",
    "x-build-id": "COCiYrgrH0K7ZyoP9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mooseandraven~careers-page-new-postings-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mooseandraven-careers-page-new-postings-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/mooseandraven~careers-page-new-postings-monitor/runs": {
      "post": {
        "operationId": "runs-sync-mooseandraven-careers-page-new-postings-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/mooseandraven~careers-page-new-postings-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-mooseandraven-careers-page-new-postings-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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Companies to watch",
            "type": "array",
            "description": "Each entry: { label, provider, boardId, titleKeywords? } OR { label, url, titleKeywords? }. label is your own name for the company -- kept for display and uniqueness-checking only; saved monitor state is keyed by provider+boardId, so renaming label later does not lose continuity. provider is one of \"greenhouse\", \"lever\", \"ashby\"; boardId is that provider's own board token/site/name (e.g. Greenhouse's \"airbnb\" in boards.greenhouse.io/airbnb, Lever's \"spotify\" in jobs.lever.co/spotify, Ashby's \"ramp\" in jobs.ashbyhq.com/ramp). As a shortcut, give url instead (the company's boards.greenhouse.io/jobs.lever.co/jobs.ashbyhq.com page) and provider+boardId are parsed from it automatically -- a company's own custom-domain careers page is NOT recognized this way, use provider+boardId directly for those. titleKeywords is an optional list of words/phrases -- if set, only postings whose title contains at least one as a whole word (case-insensitive) are delivered; leave empty for every posting. Default is three real, currently-live public boards (verified 2026-11-20) so a bare-default run exercises the real path.",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "title": "Your label for this company",
                  "type": "string",
                  "description": "Your own stable name for this company. Monitor state (which postings have already been delivered) is keyed by this, not by list position."
                },
                "provider": {
                  "title": "ATS provider",
                  "type": "string",
                  "enum": [
                    "greenhouse",
                    "lever",
                    "ashby"
                  ],
                  "description": "Which job-board API this company's careers page runs on."
                },
                "boardId": {
                  "title": "Provider's board token/site/name",
                  "type": "string",
                  "description": "The identifier in the company's own careers-page URL for this provider. Not required if url is given instead."
                },
                "url": {
                  "title": "Careers-page URL (shortcut for provider+boardId)",
                  "type": "string",
                  "description": "A boards.greenhouse.io / jobs.lever.co / jobs.ashbyhq.com URL -- provider and boardId are parsed from it automatically. Ignored if provider+boardId are also given."
                },
                "titleKeywords": {
                  "title": "Optional title keyword filter",
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Only deliver postings whose title contains at least one of these as a whole word (case-insensitive) -- \"QA\" will not match \"QAnon\". Leave empty for every posting from this company."
                }
              },
              "required": [
                "label"
              ]
            },
            "default": [
              {
                "label": "Airbnb",
                "provider": "greenhouse",
                "boardId": "airbnb"
              },
              {
                "label": "Spotify",
                "provider": "lever",
                "boardId": "spotify"
              },
              {
                "label": "Ramp",
                "provider": "ashby",
                "boardId": "ramp"
              }
            ]
          },
          "includeExistingOnFirstRun": {
            "title": "Deliver current postings on the very first run",
            "type": "boolean",
            "description": "The first run for any company (no prior run to compare against) establishes a baseline for free and delivers nothing by default -- \"only new\" has no meaning before a previous run exists. Turn this on to instead deliver every current posting as if new on that first run, charged normally ($0.004/posting x every open posting -- use maxFirstRunPostings to cap this on a large board). Every later run is unaffected either way: only genuinely new postings since the last run are delivered.",
            "default": false
          },
          "maxFirstRunPostings": {
            "title": "Cap postings delivered on the first run",
            "minimum": 1,
            "type": "integer",
            "description": "Only used when includeExistingOnFirstRun is true. Caps how many of a company's current postings are delivered (and charged) on that first run, so a large existing board can't produce a surprise bill. The rest are still recorded as seen and will never be re-delivered as \"new\" later. Leave blank for no cap."
          },
          "monitorId": {
            "title": "Monitor ID (advanced)",
            "type": "string",
            "description": "Namespaces this run's saved state (which postings have already been delivered), so two separately-scheduled tasks running this actor never read or overwrite each other's state. Defaults to this run's Apify task ID when run as a scheduled task, or \"default\" for an ad-hoc Console/CLI run. Only set this yourself if you're deliberately running multiple independent monitors from the same task, or migrating state between tasks."
          },
          "resetState": {
            "title": "Reset saved state",
            "type": "boolean",
            "description": "Wipes this monitorId's saved state before this run, so every company's next run is treated as a first run again (see includeExistingOnFirstRun). Use to deliberately start over -- e.g. after a long pause, or to re-baseline following a bulk companies-list change. Turn back off after one run.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}