$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "jobId": "J1",
< "company": "Acme",
< "role": "Data Engineer",
< "employmentType": "Permanent",
< "conversionWeight": 1,
< "date": "2026-09-10"
< },
< {
< "jobId": "J2",
< "company": "Acme",
< "role": "Data Engineer",
< "employmentType": "Permanent",
< "conversionWeight": 1,
< "date": "2026-09-10"
< },
< {
< "jobId": "J3",
< "company": "Beta",
< "role": "Designer",
< "employmentType": "Contract",
< "conversionWeight": 0,
< "date": "2026-09-10"
< }
< ],
< "previousItems": [
< {
< "jobId": "P1",
< "company": "Acme",
< "role": "Data Engineer",
< "employmentType": "Contract",
< "conversionWeight": 0,
< "date": "2026-08-01"
< },
< {
< "jobId": "P2",
< "company": "Beta",
< "role": "Designer",
< "employmentType": "Contract",
< "conversionWeight": 0,
< "date": "2026-08-01"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~contractor-employee-conversion-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'