$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "requests_jsonl": "{\"custom_id\": \"A\", \"method\": \"POST\", \"url\": \"/v1/responses\", \"body\": {\"model\": \"example-not-a-live-model\", \"input\": \"Synthetic A\"}}\r\n{\"custom_id\": \"B\", \"method\": \"POST\", \"url\": \"/v1/responses\", \"body\": {\"model\": \"example-not-a-live-model\", \"input\": \"Synthetic B\"}}\r\n",
< "outputs_jsonl": "{\"custom_id\": \"A\", \"response\": {\"status_code\": 200, \"body\": {\"output\": []}, \"request_id\": \"req_1\"}, \"error\": null, \"id\": \"batch_req_outputs_1\"}\r\n",
< "errors_jsonl": "{\"id\": \"batch_req_synthetic_error_B\", \"custom_id\": \"B\", \"response\": null, \"error\": {\"code\": \"batch_expired\", \"message\": \"Synthetic example only\"}}\r\n",
< "policy_json": "{}\r\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/biztoolsus~openai-batch-result-reconciliation/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'