$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "analyze",
< "deckInput": "Sample Startup Pitch:\n\nProblem: Small businesses struggle with customer support automation, spending $50K+ annually on support staff.\n\nSolution: Our AI-powered chatbot platform reduces support costs by 70% while improving response times.\n\nMarket: $8.5B TAM in SMB customer support software, growing 18% YoY.\n\nTraction: 150 customers, $400K ARR, 25% MoM growth.\n\nTeam: 2 founders with 15 years combined experience in AI and SaaS.\n\nFunding Ask: Raising $2M seed round for product development and sales team expansion.",
< "deckFile": "",
< "batchMode": false,
< "deckInputs": [],
< "compareDecks": false,
< "comparisonDeck2": "",
< "comparisonDeck3": "",
< "investorStage": "seed",
< "investorFocus": "general",
< "startupName": "Demo AI Startup",
< "startupDescription": "An AI-powered customer support automation platform that helps small businesses reduce support costs by 70% while improving response times and customer satisfaction scores.",
< "problemStatement": "",
< "solutionStatement": "",
< "targetMarket": "",
< "businessModel": "",
< "teamInfo": "",
< "tractionInfo": "",
< "competitorInfo": "",
< "fundingAsk": "",
< "industry": "saas",
< "generateFromUrl": "",
< "projectName": "",
< "includeValuation": true,
< "detectRedFlags": true,
< "estimateDuration": true,
< "generateCharts": true,
< "generateRewrites": true,
< "findInvestors": true,
< "competitiveIntel": true,
< "generateQA": true,
< "executiveSummary": true,
< "tailorForInvestor": "",
< "aiProvider": "claude",
< "apiKey": "",
< "notifySlackWebhook": "",
< "notifyDiscordWebhook": "",
< "notifyEmail": ""
<}
<EOF
$curl "https://api.apify.com/v2/acts/actor_researcher.48~pitchdeck-analyzer-generator-pro-v-1/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'