$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "j1",
< "company": "Acme",
< "role": "AI Engineer",
< "location": "Austin",
< "openings": 18
< },
< {
< "id": "j2",
< "company": "Acme",
< "role": "AI Engineer",
< "location": "Austin",
< "openings": 14
< },
< {
< "id": "j3",
< "company": "Beta",
< "role": "Data Engineer",
< "location": "Boston",
< "openings": 6
< }
< ],
< "previousItems": [
< {
< "id": "j1",
< "company": "Acme",
< "role": "AI Engineer",
< "location": "Austin",
< "openings": 6
< },
< {
< "id": "j3",
< "company": "Beta",
< "role": "Data Engineer",
< "location": "Boston",
< "openings": 5
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~employer-hiring-concentration-risk-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'