$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "schemaVersion": "1.1",
< "rows": [
< {
< "signalId": "nike-launch-001",
< "brandName": "Nike",
< "eventType": "product_launch",
< "severity": "high",
< "status": "active",
< "observedAt": "2024-02-29T12:00:00Z",
< "sourceUrl": "https://example.com/nike-launch"
< },
< {
< "signalId": "nike-price-001",
< "brandName": "Nike",
< "eventType": "price_change",
< "severity": "medium",
< "status": "resolved",
< "observedAt": "2024-03-01T12:00:00Z",
< "sourceUrl": "https://example.com/retail/nike-price"
< },
< {
< "signalId": "apple-risk-001",
< "brandName": "Apple",
< "eventType": "risk",
< "severity": "critical",
< "status": "active",
< "observedAt": "2024-03-02T12:00:00Z",
< "sourceUrl": "https://example.org/apple-risk"
< },
< {
< "signalId": "apple-review-001",
< "brandName": "Apple",
< "eventType": "review",
< "severity": "low",
< "status": "active",
< "observedAt": "2024-03-03T12:00:00Z",
< "sourceUrl": "https://example.org/apple-review"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~us-brand-signal-brand-summary/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'