{
  "openapi": "3.0.1",
  "info": {
    "title": "New Job Posting Monitor — USAJobs & arbeitnow Alerts",
    "description": "Never miss a new job posting. Watch your USAJobs and arbeitnow searches and get alerted the moment a genuinely new posting appears. Cross-run dedup means you pay only per new posting delivered. Official APIs only, no scraping.",
    "version": "0.0",
    "x-build-id": "N8cuAaWpR7VjunYqi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/delta_tools~job-board-new-posting-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-delta_tools-job-board-new-posting-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/delta_tools~job-board-new-posting-monitor/runs": {
      "post": {
        "operationId": "runs-sync-delta_tools-job-board-new-posting-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/delta_tools~job-board-new-posting-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-delta_tools-job-board-new-posting-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": [
          "searches"
        ],
        "properties": {
          "detectRemoved": {
            "title": "Detect removed postings",
            "type": "boolean",
            "description": "Report postings that disappeared (filled/expired). Needs 2 consecutive misses to avoid false alarms.",
            "default": true
          },
          "reportInitialAsNew": {
            "title": "Report first run as new",
            "type": "boolean",
            "description": "On the very first run there is no baseline, so every posting is reported as 'new'. Turn off to silently build the baseline instead.",
            "default": true
          },
          "searches": {
            "title": "Searches to monitor",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "One entry per job search you want to watch.",
            "items": {
              "properties": {
                "keyword": {
                  "description": "What to search for, e.g. 'data analyst', 'nurse', 'software engineer'.",
                  "minLength": 1,
                  "title": "Search keyword",
                  "type": "string"
                },
                "location": {
                  "description": "Substring matched against the posting location, e.g. 'Berlin'. Leave empty for anywhere.",
                  "title": "Location filter (arbeitnow)",
                  "type": "string"
                },
                "locationName": {
                  "description": "USAJobs location filter, e.g. 'New York, New York'. Leave empty for nationwide.",
                  "title": "Location (USAJobs)",
                  "type": "string"
                },
                "maxJobs": {
                  "default": 250,
                  "description": "Cap on postings compared per search each run.",
                  "maximum": 1000,
                  "minimum": 10,
                  "title": "Max postings per check",
                  "type": "integer"
                },
                "postedWithinDays": {
                  "description": "Optional freshness filter: ignore postings published more than N days ago. Great for the first run.",
                  "maximum": 365,
                  "minimum": 1,
                  "title": "Only postings from last N days (USAJobs)",
                  "type": "integer"
                },
                "remoteOnly": {
                  "default": false,
                  "description": "Only report arbeitnow postings flagged as remote.",
                  "title": "Remote only (arbeitnow)",
                  "type": "boolean"
                },
                "resultsPerPage": {
                  "default": 50,
                  "description": "How many top postings to compare each run. Higher = more accurate removed detection.",
                  "maximum": 500,
                  "minimum": 10,
                  "title": "Results per check (USAJobs)",
                  "type": "integer"
                },
                "source": {
                  "description": "usajobs = US federal jobs (official API, needs free key). arbeitnow = remote-friendly jobs (free API, no key).",
                  "enum": [
                    "usajobs",
                    "arbeitnow"
                  ],
                  "title": "Job board",
                  "type": "string"
                }
              },
              "required": [
                "source",
                "keyword"
              ],
              "type": "object"
            }
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Namespace for this monitor's memory. Use a different key per schedule if you run several monitors.",
            "default": "default"
          },
          "usajobsApiKey": {
            "title": "USAJobs API key",
            "type": "string",
            "description": "Free key from data.usajobs.gov (sign in, request API access). Required only for USAJobs searches — arbeitnow needs no key. Without it, USAJobs searches are skipped gracefully."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}