$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "requests": [],
< "rateLimitConfig": {
< "requestsPerSecond": 10,
< "requestsPerMinute": 60,
< "requestsPerHour": 1000,
< "concurrentRequests": 5,
< "algorithm": "token-bucket"
< },
< "retryConfig": {
< "maxRetries": 3,
< "initialDelayMs": 1000,
< "maxDelayMs": 30000,
< "backoffMultiplier": 2,
< "retryOn429": true,
< "retryOn5xx": true,
< "retryOnTimeout": true
< },
< "batchConfig": {
< "enabled": false,
< "batchSize": 100,
< "batchDelayMs": 500
< },
< "trackingConfig": {
< "enabled": true,
< "logSuccesses": true,
< "logFailures": true,
< "saveResponses": false,
< "calculateStats": true
< },
< "apiPreset": "custom"
<}
<EOF
$curl "https://api.apify.com/v2/acts/fiery_dream~api-rate-limit-orchestrator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'