What is JSON mode and how do I use it?

JSON mode ensures structured output by setting response_format={"type": "json_object"} in your request. Useful for getting consistent, parseable responses. See our API documentation about JSON mode for more information.