$echo '{
< "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"
<}' |
<apify call biztoolsus/openai-batch-result-reconciliation --silent --output-dataset