{
  "openapi": "3.0.1",
  "info": {
    "title": "PitchDeck Analyzer & Generator Pro V.1",
    "description": "Analyze, improve & generate pitch decks with AI. Get score, red flags, investor matches, rewrites, valuation. Supports Claude, OpenAI, Grok. Export PPTX. Perfect for founders raising funds.",
    "version": "0.0",
    "x-build-id": "jG7VbFlVdCCReIGsz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor_researcher.48~pitchdeck-analyzer-generator-pro-v-1/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor_researcher.48-pitchdeck-analyzer-generator-pro-v-1",
        "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~pitchdeck-analyzer-generator-pro-v-1/runs": {
      "post": {
        "operationId": "runs-sync-actor_researcher.48-pitchdeck-analyzer-generator-pro-v-1",
        "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~pitchdeck-analyzer-generator-pro-v-1/run-sync": {
      "post": {
        "operationId": "run-sync-actor_researcher.48-pitchdeck-analyzer-generator-pro-v-1",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "analyze",
              "generate"
            ],
            "type": "string",
            "description": "Choose what you want to do",
            "default": "analyze"
          },
          "deckInput": {
            "title": "Deck Input (URL or Text)",
            "type": "string",
            "description": "Paste deck URL (Google Slides, PDF) or full deck text. Leave empty if uploading file."
          },
          "deckFile": {
            "title": "Upload Deck File (PDF)",
            "type": "string",
            "description": "Upload PDF file. After upload, paste the file key here."
          },
          "batchMode": {
            "title": "Batch Mode",
            "type": "boolean",
            "description": "Analyze 2-10 decks at once",
            "default": false
          },
          "deckInputs": {
            "title": "Multiple Deck URLs",
            "type": "array",
            "description": "URLs for batch analysis",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "compareDecks": {
            "title": "Compare Decks",
            "type": "boolean",
            "description": "Compare 2-3 decks side-by-side",
            "default": false
          },
          "comparisonDeck2": {
            "title": "Second Deck",
            "type": "string",
            "description": "URL or text for second deck"
          },
          "comparisonDeck3": {
            "title": "Third Deck",
            "type": "string",
            "description": "URL or text for third deck (optional)"
          },
          "investorStage": {
            "title": "Investor Stage",
            "enum": [
              "preseed",
              "seed",
              "seriesA",
              "seriesB"
            ],
            "type": "string",
            "description": "Fundraising stage",
            "default": "seed"
          },
          "investorFocus": {
            "title": "Investor Focus",
            "type": "string",
            "description": "Industry focus",
            "default": "general"
          },
          "startupName": {
            "title": "Startup Name",
            "type": "string",
            "description": "Your company name",
            "default": "My Startup"
          },
          "startupDescription": {
            "title": "Startup Description",
            "type": "string",
            "description": "What does your company do? (min 30 chars)"
          },
          "problemStatement": {
            "title": "Problem",
            "type": "string",
            "description": "What problem are you solving?"
          },
          "solutionStatement": {
            "title": "Solution",
            "type": "string",
            "description": "How do you solve it?"
          },
          "targetMarket": {
            "title": "Market",
            "type": "string",
            "description": "Target customers and market size"
          },
          "businessModel": {
            "title": "Business Model",
            "type": "string",
            "description": "How you make money"
          },
          "teamInfo": {
            "title": "Team",
            "type": "string",
            "description": "Founding team and key hires"
          },
          "tractionInfo": {
            "title": "Traction",
            "type": "string",
            "description": "Revenue, users, growth metrics"
          },
          "competitorInfo": {
            "title": "Competition",
            "type": "string",
            "description": "Competitors and differentiation"
          },
          "fundingAsk": {
            "title": "Funding Ask",
            "type": "string",
            "description": "Amount raising (e.g. '$2M')"
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "saas",
              "fintech",
              "healthcare",
              "ecommerce",
              "marketplace",
              "ai",
              "climate",
              "hardware",
              "consumer",
              "enterprise"
            ],
            "type": "string",
            "description": "Choose template for your industry",
            "default": "saas"
          },
          "generateFromUrl": {
            "title": "Generate from URL",
            "type": "string",
            "description": "Scrape website to auto-fill content"
          },
          "projectName": {
            "title": "Project Name",
            "type": "string",
            "description": "Name for this analysis"
          },
          "includeValuation": {
            "title": "Valuation Estimate",
            "type": "boolean",
            "description": "Get AI valuation estimate",
            "default": true
          },
          "detectRedFlags": {
            "title": "Red Flags",
            "type": "boolean",
            "description": "Identify potential issues",
            "default": true
          },
          "estimateDuration": {
            "title": "Slide Duration",
            "type": "boolean",
            "description": "Estimate presentation time",
            "default": true
          },
          "generateCharts": {
            "title": "Generate Charts",
            "type": "boolean",
            "description": "Create chart placeholders",
            "default": true
          },
          "generateRewrites": {
            "title": "Slide Rewrites",
            "type": "boolean",
            "description": "Improve weak slides",
            "default": true
          },
          "findInvestors": {
            "title": "Find Investors",
            "type": "boolean",
            "description": "Match with relevant VCs",
            "default": true
          },
          "competitiveIntel": {
            "title": "Competitive Intel",
            "type": "boolean",
            "description": "Find competitors and gaps",
            "default": true
          },
          "generateQA": {
            "title": "Q&A Prep",
            "type": "boolean",
            "description": "Generate tough Q&A",
            "default": true
          },
          "executiveSummary": {
            "title": "Exec Summary",
            "type": "boolean",
            "description": "Create executive summary",
            "default": true
          },
          "tailorForInvestor": {
            "title": "Tailor for Investor",
            "type": "string",
            "description": "Name of specific VC/firm"
          },
          "aiProvider": {
            "title": "AI Provider",
            "enum": [
              "claude",
              "openai",
              "grok"
            ],
            "type": "string",
            "description": "Choose AI provider",
            "default": "claude"
          },
          "apiKey": {
            "title": "API Key",
            "type": "string",
            "description": "Your AI API key (OPTIONAL - works without it)"
          },
          "notifySlackWebhook": {
            "title": "Slack Webhook",
            "type": "string",
            "description": "Slack webhook URL"
          },
          "notifyDiscordWebhook": {
            "title": "Discord Webhook",
            "type": "string",
            "description": "Discord webhook URL"
          },
          "notifyEmail": {
            "title": "Email",
            "type": "string",
            "description": "Email for notifications"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}