{
  "openapi": "3.0.1",
  "info": {
    "title": "Workday Jobs API: Openings by Country, Any Site",
    "description": "Reviews under Workday scrapers: apply links that lead to a page which does not exist, and one career site per run. Here the link comes from Workday's own externalUrl, and one run walks many career sites. Country, timeType, posted date, real totals.",
    "version": "0.1",
    "x-build-id": "Ph8uVdVAcWe1LzhQ7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stas_k~workday-jobs-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stas_k-workday-jobs-api",
        "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/stas_k~workday-jobs-api/runs": {
      "post": {
        "operationId": "runs-sync-stas_k-workday-jobs-api",
        "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/stas_k~workday-jobs-api/run-sync": {
      "post": {
        "operationId": "run-sync-stas_k-workday-jobs-api",
        "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": "Workday career sites",
            "type": "array",
            "description": "One line per employer: the full Workday career site URL, e.g. https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite. A host without the site segment is reported back with a hint, never filled with a guessed default.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Filter by words in the job",
            "type": "string",
            "description": "Comma separated. Every word must appear in the job title or its location, e.g. engineer, data, london. Empty = every open job. Jobs the filter drops are never charged.",
            "default": ""
          },
          "countries": {
            "title": "Filter by country",
            "type": "array",
            "description": "Countries you want, e.g. US, Germany, Brazil. Read from the location in every shape Workday writes it: 'US, CA, Santa Clara', 'Plano, TX', 'Toronto, ON', 'Sao Paulo, Brazil', 'United Kingdom - London'. A trailing two-letter segment is a US state or Canadian province, never a country: 'CA' in 'San Francisco, CA' is California, so a 'Canada' filter returns Canadian jobs only. A row that names no country at all ('5 Locations', a bare city) is resolved from its own detail record before the filter decides, and is dropped only if that says nothing. Empty = every country.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Filter by location",
            "type": "string",
            "description": "Case-insensitive substring of the job location, e.g. Berlin, Remote, United States. Empty = all locations.",
            "default": ""
          },
          "onlyRemote": {
            "title": "Only remote jobs",
            "type": "boolean",
            "description": "true = keep only jobs whose location says remote / work from home / anywhere.",
            "default": false
          },
          "maxJobsPerCompany": {
            "title": "Max jobs per employer",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Workday returns 20 postings per request, so 200 jobs is 10 requests. Your keywords also go to Workday's own search, so a match deep in a big board is still found. A board bigger than this is flagged `truncated` in BOARD_REPORT with the real total - never silently cut.",
            "default": 200
          },
          "includeDescription": {
            "title": "Include full job description",
            "type": "boolean",
            "description": "Each description costs one extra request (~0.7 s measured), so it is opt-in and capped by the next field.",
            "default": false
          },
          "maxDescriptionsPerCompany": {
            "title": "Description cap per employer",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many of the delivered jobs get a full description. The rest still arrive with title, location and apply URL.",
            "default": 40
          },
          "maxCompanies": {
            "title": "Max employers per run",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Boards are read in parallel; a cap keeps one run inside a sane time budget. The default reads every URL you pass (up to 200); anything dropped above the cap is counted in SUMMARY.boardsSkippedByMaxCompanies and written to the log - never silently.",
            "default": 200
          },
          "includeEmptyCompanies": {
            "title": "Report boards that gave nothing",
            "type": "boolean",
            "description": "true = push a NO_JOBS or an error row for every board that delivered nothing, so a zero is visible in the dataset instead of an empty table. Such rows are free.",
            "default": false
          },
          "cacheMinutes": {
            "title": "Cache window (minutes)",
            "minimum": 0,
            "maximum": 10080,
            "type": "integer",
            "description": "A repeated run inside this window reuses the answer instead of hitting the same board again. 0 turns the cache off.",
            "default": 60
          },
          "maxCountryProbes": {
            "title": "Country lookups for vague locations",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "A row whose location reads two ways ('Bangalore, In' = Indiana or India, 'San Francisco, CA' = California or Canada) or names no country at all ('5 Locations', 'Berlin') costs one extra request to read its country from the job's own detail record. This is the budget for the WHOLE run, across all boards. Rows still unproven when it is spent are counted in SUMMARY.rowsWithoutCountry, not delivered and not charged - a guess is never billed. A row that already names a different city than your location filter is not probed and not called lost: your own filter would have dropped it anyway.",
            "default": 400
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}