$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "workflow": "collect",
< "mode": "search",
< "query": "kubernetes",
< "feed": "top",
< "username": "",
< "itemIds": [],
< "sort": "date",
< "itemTypes": [
< "story"
< ],
< "author": "",
< "minPoints": 0,
< "minComments": 0,
< "domain": "",
< "dateFrom": "",
< "dateTo": "",
< "includeComments": false,
< "maxCommentsPerItem": 5,
< "commentDepth": 1,
< "includeUserProfile": true,
< "stateNamespace": "default",
< "firstRunBehavior": "seed_only",
< "maxResults": 200,
< "maxBuyerChargeUsd": 1,
< "maxRuntimeSecs": 180
<}
<EOF
$curl "https://api.apify.com/v2/actors/luminar~hackernews-scraper-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'