# Remove expired job postings

**Use case:** 

Find closed and expired jobs on the Greenhouse, Lever or Ashby boards you list. Starts with new jobs only: jobs open on the first run are remembered, not sent, and are reported closed only if sent to you later (e.g. after a change). Already listing these jobs? Turn on "Return all current jobs on the first run". Closed means missing from two complete reads. The feed never deletes anything itself.

## Input

```json
{
  "companies": [
    "greenhouse:stripe",
    "https://jobs.lever.co/palantir",
    "https://jobs.ashbyhq.com/openai"
  ],
  "unresolvedNameRecheckDays": 7,
  "mode": "changes",
  "emitBaseline": false,
  "stateRecovery": "none",
  "emitSignals": false,
  "includeSecFilings": false,
  "secCompanies": [],
  "secHistoryDays": 0,
  "maxFilingsPerCompany": 20,
  "includeLei": true,
  "includeDescription": false,
  "maxDescriptionChars": 8000,
  "includeClosed": true,
  "emitCompanySummaries": false,
  "greenhouseSalary": true,
  "maxSalaryRequests": 200,
  "probeAtsByDomain": false,
  "maxCompanies": 100,
  "maxJobsPerCompany": 5000,
  "closedConfirmRuns": 2,
  "requestTimeoutSecs": 30,
  "maxRetries": 2
}
```

## Output

```json
{
  "changeType": {
    "label": "Change",
    "format": "string"
  },
  "viewReason": {
    "label": "Why (view)",
    "format": "string"
  },
  "companyName": {
    "label": "Company",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "department": {
    "label": "Department",
    "format": "string"
  },
  "locations": {
    "label": "Locations",
    "format": "array"
  },
  "workplaceType": {
    "label": "Workplace",
    "format": "string"
  },
  "salary": {
    "label": "Salary",
    "format": "object"
  },
  "salaryStatus": {
    "label": "Salary status",
    "format": "string"
  },
  "url": {
    "label": "Job URL",
    "format": "string"
  },
  "changedFields": {
    "label": "Changed fields",
    "format": "array"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "firstSeenAt": {
    "label": "First seen",
    "format": "string"
  },
  "closedAt": {
    "label": "Closed",
    "format": "string"
  },
  "ats": {
    "label": "ATS",
    "format": "string"
  },
  "jobId": {
    "label": "Job ID",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Greenhouse, Lever & Ashby Jobs API — New, Changed & Closed Jobs Actor is ready to run with the inputs already set for "Remove expired job postings". [Sign up or log in](https://console.apify.com/create-task-from-example/AcBnVqebJAmxaPRsD) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Remove expired job postings" task

The Greenhouse, Lever & Ashby Jobs API — New, Changed & Closed Jobs Actor will start running based on the input automatically. You can also change all the input fields, like companies to track, days before an unresolved name is looked up again, and more, to match your specific use case.

### 3. Receive the "Remove expired job postings" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as change, why (view), company, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Remove expired job postings" task via API](https://apify.com/agitools/ats-jobs-delta.md).

## About this Actor

This example demonstrates how to use [Greenhouse, Lever & Ashby Jobs API — New, Changed & Closed Jobs](https://apify.com/agitools/ats-jobs-delta.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/agitools/ats-jobs-delta.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/agitools/ats-jobs-delta.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
