{
  "openapi": "3.0.1",
  "info": {
    "title": "First-Time Hire Signals: a company's first marketer or IT hire",
    "description": "I read a company's live job postings and remember which functions it has hired for before. When a function such as marketing or IT appears for the first time, that is the row: the company has no team for it yet. Each row carries one line of reason and one pitch angle for whoever fills that gap.",
    "version": "0.1",
    "x-build-id": "FgUEIilBg2f6K5Yu0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fractionalhqforyou~first-time-hire-signals/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fractionalhqforyou-first-time-hire-signals",
        "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/fractionalhqforyou~first-time-hire-signals/runs": {
      "post": {
        "operationId": "runs-sync-fractionalhqforyou-first-time-hire-signals",
        "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/fractionalhqforyou~first-time-hire-signals/run-sync": {
      "post": {
        "operationId": "run-sync-fractionalhqforyou-first-time-hire-signals",
        "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": {
          "atsBoards": {
            "title": "Public job boards",
            "type": "string",
            "description": "One per line, as ats:identifier. Supported: greenhouse:boardToken, lever:site, ashby:jobBoardName, personio:company, workable:subdomain, smartrecruiters:companyIdentifier, recruitee:company. Examples: greenhouse:getyourguide, lever:qonto, ashby:pennylane, workable:skroutz, recruitee:channable. Teamtailor is not supported: its jobs API needs a per-company key."
          },
          "careerPageUrls": {
            "title": "Career page URLs",
            "type": "string",
            "description": "One per line. JobPosting JSON-LD on the page is read where it exists, otherwise job links on the page are followed up to the cap below."
          },
          "linkedinCompanyIds": {
            "title": "LinkedIn company ids (optional)",
            "type": "string",
            "description": "One numeric LinkedIn company id per line, for example 1441. These run the public curious_coder/linkedin-jobs-scraper Actor for the past month of postings and that run is billed to your own Apify account on top. Leave empty to skip LinkedIn."
          },
          "watchedRoles": {
            "title": "Functions to report on",
            "type": "array",
            "description": "Only rows in these functions are written. Every posting is still classified and remembered, so narrowing this list does not lose history.",
            "items": {
              "type": "string",
              "enum": [
                "marketing",
                "sales",
                "customer_success",
                "people_hr",
                "finance",
                "it_ops",
                "security",
                "data",
                "design",
                "product",
                "legal",
                "operations",
                "engineering_leadership"
              ],
              "enumTitles": [
                "Marketing",
                "Sales",
                "Customer success and support",
                "People and HR",
                "Finance",
                "IT and internal ops",
                "Security",
                "Data and analytics",
                "Design",
                "Product management",
                "Legal and compliance",
                "Operations",
                "Engineering leadership"
              ]
            },
            "default": [
              "marketing",
              "sales",
              "customer_success",
              "people_hr",
              "finance",
              "it_ops",
              "security",
              "data",
              "design",
              "product",
              "legal",
              "operations",
              "engineering_leadership"
            ]
          },
          "watchKey": {
            "title": "Watch key",
            "type": "string",
            "description": "Names the saved snapshot this run compares against. Use the same key every time for the same list of companies, and a different key for a different list.",
            "default": "default"
          },
          "maxPostingsPerSource": {
            "title": "Maximum postings per source",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on postings read from each board, career page or LinkedIn company.",
            "default": 50
          },
          "postings": {
            "title": "Posting records you already hold (optional)",
            "type": "array",
            "description": "A JSON array of posting records to classify without fetching anything. Each needs employer and title; url, department, location and date_posted are optional. Useful when another Actor already scraped the postings."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}