responseFormat

Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).