$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchTerms": [
< "(\"can anyone recommend\" OR \"any recommendations for\" OR \"need help with\" OR \"how do I fix\") (laptop OR phone OR headphones) lang:en -filter:nativeretweets"
< ],
< "maxItems": 1000,
< "analysis": {
< "questions": [
< {
< "id": "request",
< "type": "choice",
< "version": "1",
< "instructions": "What does the author ask for?",
< "categories": {
< "support": "Help with a problem.",
< "recommendation": "Advice on choosing a product.",
< "other": "Neither request."
< }
< }
< ],
< "targets": [],
< "context": "",
< "maxContextBytes": 12000,
< "concurrency": 16
< },
< "monitor": {
< "maxBaselineRows": 100000
< },
< "queryType": "Latest + Top",
< "includeSearchTerms": true
<}
<EOF
$curl "https://api.apify.com/v2/actors/xquik~x-twitter-tweet-classifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'