$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "brandName": "Northstar CRM",
< "reportPeriod": "May 2026",
< "visibilityChecks": [
< {
< "status": "succeeded",
< "brandMentioned": false,
< "brandDomainMentioned": false,
< "visibilityScore": 5,
< "query": "best CRM for B2B SaaS teams",
< "modelId": "openrouter/auto",
< "competitorsMentioned": [
< "HubSpot",
< "Salesforce",
< "Pipedrive"
< ],
< "recommendation": "Publish comparison and alternatives content for B2B SaaS CRM buyers."
< },
< {
< "status": "succeeded",
< "brandMentioned": true,
< "brandDomainMentioned": false,
< "visibilityScore": 55,
< "query": "HubSpot alternatives for product-led sales teams",
< "modelId": "openrouter/auto",
< "competitorsMentioned": [
< "HubSpot"
< ],
< "recommendation": "Strengthen canonical domain citations and publish a direct alternatives page."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/geneius~ai-visibility-report-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'