{
  "openapi": "3.0.1",
  "info": {
    "title": "ATS Hiring & Competitor Intelligence",
    "description": "Monitor hiring signals across Greenhouse, Lever, and Ashby public job boards with normalized jobs, skills, seniority, functions, remote status, salary data where structured, and change detection.",
    "version": "0.1",
    "x-build-id": "YeaOIclg1DC4HFIFk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datahunter_labs~ats-hiring-competitor-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datahunter_labs-ats-hiring-competitor-intelligence",
        "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/datahunter_labs~ats-hiring-competitor-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-datahunter_labs-ats-hiring-competitor-intelligence",
        "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/datahunter_labs~ats-hiring-competitor-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-datahunter_labs-ats-hiring-competitor-intelligence",
        "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": [
          "boards"
        ],
        "properties": {
          "boards": {
            "title": "Company job boards",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Greenhouse, Lever, Lever EU, or Ashby public board URLs, or tagged slugs such as greenhouse:stripe, lever:spotify, lever-eu:company, ashby:ramp.",
            "items": {
              "type": "string"
            },
            "default": [
              "ashby:ramp"
            ]
          },
          "maxJobsPerBoard": {
            "title": "Maximum jobs per board",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap after filters for each company board.",
            "default": 100
          },
          "maxTotalJobs": {
            "title": "Maximum jobs per run",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on job rows returned across all boards.",
            "default": 1000
          },
          "titleKeywords": {
            "title": "Title keywords",
            "type": "array",
            "description": "Optional case-insensitive title filters. Any match is accepted.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "locationKeywords": {
            "title": "Location keywords",
            "type": "array",
            "description": "Optional case-insensitive location filters.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "departmentKeywords": {
            "title": "Department/team keywords",
            "type": "array",
            "description": "Optional case-insensitive department or team filters.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "jobFunctions": {
            "title": "Normalized job functions",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional normalized function filter.",
            "items": {
              "type": "string",
              "enum": [
                "engineering",
                "data_ai",
                "security",
                "product",
                "design",
                "sales",
                "marketing",
                "customer_success",
                "support",
                "finance",
                "legal",
                "hr_people",
                "operations",
                "other"
              ],
              "enumTitles": [
                "Engineering",
                "Data / AI",
                "Security",
                "Product",
                "Design",
                "Sales",
                "Marketing",
                "Customer success",
                "Support",
                "Finance",
                "Legal / Compliance",
                "People / Recruiting",
                "Operations",
                "Other"
              ]
            },
            "default": []
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Keep only jobs classified as remote from explicit ATS fields or conservative location/description signals.",
            "default": false
          },
          "includeDescription": {
            "title": "Include redacted plain-text description",
            "type": "boolean",
            "description": "Include description text with common email addresses and phone numbers redacted. Disable to reduce dataset size.",
            "default": true
          },
          "monitorChanges": {
            "title": "Monitor job changes",
            "type": "boolean",
            "description": "Persist board state and identify new, changed, unchanged, and removed jobs. Baseline rows are not falsely marked new.",
            "default": true
          },
          "onlyChangedJobs": {
            "title": "Only emit new/changed jobs after baseline",
            "type": "boolean",
            "description": "After a baseline exists, emit only new or changed current jobs, plus free removed-job rows and company summaries.",
            "default": false
          },
          "cacheTtlMinutes": {
            "title": "Cache TTL (minutes)",
            "minimum": 1,
            "maximum": 10080,
            "type": "integer",
            "description": "Used only when monitoring is disabled.",
            "default": 60
          },
          "forceRefresh": {
            "title": "Force refresh",
            "type": "boolean",
            "description": "Ignore a valid non-monitoring cache entry.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Maximum board concurrency",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Bounded concurrency across public ATS endpoints.",
            "default": 3
          },
          "maxRequestsPerRun": {
            "title": "HTTP request budget",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap including retries.",
            "default": 100
          },
          "timeoutSeconds": {
            "title": "HTTP timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Per-request HTTP timeout in seconds before a bounded retry or failure is recorded.",
            "default": 20
          },
          "maxRetries": {
            "title": "Maximum retries / proxy rotations",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Bounded retries on network errors, 403/429/challenge responses, 408, 5xx, and 520-524.",
            "default": 2
          },
          "retryBackoffSeconds": {
            "title": "Retry backoff (seconds)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Base exponential backoff for bounded retries.",
            "default": 1
          },
          "directFirst": {
            "title": "Try official ATS APIs directly first",
            "type": "boolean",
            "description": "Uses public ATS endpoints directly first. Proxy fallback is used only on blocking/transient failures.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify/custom proxy fallback. Not used when direct requests succeed.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}