$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "success": true,
< "query_phrase": "star wars",
< "trademark_wordmark": "star wars",
< "serial_number": 73149856,
< "status": "LIVE",
< "filing_date": "1977-11-25",
< "registration_date": "1979-10-30",
< "classes": "25",
< "__source": {
< "actor": "dev00/uspto-trademark-api",
< "actorId": "nhSY7qeLJUsvkXQTH",
< "runId": "1UQYwy4rLd96omF0V",
< "datasetId": "bV1vfVZVsUCA3PT1R",
< "sampleRowIndex": 0,
< "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
< }
< },
< {
< "success": true,
< "query_phrase": "star wars",
< "trademark_wordmark": "star wars",
< "serial_number": 73487823,
< "status": "LIVE",
< "filing_date": "1984-06-29",
< "registration_date": "1985-11-19",
< "classes": "25",
< "__source": {
< "actor": "dev00/uspto-trademark-api",
< "actorId": "nhSY7qeLJUsvkXQTH",
< "runId": "1UQYwy4rLd96omF0V",
< "datasetId": "bV1vfVZVsUCA3PT1R",
< "sampleRowIndex": 1,
< "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
< }
< },
< {
< "success": true,
< "query_phrase": "star wars",
< "trademark_wordmark": "star wars",
< "serial_number": 75306994,
< "status": "LIVE",
< "filing_date": "1997-06-11",
< "registration_date": "2002-01-29",
< "classes": "25",
< "__source": {
< "actor": "dev00/uspto-trademark-api",
< "actorId": "nhSY7qeLJUsvkXQTH",
< "runId": "1UQYwy4rLd96omF0V",
< "datasetId": "bV1vfVZVsUCA3PT1R",
< "sampleRowIndex": 2,
< "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~trademark-class-overlap-review/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'