{
  "openapi": "3.0.1",
  "info": {
    "title": "Greenhouse Hiring Change Feed",
    "description": "Monitor up to ten public Greenhouse job boards per run for new, changed, removed and reappearing postings. Title/location filters, retained history and confirmed removals. Export jobs and change evidence as JSON or CSV. Independent service; no applicant data.",
    "version": "0.0",
    "x-build-id": "8PVlalhKAR4jn0qiq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/copperline_studio~greenhouse-hiring-change-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-copperline_studio-greenhouse-hiring-change-feed",
        "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/copperline_studio~greenhouse-hiring-change-feed/runs": {
      "post": {
        "operationId": "runs-sync-copperline_studio-greenhouse-hiring-change-feed",
        "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/copperline_studio~greenhouse-hiring-change-feed/run-sync": {
      "post": {
        "operationId": "run-sync-copperline_studio-greenhouse-hiring-change-feed",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "collect",
              "compare"
            ],
            "type": "string",
            "description": "Collect a public Greenhouse job board or compare supplied snapshots without network access.",
            "default": "collect"
          },
          "boards": {
            "title": "Company watchlist",
            "maxItems": 10,
            "type": "array",
            "description": "Up to ten public Greenhouse board tokens or approved public board URLs. Overrides the single-board input when nonempty. Duplicate boards are fetched once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Job-title filters",
            "maxItems": 20,
            "type": "array",
            "description": "Up to twenty case-insensitive title substrings. Any term matches; leave empty for all titles. Filters affect output, not the retained full-board baseline.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Location filters",
            "maxItems": 20,
            "type": "array",
            "description": "Up to twenty case-insensitive location substrings. Any term matches, and the title filter must also match. Unknown locations are not inferred.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "removalConfirmations": {
            "title": "Complete checks to confirm removal",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "One to three consecutive complete observations before reporting a missing posting as removed. Default two. Applies to retained collection history. Supplied snapshot comparisons have one comparison only.",
            "default": 2
          },
          "includeSnapshot": {
            "title": "Include full snapshot in report",
            "type": "boolean",
            "description": "Default false for compact reports. Current snapshots are available in run storage. Matching jobs and changes remain in the report.",
            "default": false
          },
          "board": {
            "title": "Greenhouse board token",
            "type": "string",
            "description": "Single public Greenhouse token or approved US board URL. Ignored when the company watchlist is nonempty. No credentials or custom hosts."
          },
          "maxJobs": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "1 to 5000 jobs, default 1000. Hitting a cap makes the snapshot incomplete and suppresses removal events.",
            "default": 1000
          },
          "retainBaseline": {
            "title": "Automatic baseline",
            "type": "boolean",
            "description": "Retain complete observations in your own account and compare subsequent collection runs automatically.",
            "default": true
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Separate workflows using 1 to 50 letters, numbers, underscores or hyphens. Run each key sequentially.",
            "default": "default"
          },
          "previousSnapshot": {
            "title": "Previous snapshot",
            "type": "object",
            "description": "Optional supplied baseline; overrides retained comparison input. Required in compare mode. Same board and older timestamp required.",
            "default": {}
          },
          "currentSnapshot": {
            "title": "Current supplied snapshot",
            "type": "object",
            "description": "Compare mode only. Include board, observed_at, complete and jobs (id, title, location, url).",
            "default": {}
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}