$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "vendors": [
< {
< "name": "GitHub",
< "status_json_url": "https://www.githubstatus.com/api/v2/incidents.json",
< "sla_threshold_pct": 99.9,
< "excluded_components": []
< },
< {
< "name": "Cloudflare",
< "status_json_url": "https://www.cloudflarestatus.com/api/v2/incidents.json",
< "sla_threshold_pct": 99.99,
< "excluded_components": []
< },
< {
< "name": "OpenAI",
< "status_json_url": "https://status.openai.com/api/v2/incidents.json",
< "sla_threshold_pct": 99.9,
< "excluded_components": []
< }
< ],
< "periodStart": "",
< "periodEnd": "",
< "downtimeImpacts": [
< "critical",
< "major"
< ],
< "maxHistoryPages": 3,
< "maxIncidentsPerReport": 200,
< "requestTimeoutSeconds": 30,
< "concurrency": 5,
< "maxRedirects": 5,
< "maxResponseBytes": 5000000
<}
<EOF
$curl "https://api.apify.com/v2/actors/kingii98~vendor-sla-attainment-and-credit-claim-report/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'