{
  "openapi": "3.0.1",
  "info": {
    "title": "Stale Vacancy Tracker for Greenhouse, Lever & Ashby",
    "description": "Track the Greenhouse, Lever and Ashby boards of employers you target. Flags roles still open past your day threshold, edited, reposted or confirmed removed. USD 0.015 per board check.",
    "version": "0.0",
    "x-build-id": "fSJ7zeq3Sf6ECPft6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sol-arkis~persistent-vacancy-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sol-arkis-persistent-vacancy-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/sol-arkis~persistent-vacancy-monitor/runs": {
      "post": {
        "operationId": "runs-sync-sol-arkis-persistent-vacancy-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/sol-arkis~persistent-vacancy-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-sol-arkis-persistent-vacancy-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": [
          "monitorId",
          "boards",
          "titleKeywords"
        ],
        "properties": {
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "1-64 letters, numbers, underscores, or hyphens. Changing filters under the same ID is rejected. Start a new ID to reset intentionally."
          },
          "stateStoreName": {
            "title": "History store name",
            "type": "string",
            "description": "Optional. Named Apify key-value store that keeps this monitor's history between runs. 3-63 lowercase letters, numbers, and hyphens, starting and ending with a letter or number; used verbatim. Omit it, or leave it blank, to use pvm- plus the monitorId (Security_Watch becomes pvm-security-watch). Not part of the filter fingerprint. A shared name does not merge history: records are still separated by account, Actor, and monitorId."
          },
          "boards": {
            "title": "Board roots",
            "type": "array",
            "description": "1-25 HTTPS board roots on boards.greenhouse.io, job-boards.greenhouse.io, jobs.lever.co, jobs.eu.lever.co, or jobs.ashbyhq.com. One slug. Query strings are stripped. Job and API URLs are rejected.",
            "items": {
              "type": "string"
            }
          },
          "titleKeywords": {
            "title": "Title phrases",
            "type": "array",
            "description": "1-10 literal phrases. Matching is case-insensitive substring, so Engineer also matches Engineering. Any phrase can match.",
            "items": {
              "type": "string"
            }
          },
          "countryCodes": {
            "title": "Country codes",
            "type": "array",
            "description": "Optional ISO alpha-2 codes. A job matches if any explicit source country matches. Unknown locations are excluded when this filter is set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "workplaceTypes": {
            "title": "Workplace types",
            "type": "array",
            "description": "Optional remote, hybrid, or onsite. Unknown workplace is excluded when this filter is set. Remote does not include hybrid.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ageBasis": {
            "title": "Age basis",
            "enum": [
              "sourcePublished",
              "observed"
            ],
            "type": "string",
            "description": "sourcePublished uses the provider publication or creation timestamp. observed uses time since this monitor first saw the listing. A missing source date stays unknown.",
            "default": "sourcePublished"
          },
          "minAgeDays": {
            "title": "Minimum age in days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Lower bound for the aged subset. It does not remove listings from the source inventory.",
            "default": 42
          },
          "maxAgeDays": {
            "title": "Maximum age in days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Upper bound for the aged subset. Leave unset in API calls as null for no upper bound. The console default is 56.",
            "default": 56
          },
          "thresholdDays": {
            "title": "Age thresholds",
            "type": "array",
            "description": "Unique day thresholds. Each is alerted once per listing occurrence. Already-passed thresholds on the first check are consumed without a historical crossing alert.",
            "default": [
              42,
              56
            ],
            "items": {
              "type": "string"
            }
          },
          "emitInitialMatches": {
            "title": "Emit initial matches",
            "type": "boolean",
            "description": "On the first complete check, emit one initial_match for each role already inside the age window. Passed thresholds are consumed either way.",
            "default": true
          },
          "maxJobsPerBoard": {
            "title": "Max source jobs per board",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Inventory cap. Exceeding it returns a free truncated result and is not treated as a complete board.",
            "default": 2000
          },
          "maxMatchedJobsPerBoard": {
            "title": "Max matched jobs per board",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Cap on title, country, and workplace matches before age filtering. The maximum is 100. Exceeding the cap returns a free too_many_matches dataset row that is not charged.",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Max board concurrency",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Accepted and validated from 1 to 3. This local prototype still checks boards one at a time.",
            "default": 2
          },
          "requestTimeoutSecs": {
            "title": "Request timeout seconds",
            "minimum": 5,
            "maximum": 30,
            "type": "integer",
            "description": "Timeout for one source request.",
            "default": 20
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Retries for 429, 502, 503, 504, and timeouts. 401, 403, and 404 are not retried.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}