$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "conversion_type": "curl_to_python",
< "input_data": "curl -X POST 'https://api.example.com/v1/messages' \\\n -H 'Content-Type: application/json' \\\n -H 'Authorization: Bearer sk-ant-api03-xxxxx' \\\n -H 'X-Request-Id: req_12345' \\\n -d '{\n \"model\": \"claude-sonnet-4-20250514\",\n \"max_tokens\": 1024,\n \"system\": \"You are a helpful assistant.\",\n \"messages\": [\n {\"role\": \"user\", \"content\": \"Explain quantum computing in simple terms\"}\n ]\n }'",
< "add_error_handling": true,
< "add_type_hints": true,
< "add_docstrings": true,
< "timeout_seconds": 30,
< "max_retries": 3,
< "base_url_override": "",
< "output_format": "full",
< "save_to_key_value_store": true,
< "proxy_configuration": {}
<}
<EOF
$curl "https://api.apify.com/v2/acts/moving_beacon-owner1~my-actor-67/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'