{
  "openapi": "3.0.1",
  "info": {
    "title": "Pay Transparency Compliance Monitor",
    "description": "Screen every posting on Greenhouse, Lever and Ashby boards for potential pay-transparency issues under US state and city laws, then re-check on a schedule and get alerted when a pay range is removed or a new posting has none. Potential issues for human review, not legal advice. By Steadfeed.",
    "version": "0.1",
    "x-build-id": "OQygdYqc3G4kag1IB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadfeed~pay-transparency-compliance-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadfeed-pay-transparency-compliance-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/steadfeed~pay-transparency-compliance-monitor/runs": {
      "post": {
        "operationId": "runs-sync-steadfeed-pay-transparency-compliance-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/steadfeed~pay-transparency-compliance-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-steadfeed-pay-transparency-compliance-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",
        "properties": {
          "boardUrls": {
            "title": "Careers / job-board URLs",
            "type": "array",
            "description": "Public Greenhouse, Lever or Ashby board links (boards.greenhouse.io/{slug}, jobs.lever.co/{slug}, jobs.ashbyhq.com/{slug}). A board link audits the whole board; a job link audits just that job. Up to 50 URLs resolving to at most 20 boards (with boards).",
            "items": {
              "type": "string"
            }
          },
          "boards": {
            "title": "Boards (slug form)",
            "maxItems": 20,
            "type": "array",
            "description": "Optional alternative to URLs: up to 20 objects {ats: greenhouse|lever|ashby, slug, company?, region?: us|eu (Lever only)}."
          },
          "watchlistId": {
            "title": "Watchlist name",
            "type": "string",
            "description": "Letters, numbers and hyphens. Each watchlist keeps its own history in a named storage, so scheduled runs with the same name compare against the previous run. The first run is a baseline.",
            "default": "default"
          },
          "trackChanges": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Compare with the previous run of this watchlist and report new, removed, resolved and edited postings. Turn off for a one-off audit.",
            "default": true
          },
          "hiringStates": {
            "title": "States you hire in (for remote roles)",
            "type": "array",
            "description": "Optional US state codes (for example CA, NY, WA) or NYC. Remote US roles are screened against these. Leave empty to screen remote roles against every in-force US state law.",
            "items": {
              "type": "string"
            }
          },
          "employeeCount": {
            "title": "Company size (employees)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Laws that only apply above a size threshold are skipped (and listed as skipped). Leave empty to screen against every law."
          },
          "locations": {
            "title": "Only postings with location text",
            "type": "array",
            "description": "Optional literal location words, for example California. OR within the list.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Only these countries",
            "type": "array",
            "description": "Optional ISO codes such as US, DE, or EU.",
            "items": {
              "type": "string"
            }
          },
          "remoteOnly": {
            "title": "Remote postings only",
            "type": "boolean",
            "description": "Include only postings explicitly marked remote.",
            "default": false
          },
          "titleKeywords": {
            "title": "Title contains (any)",
            "type": "array",
            "description": "Only postings whose title contains any of these words (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "maxJobsPerCompany": {
            "title": "Max postings per board",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Postings beyond the cap are not audited and are not billed. Boards that hit the cap are never treated as closed. The example is 5 so a first test costs about $0.10; the default is 100.",
            "default": 100
          },
          "webhookUrl": {
            "title": "Webhook URL (optional)",
            "type": "string",
            "description": "Public https URL that receives the report JSON by POST. No credentials in the URL."
          },
          "webhookOnlyWhenAlerts": {
            "title": "Send webhook only when there are alerts",
            "type": "boolean",
            "description": "When on, the webhook is only called if the run has high-priority alerts (a range removed, a new posting with a potential issue, or a posting that newly shows a potential issue).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}