A compact request-body example for debugging OpenAI API calls. Use it as a starting point, then validate parameters against the target model family.
Minimal JSON body
{
"model": "gpt-4.1",
"input": "Summarize this deployment checklist in three bullets.",
"metadata": {
"source": "howprog-example"
}
}
How to use this example
- Paste the JSON into the OpenAI API Request Checker.
- Select the model family you intend to call.
- Remove fields you do not need before adding advanced options.
Notes
- Do not paste API keys into shared examples.
- Keep one minimal request for debugging SDK or agent changes.
Related tools and fixes
Last updated: May 18, 2026