{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Pay Transparency Compliance Checker",
    "description": "Audit any company's job adverts against the EU Pay Transparency Directive. Flags missing salary ranges, vague pay wording, and illegal pay-history questions. Reads public ATS feeds from Greenhouse, Lever, Ashby, Recruitee and Personio. No login or API key needed.",
    "version": "0.0",
    "x-build-id": "GoTP0b4TcbUfnujhl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/penpaste~eu-pay-transparency-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-penpaste-eu-pay-transparency-checker",
        "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/penpaste~eu-pay-transparency-checker/runs": {
      "post": {
        "operationId": "runs-sync-penpaste-eu-pay-transparency-checker",
        "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/penpaste~eu-pay-transparency-checker/run-sync": {
      "post": {
        "operationId": "run-sync-penpaste-eu-pay-transparency-checker",
        "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": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "Companies to check",
            "maxItems": 200,
            "type": "array",
            "description": "One per line, up to 200. Use 'ats:slug' (e.g. greenhouse:stripe), a full careers board URL, or a bare slug to auto-detect.",
            "items": {
              "type": "string"
            }
          },
          "atsHint": {
            "title": "ATS platform",
            "enum": [
              "auto",
              "greenhouse",
              "lever",
              "ashby",
              "recruitee",
              "personio"
            ],
            "type": "string",
            "description": "Force a platform for bare slugs. 'auto' probes each in turn.",
            "default": "auto"
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Caps large boards so a single company cannot consume the whole run.",
            "default": 200
          },
          "onlyNonCompliant": {
            "title": "Only output non-compliant jobs",
            "type": "boolean",
            "description": "Skip compliant roles. Useful for a remediation worklist or a prospecting feed.",
            "default": false
          },
          "maxRangeRatio": {
            "title": "Max acceptable range width (x)",
            "minimum": 1.1,
            "maximum": 10,
            "type": "number",
            "description": "Flags bands wider than this multiple as potentially non-informative. 2.0 means €40k-€80k passes but €40k-€120k is flagged.",
            "default": 2
          },
          "assumeEuOnly": {
            "title": "Treat every job as in-scope",
            "type": "boolean",
            "description": "Skip jurisdiction detection and check all roles. Use when you already know the whole board is EU.",
            "default": false
          },
          "useAiReview": {
            "title": "Enable AI review for ambiguous adverts",
            "type": "boolean",
            "description": "Uses Gemini only where the rules engine finds no pay data, to catch unusual phrasing and untemplated languages. Optional.",
            "default": true
          },
          "geminiApiKey": {
            "title": "Gemini API key (optional)",
            "type": "string",
            "description": "Free key from aistudio.google.com. Leave blank to run rules-only. Stored encrypted."
          },
          "geminiModel": {
            "title": "Gemini model",
            "enum": [
              "gemini-3.5-flash-lite",
              "gemini-3.1-flash-lite",
              "gemini-3.6-flash",
              "gemini-3.5-flash",
              "gemini-2.5-flash-lite",
              "gemini-2.5-flash"
            ],
            "type": "string",
            "description": "Gemini 3.5 Flash-Lite is the current cheapest option and the safe default. The 2.5 models are blocked for new API keys and shut down 16 Oct 2026 - only pick one if you have an older key that already works.",
            "default": "gemini-3.5-flash-lite"
          },
          "maxAiCalls": {
            "title": "Max AI calls per run",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Protects your free-tier quota. Rules-only analysis continues after the cap.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}