ChatGPT · Schema

ResponseFormat

An object specifying the format that the model must output. Setting to json_schema enables Structured Outputs which ensures the model will match your supplied JSON schema.

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
type string The type of response format.
json_schema object The JSON schema the model must conform to. Required when type is json_schema.
View JSON Schema on GitHub