{
  "openapi": "3.0.1",
  "info": {
    "title": "Hiring Pulse Benchmarks — growth, days-to-fill, AI share",
    "description": "Hiring benchmarks from daily job-board history, yours or ours: growth, roles opened and closed, median days-to-fill, remote share and department demand by industry, company size and job-board vendor, plus leaderboards and a publish-ready report.",
    "version": "0.1",
    "x-build-id": "pgdNxJG8a611OYgn0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/agilityy~hiring-pulse-benchmarks/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-agilityy-hiring-pulse-benchmarks",
        "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/agilityy~hiring-pulse-benchmarks/runs": {
      "post": {
        "operationId": "runs-sync-agilityy-hiring-pulse-benchmarks",
        "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/agilityy~hiring-pulse-benchmarks/run-sync": {
      "post": {
        "operationId": "run-sync-agilityy-hiring-pulse-benchmarks",
        "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": {
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "The named key-value store your Hiring Velocity Signals runs write to.",
            "default": "hiring-velocity-state"
          },
          "windowDays": {
            "title": "Window (days)",
            "minimum": 7,
            "maximum": 365,
            "type": "integer",
            "description": "Growth, opened/closed counts and days-to-fill are computed over this trailing window.",
            "default": 30
          },
          "minCompaniesPerSegment": {
            "title": "Minimum companies per segment",
            "minimum": 1,
            "type": "integer",
            "description": "Industry/size/ATS segments with fewer companies are not reported.",
            "default": 5
          },
          "leaderboardSize": {
            "title": "Leaderboard size",
            "minimum": 5,
            "maximum": 500,
            "type": "integer",
            "description": "How many companies to list on each leaderboard.",
            "default": 50
          },
          "publishReport": {
            "title": "Write PULSE_REPORT.md",
            "type": "boolean",
            "description": "Also store a publish-ready Markdown report in the run's key-value store.",
            "default": true
          },
          "maxStaleDays": {
            "title": "Max snapshot age (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Companies whose latest snapshot is older than this are excluded, so companies removed from the collector list stop influencing benchmarks.",
            "default": 3
          },
          "minHistoryDays": {
            "title": "Min history (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Companies whose snapshots span fewer days than this are tracked but not benchmarked yet, so a young universe does not pull every segment towards zero. 0 benchmarks everything.",
            "default": 14
          },
          "githubRepo": {
            "title": "GitHub repo to publish the report to (optional)",
            "type": "string",
            "description": "owner/name. If set together with githubToken, each run commits reports/<date>.md and reports/latest.md. Turn on GitHub Pages for a free public archive."
          },
          "githubToken": {
            "title": "GitHub token (optional)",
            "type": "string",
            "description": "Fine-grained token with Contents: read/write on that repo only."
          },
          "githubBranch": {
            "title": "GitHub branch",
            "type": "string",
            "description": "Branch to commit the report to.",
            "default": "main"
          },
          "githubPath": {
            "title": "Folder inside the repo",
            "type": "string",
            "description": "Folder inside the repository for the report files.",
            "default": "reports"
          },
          "forcePublish": {
            "title": "Force the GitHub commit from a manual run",
            "type": "boolean",
            "description": "Reports are committed to the repository only by scheduled runs, so a test or Console run can never overwrite the public archive. Tick this to commit from a manual run on purpose (for example to verify a new token).",
            "default": false
          },
          "historyStoreName": {
            "title": "Edition history store",
            "type": "string",
            "description": "Named key-value store that keeps one summary per committed edition; it feeds the 'since previous edition' columns and the trend chart. Created on first use.",
            "default": "hiring-pulse-history"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}