$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "rows": [
< {
< "company": "Figma",
< "website": "figma.com",
< "city": "San Francisco"
< },
< {
< "company": "Brex",
< "website": "brex.com",
< "city": "San Francisco"
< },
< {
< "company": "Kith",
< "website": "kithnyc.com",
< "city": "New York"
< },
< {
< "company": "Austin Dental Works",
< "website": "austindentalworks.com",
< "city": "Austin"
< },
< {
< "company": "Ogilvy",
< "website": "ogilvy.com",
< "city": "New York"
< },
< {
< "company": "Warby Parker",
< "website": "warbyparker.com",
< "city": "New York"
< }
< ],
< "instruction": "Which industry is {company} ({website}, based in {city}) in?",
< "mode": "classify",
< "labels": [
< "SaaS",
< "Fintech",
< "E-commerce",
< "Local services",
< "Agency",
< "Other"
< ],
< "outputColumn": "industry"
<}
<EOF
$curl "https://api.apify.com/v2/actors/bulkleads~ai-for-every-row-csv/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'