OpenAI Batch JSONL Validator
Each Batch input line needs a unique custom_id, a supported POST endpoint, and a request body. Check those basics before uploading your file to OpenAI.
{"custom_id":"request-1","method":"POST","url":"/v1/responses","body":{"model":"gpt-4.1-mini","input":"Hello"}}What this catches
- Missing required fields and duplicate custom IDs.
- Top-level schema drift between records.
- Possible email addresses or API keys pasted into a dataset.
- Approximate token volume for planning.
This is a preflight checker, not an OpenAI API call. Confirm current endpoint and model limits in the OpenAI Batch documentation.