{
  "openapi": "3.0.1",
  "info": {
    "title": "GitHub Developer Intelligence v1.0",
    "description": "Discover breakout GitHub repos with AI analysis find rising stars, top developers & emerging tech trends. VC deal scoring & recruiting intelligence. MCP automation: HubSpot CRM for deals, Calendly for investor calls, Notion for profiles, Airtable tracking.",
    "version": "0.0",
    "x-build-id": "JxquBx8KtcwLrcH4H"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor_researcher.48~github-developer-intelligence-v1-0/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor_researcher.48-github-developer-intelligence-v1-0",
        "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/actor_researcher.48~github-developer-intelligence-v1-0/runs": {
      "post": {
        "operationId": "runs-sync-actor_researcher.48-github-developer-intelligence-v1-0",
        "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/actor_researcher.48~github-developer-intelligence-v1-0/run-sync": {
      "post": {
        "operationId": "run-sync-actor_researcher.48-github-developer-intelligence-v1-0",
        "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": {
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "GitHub search syntax (e.g. language:Python stars:>5000)",
            "default": "stars:>10000"
          },
          "targetRepos": {
            "title": "Target Repositories",
            "type": "array",
            "description": "Direct repositories to analyze (owner/repo). Overrides search if provided.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "targetOrgs": {
            "title": "Target Organizations",
            "type": "array",
            "description": "Analyze repositories from GitHub organizations (e.g. vercel, openai)",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxRepos": {
            "title": "Max Repositories",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum repositories to analyze",
            "default": 10
          },
          "minStars": {
            "title": "Minimum Stars",
            "minimum": 0,
            "type": "integer",
            "description": "Skip repositories below this star count",
            "default": 0
          },
          "excludeRepos": {
            "title": "Exclude Repositories",
            "type": "array",
            "description": "Repositories to skip (owner/repo)",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "githubToken": {
            "title": "GitHub Token (Highly Recommended)",
            "type": "string",
            "description": "Increases rate limit from 60 to 5000 requests/hour. https://github.com/settings/tokens"
          },
          "maxApiCalls": {
            "title": "Max API Calls",
            "minimum": 50,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on GitHub API usage",
            "default": 500
          },
          "detectBreakouts": {
            "title": "Detect Breakout Projects",
            "type": "boolean",
            "description": "Identify fast-growing repositories",
            "default": true
          },
          "analyzeCodeQuality": {
            "title": "Analyze Code Quality",
            "type": "boolean",
            "description": "Check README, CI/CD, tests, and repo hygiene",
            "default": true
          },
          "analyzeDependencies": {
            "title": "Analyze Dependencies",
            "type": "boolean",
            "description": "⚠️ Slow — parses package files (package.json, requirements.txt, etc.)",
            "default": false
          },
          "includeIssueMetrics": {
            "title": "Include Issue Metrics",
            "type": "boolean",
            "description": "⚠️ Slow — issue resolution and health stats",
            "default": false
          },
          "includePRMetrics": {
            "title": "Include PR Metrics",
            "type": "boolean",
            "description": "⚠️ Slow — pull request merge stats",
            "default": false
          },
          "aiProvider": {
            "title": "AI Provider",
            "enum": [
              "none",
              "anthropic",
              "openai",
              "groq"
            ],
            "type": "string",
            "description": "Generate strategic insights and summaries",
            "default": "none"
          },
          "aiApiKey": {
            "title": "AI API Key",
            "type": "string",
            "description": "API key for the selected AI provider"
          },
          "useProxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "⚠️ Slower but safer for rate limits. Disable for speed.",
            "default": false
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Parallel repository analysis (1 = safest)",
            "default": 1
          },
          "mode": {
            "title": "Operation Mode",
            "enum": [
              "analysis",
              "vc_deal_flow",
              "recruiter_pipeline",
              "tech_radar",
              "competitive_watch"
            ],
            "type": "string",
            "description": "Choose how results are used: analysis only or automated workflows",
            "default": "analysis"
          },
          "automationConfig": {
            "title": "Automation Configuration (Advanced)",
            "type": "object",
            "description": "Advanced configuration for automation workflows",
            "default": {}
          },
          "hubspotApiKey": {
            "title": "HubSpot API Key",
            "type": "string",
            "description": "CRM integration"
          },
          "calendlyApiKey": {
            "title": "Calendly API Key",
            "type": "string",
            "description": "Meeting automation"
          },
          "slackWebhookUrl": {
            "title": "Slack Webhook URL",
            "type": "string",
            "description": "Send alerts to Slack"
          },
          "notionApiKey": {
            "title": "Notion API Key",
            "type": "string",
            "description": "Notion integration"
          },
          "notionDatabaseId": {
            "title": "Notion Database ID",
            "type": "string",
            "description": "Target Notion database",
            "default": ""
          },
          "airtableApiKey": {
            "title": "Airtable API Key",
            "type": "string",
            "description": "Airtable integration"
          },
          "airtableBaseId": {
            "title": "Airtable Base ID",
            "type": "string",
            "description": "Target Airtable base",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}