$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "reviews": [
< {
< "locationId": "store-north",
< "reviewId": "r001",
< "rating": 1,
< "reviewTimestamp": "2026-03-01T09:00:00Z",
< "responseTimestamp": "2026-03-02T09:00:00Z"
< },
< {
< "locationId": "store-north",
< "reviewId": "r002",
< "rating": 2,
< "reviewTimestamp": "2026-03-01T10:00:00Z",
< "responseTimestamp": "2026-03-04T10:00:00Z"
< },
< {
< "locationId": "store-north",
< "reviewId": "r003",
< "rating": 1,
< "reviewTimestamp": "2026-03-05T12:00:00Z"
< },
< {
< "locationId": "store-north",
< "reviewId": "r004",
< "rating": 5,
< "reviewTimestamp": "2026-03-06T12:00:00Z"
< },
< {
< "locationId": "store-south",
< "reviewId": "r101",
< "rating": 2,
< "reviewTimestamp": "2026-03-02T08:00:00Z",
< "responseTimestamp": "2026-03-02T20:00:00Z"
< },
< {
< "locationId": "store-south",
< "reviewId": "r102",
< "rating": 1,
< "reviewTimestamp": "2026-03-09T08:00:00Z"
< },
< {
< "locationId": "store-south",
< "reviewId": "r103",
< "rating": 1,
< "reviewTimestamp": "2026-03-03T08:00:00Z"
< }
< ],
< "asOf": "2026-03-10T00:00:00Z",
< "locationSlaHours": {
< "store-south": 24
< },
< "minSampleSize": 3
<}
<EOF
$curl "https://api.apify.com/v2/actors/practical_ai_lab_jp~pal-maps-service-recovery-sla-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'