$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "items",
< "items": [
< {
< "vendorName": "Acme Payments",
< "source": "Statuspage",
< "severity": "major outage",
< "status": "resolved",
< "incidentTitle": "Checkout API outage",
< "description": "Checkout API returned elevated 500 errors. Payments and webhooks were delayed for enterprise customers.",
< "components": [
< "Checkout API",
< "Webhooks"
< ],
< "startedAt": "2026-07-06T10:00:00.000Z",
< "resolvedAt": "2026-07-06T12:45:00.000Z",
< "incidentUrl": "https://status.example/incidents/acme-checkout-api"
< },
< {
< "vendorName": "GrowthStack",
< "source": "Instatus",
< "severity": "scheduled maintenance",
< "status": "scheduled",
< "incidentTitle": "Database migration maintenance",
< "description": "Scheduled database migration may cause dashboard latency for 30 minutes.",
< "components": [
< "Database",
< "Dashboard"
< ],
< "startedAt": "2026-07-08T02:00:00.000Z",
< "resolvedAt": "2026-07-08T02:30:00.000Z",
< "incidentUrl": "https://status.example/incidents/growthstack-db-maintenance"
< },
< {
< "vendorName": "Acme Payments",
< "source": "Statuspage",
< "severity": "degraded performance",
< "status": "investigating",
< "incidentTitle": "Webhook delivery delays",
< "description": "Webhook delivery is delayed for API customers in EU region. Engineers are investigating elevated queue latency.",
< "components": [
< "Webhooks",
< "API",
< "EU region"
< ],
< "startedAt": "2026-07-07T09:15:00.000Z",
< "incidentUrl": "https://status.example/incidents/acme-webhook-delays"
< }
< ],
< "yourProduct": "Reliable payment orchestration platform for SaaS teams that need resilient checkout, webhooks, and customer communication",
< "targetVendors": [
< "Acme Payments",
< "GrowthStack"
< ],
< "targetSegments": [
< "enterprise SaaS",
< "customer success",
< "RevOps"
< ],
< "criticalComponents": [
< "checkout",
< "payments",
< "webhooks",
< "api",
< "auth"
< ],
< "scrapedAt": "2026-07-07T00:00:00.000Z"
<}
<EOF
$curl "https://api.apify.com/v2/acts/rotvuvo~status-page-incident-trigger-scorer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'