$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "tags": [
< "machine-learning"
< ],
< "authors": [],
< "publications": [],
< "articleUrls": [],
< "startUrls": [],
< "minClaps": 0,
< "minResponses": 0,
< "minReadingTimeMinutes": 0,
< "maxReadingTimeMinutes": 0,
< "minWordCount": 0,
< "paywall": "all",
< "languages": [],
< "includeKeywords": [],
< "excludeKeywords": [],
< "requiredTags": [],
< "onlyPublications": [],
< "onlyAuthors": [],
< "excludeResponses": true,
< "includeContent": false,
< "contentFormat": "markdown",
< "includeLinksAndImages": false,
< "includeAuthorDetails": false,
< "onlyNewArticles": false,
< "monitorScope": "default",
< "maxItems": 10,
< "sortBy": "newest",
< "maxDaysToScan": 14,
< "maxConcurrency": 3,
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/getascraper~medium-articles-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'