{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse, Lever & Ashby Jobs API — New, Changed & Closed Jobs",
    "description": "Watch any company's Greenhouse, Lever or Ashby job board through the official public APIs. Each run returns only new, changed and closed jobs, plus a hiring summary per company. You pay per job delivered and per company board checked; unchanged jobs are not charged again. Built by AGI Tools Team.",
    "version": "0.0",
    "x-build-id": "7de4CeUCnys7upN0P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/agitools~ats-jobs-delta/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-agitools-ats-jobs-delta",
        "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/agitools~ats-jobs-delta/runs": {
      "post": {
        "operationId": "runs-sync-agitools-ats-jobs-delta",
        "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/agitools~ats-jobs-delta/run-sync": {
      "post": {
        "operationId": "run-sync-agitools-ats-jobs-delta",
        "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": {
          "companies": {
            "title": "Companies to track",
            "type": "array",
            "description": "One entry per company. Use 'ats:board' (greenhouse:stripe, lever:palantir, ashby:openai), a job-board URL (https://boards.greenhouse.io/stripe, https://jobs.lever.co/palantir, https://jobs.ashbyhq.com/openai) or a careers page URL; the Actor finds the ATS link on the page (respecting robots.txt).",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names to look up",
            "maxItems": 100,
            "type": "array",
            "description": "Plain company names (for example 'Stripe', 'Scale AI'). Each name is checked against the official Greenhouse, Lever and Ashby job-board APIs (at most 6 lookups per name). A board is selected only when it is the only one found, lists open jobs and is a Greenhouse board whose published company name matches; otherwise the run returns the possible boards as 'candidates', and nothing is read or charged for that name. A selected board is remembered for this monitor. To confirm a board yourself, write 'Name = ats:board' (for example 'Palantir = lever:palantir'): that board is read directly and the name is kept in your results.",
            "items": {
              "type": "string"
            }
          },
          "unresolvedNameRecheckDays": {
            "title": "Days before an unresolved name is looked up again",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "A name that could not be matched to exactly one verified board is remembered for this many days, so scheduled runs do not download the same boards again. 0 looks names up on every run. Failed lookups are never remembered, and a board you confirm ('Name = ats:board') always takes precedence.",
            "default": 7
          },
          "mode": {
            "title": "Output mode",
            "enum": [
              "changes",
              "snapshot"
            ],
            "type": "string",
            "description": "'changes' returns only jobs that entered, changed in or left your filtered view (unchanged jobs are free and not returned). 'snapshot' also returns every unchanged open job that matches your filters (each is charged as a job record).",
            "default": "changes"
          },
          "emitBaseline": {
            "title": "Return all current jobs on the first run",
            "type": "boolean",
            "description": "On the first run for a company every open job is new. Turn off to start monitoring silently: the first run records the baseline (charged only per company) and later runs return changes.",
            "default": true
          },
          "stateRecovery": {
            "title": "If a company's saved memory cannot be trusted",
            "enum": [
              "none",
              "rebaseline"
            ],
            "type": "string",
            "description": "Only used when a company's saved memory is damaged or comes from an incompatible version. By default that company is skipped: nothing is delivered or charged for it and its memory is left as it is; other companies run normally. 'rebaseline' records its open jobs silently (nothing delivered, nothing charged), keeps the old memory next to the new one when it can be read, and later runs report only changes.",
            "default": "none"
          },
          "emitSignals": {
            "title": "Company hiring signals (beta, free)",
            "type": "boolean",
            "description": "Adds free 'signal' records per company: first role in a new department or country, first roles naming a technology, hiring acceleration or slowdown against the company's own baseline, leadership hiring, seniority mix shifts, and a hiring trend summary. Signals cover the whole board (not your title/location filters), need history (the first run only records it; rate signals need 3+ runs over 7+ days) and say whether each item is an observed fact or an inferred signal, with a confidence score.",
            "default": false
          },
          "includeSecFilings": {
            "title": "SEC filings for these companies (optional add-on)",
            "type": "boolean",
            "description": "Off by default. When on, each company whose board was read is matched to its SEC filer (CIK) and, where GLEIF agrees, its LEI. New SEC filings (8-K events such as leadership changes, restructurings, financings and acquisitions; annual and quarterly reports; Form D private offerings; S-1 registrations) are delivered once each with their official 8-K item captions, a category and a link to the filing. Only one exact name match is used automatically; close or several matches come back as free 'companyIdentity' records with candidates and the line that confirms one. Charged per delivered filing (see Pricing); identity records and unmatched companies are free. Private companies without listed shares need a 'cik:' line in SEC company identifiers.",
            "default": false
          },
          "secCompanies": {
            "title": "SEC company identifiers (optional)",
            "type": "array",
            "description": "Confirm or override a match, one line per company, using the same text as in Companies or Company names (or ats:board): 'greenhouse:stripe = cik:1234567', 'Acme = ticker:ACME', or 'Acme = none' to never look a company up. A CIK is SEC's company number (also for private companies that file a Form D).",
            "items": {
              "type": "string"
            }
          },
          "secFilingForms": {
            "title": "SEC forms to watch",
            "type": "array",
            "description": "Default: 8-K, 8-K/A, 10-K, 10-Q, S-1, D, D/A, 6-K, 20-F. Allowed: 8-K, 8-K/A, 10-K, 10-K/A, 10-Q, 10-Q/A, S-1, S-1/A, F-1, F-1/A, D, D/A, 6-K, 20-F, 40-F.",
            "items": {
              "type": "string"
            }
          },
          "secHistoryDays": {
            "title": "Filing history on the first check (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "0 (default): the first check only records which filings exist; later checks deliver new filings. 1-365: the first check also delivers filings from the last N days (charged per filing).",
            "default": 0
          },
          "maxFilingsPerCompany": {
            "title": "Max filings delivered per company per run",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Caps cost. Filings above the cap are kept for the next run, never skipped.",
            "default": 20
          },
          "includeLei": {
            "title": "Attach the LEI from GLEIF",
            "type": "boolean",
            "description": "Free. Attached only when GLEIF's legal name and US state agree with SEC's record.",
            "default": true
          },
          "includeDescription": {
            "title": "Include job descriptions",
            "type": "boolean",
            "description": "Plain-text job description, as published on the job board.",
            "default": true
          },
          "maxDescriptionChars": {
            "title": "Max description length (characters)",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Longer descriptions are cut to this many characters and flagged with descriptionTruncated=true. Change detection always uses the full text.",
            "default": 8000
          },
          "includeClosed": {
            "title": "Report closed jobs",
            "type": "boolean",
            "description": "Return a 'closed' record when a job disappears from a company's board.",
            "default": true
          },
          "emitCompanySummaries": {
            "title": "Add a hiring summary per company",
            "type": "boolean",
            "description": "One free 'company' record per company and run: open jobs, new/changed/closed counts, top departments and locations, remote share, salary disclosure.",
            "default": true
          },
          "titleKeywords": {
            "title": "Only jobs whose title contains (any of)",
            "type": "array",
            "description": "Case-insensitive. Defines your view: you receive (and pay for) only matching jobs, and closures only for jobs you received. Changing filters later emits 'new' / 'unmatched' records for jobs entering or leaving the view.",
            "items": {
              "type": "string"
            }
          },
          "locationKeywords": {
            "title": "Only jobs whose location contains (any of)",
            "type": "array",
            "description": "Case-insensitive match on location, country and workplace type (e.g. 'remote', 'berlin', 'US').",
            "items": {
              "type": "string"
            }
          },
          "employmentClasses": {
            "title": "Only jobs of these employment types",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Uses only what the job board itself states; nothing is guessed from titles or descriptions. contract, freelance, temporary (incl. fixed-term), permanent, employee (full- or part-time; permanence not stated), internship, unknown (no value or an unrecognised one; every Greenhouse job, because Greenhouse publishes no employment type). For contract work choose contract, freelance and temporary, and add unknown if you also want jobs whose type is not stated. Empty = every job (default).",
            "items": {
              "type": "string",
              "enum": [
                "contract",
                "freelance",
                "temporary",
                "permanent",
                "employee",
                "internship",
                "unknown"
              ],
              "enumTitles": [
                "Contract",
                "Freelance",
                "Temporary / fixed-term",
                "Permanent",
                "Employee (full- or part-time, permanence not stated)",
                "Internship",
                "Not stated or unrecognised"
              ]
            }
          },
          "greenhouseSalary": {
            "title": "Greenhouse salary ranges",
            "type": "boolean",
            "description": "Greenhouse lists jobs without pay. When on, the Actor makes one extra request per returned Greenhouse job to read the pay ranges the employer publishes (cached; repeated only when the job is updated). Salary is never estimated.",
            "default": true
          },
          "maxSalaryRequests": {
            "title": "Max Greenhouse salary lookups per run",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Caps the extra Greenhouse requests per run (about 4 per second, so 200 lookups add up to about a minute). Jobs beyond the cap are returned with salaryStatus 'not_fetched'; in changes mode they are looked up again only when the job changes.",
            "default": 200
          },
          "probeAtsByDomain": {
            "title": "Guess the ATS from the company domain",
            "type": "boolean",
            "description": "If no ATS link is found on a careers page, try the domain name (example.com -> 'example') as a board name on each ATS. Results are marked detectedVia='probe'; check they are the right company.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Name of this watch list, e.g. 'sales-targets-eu'. Each monitor keeps its own memory of what it has already reported, so two monitors never consume each other's changes. Leave empty when you run the Actor from a saved Task (the Task gets its own memory automatically). One-off API runs without a monitor ID share one default memory. Prefer lower-case letters, digits and hyphens; ids that differ only in case or '_' vs '-' are kept apart."
          },
          "stateStoreName": {
            "title": "State store name (advanced)",
            "type": "string",
            "description": "Advanced: an explicit key-value store name. Use the same name in two monitors only if you deliberately want them to share one change history (their runs are then serialized by a lock). Overrides Monitor ID."
          },
          "maxCompanies": {
            "title": "Max companies per run",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Safety cap on how many companies one run processes. Extra entries are skipped with a warning.",
            "default": 100
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Boards larger than this are read partially and then never produce 'closed' records (cannot be verified).",
            "default": 5000
          },
          "closedConfirmRuns": {
            "title": "Runs a job must be missing before it is reported closed",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "A job must be missing from a complete board read this many consecutive runs before a 'closed' record is emitted. Raise it if a board flickers.",
            "default": 1
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each HTTP request to an ATS API.",
            "default": 30
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for timeouts, HTTP 408/425/429 and 5xx, with backoff and Retry-After support.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}