$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sources": [
< {
< "type": "hackernews",
< "query": "who is hiring",
< "postTypes": [
< "hiring"
< ]
< }
< ],
< "icpConfig": {
< "sectors": [
< "saas",
< "fintech",
< "devtools"
< ],
< "companySizeRange": {
< "min": 10,
< "max": 500
< },
< "targetRoles": [
< "CTO",
< "VP Engineering",
< "Head of Product",
< "Engineering Manager"
< ],
< "keywords": [
< "api",
< "cloud",
< "kubernetes",
< "microservices"
< ],
< "locations": [
< "United States",
< "Brazil",
< "Europe"
< ],
< "techStack": [
< "React",
< "Node.js",
< "Postgres",
< "AWS"
< ],
< "excludedSectors": [
< "gaming",
< "consumer"
< ]
< },
< "triggerTypes": [
< "funding",
< "hiring",
< "content"
< ],
< "maxLeads": 200,
< "enrichmentLevel": "standard",
< "groqModel": "llama-3.3-70b-versatile",
< "openaiModel": "gpt-4o-mini",
< "proxyConfig": {
< "useApifyProxy": true
< },
< "icpDocuments": [
< "Our product helps B2B SaaS companies automate outbound sales. Our best customers are VP of Sales and Head of Growth at Series A–C companies with 20–200 employees, typically in the US or Europe. They use tools like Salesforce, HubSpot, Outreach, and Apollo. Key pain point: their SDRs spend 60% of time on manual research instead of conversations.",
< "Companies that are a poor fit: consumer apps, gaming, agencies, non-profits, or companies with fewer than 10 employees. Also avoid companies where the primary buyer is a CEO at very early stage — they rarely have budget."
< ],
< "ragTopK": 3,
< "ragEvalEnabled": true
<}
<EOF
$curl "https://api.apify.com/v2/acts/antoniovfranco~leadgraph/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'