{
  "openapi": "3.0.1",
  "info": {
    "title": "Dependency Signal Monitor",
    "description": "Reads your repo's dependency manifests through a GitHub connector, scores each dependency for abandonment risk, and opens an issue listing the ones that are dying.",
    "version": "1.0",
    "x-build-id": "RmioYQx1SQ74RiIVf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ishekofficial~dependency-signal-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ishekofficial-dependency-signal-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/ishekofficial~dependency-signal-monitor/runs": {
      "post": {
        "operationId": "runs-sync-ishekofficial-dependency-signal-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/ishekofficial~dependency-signal-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-ishekofficial-dependency-signal-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",
        "required": [
          "repoConnector",
          "repoOwner",
          "repoName"
        ],
        "properties": {
          "repoConnector": {
            "title": "GitHub connector",
            "type": "string",
            "description": "Your authorized GitHub MCP connector. The Actor reads your dependency manifests through it and opens the results issue through the same connection. Your token never reaches the Actor: Apify injects it server-side."
          },
          "runMode": {
            "title": "Run mode",
            "type": "string",
            "description": "Maintenance option. Not shown in the form.",
            "default": "analyse"
          },
          "repoOwner": {
            "title": "Repository owner",
            "type": "string",
            "description": "GitHub username or organization that owns the repository to analyse."
          },
          "repoName": {
            "title": "Repository name",
            "type": "string",
            "description": "The repository whose dependencies you want checked. It does not have to be one you own: public repositories are readable by any token."
          },
          "branch": {
            "title": "Branch",
            "type": "string",
            "description": "Branch to read manifests from. Leave blank for the repository default."
          },
          "manifestPaths": {
            "title": "Manifest paths",
            "type": "array",
            "description": "Files to read. Leave empty to auto-detect the standard manifests at the repository root.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDevDependencies": {
            "title": "Include dev dependencies",
            "type": "boolean",
            "description": "Dev dependencies rarely ship to production but a dead build tool still blocks you.",
            "default": false
          },
          "maxDependencies": {
            "title": "Maximum dependencies to analyse",
            "minimum": 1,
            "maximum": 400,
            "type": "integer",
            "description": "Caps the run. Signals are fetched per dependency, so this is the main cost control.",
            "default": 60
          },
          "skipRepoSignals": {
            "title": "Skip repository lookups",
            "type": "boolean",
            "description": "Maintenance option. Not shown in the form.",
            "default": false
          },
          "issueOwner": {
            "title": "Open the issue in a different owner",
            "type": "string",
            "description": "Leave blank to use the analysed repository's owner. Set this when you are monitoring a repository you do not own and want the report filed in your own tracker."
          },
          "issueRepo": {
            "title": "Open the issue in a different repository",
            "type": "string",
            "description": "Leave blank to file the issue in the repository that was analysed."
          },
          "riskThreshold": {
            "title": "Report dependencies scoring at or below",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Health runs 0 to 100, where 100 is healthy. Anything at or below this lands in the issue.",
            "default": 45
          },
          "dryRun": {
            "title": "Dry run, do not open an issue",
            "type": "boolean",
            "description": "On by default. The Actor scores everything and writes the dataset, but does not touch your repository. Turn this off once the output looks right.",
            "default": true
          },
          "debugMode": {
            "title": "Detailed logging",
            "type": "boolean",
            "description": "Adds a line per package showing exactly what was found. Useful if a result looks wrong and you want to see why.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}