Structured Outputs
A model feature that forces responses to match a supplied JSON Schema, so required keys are not omitted and invalid enum values are not invented.
On this page
Source content checked . English translation published 2026-10-27.
In business automation
Structured Outputs is used when an automation or agent must return machine-readable JSON for the next step, such as CRM fields, classification labels or tool arguments.
Examples
These examples illustrate a possible workflow. Adapt the connections and rules to your own systems.
Extracting a calendar event
The OpenAI docs show extracting a CalendarEvent object with name, date and participants from unstructured text using JSON Schema, pydantic or zod helpers.
Relevant tools
- Pydantic AI
- The OpenAI docs mention pydantic helpers for defining the schema, and business-rule checks are still needed after parsing.
What to check
- Schema design still matters.
- Refusals can appear as explicit refusal objects.
- It does not replace validating business rules after parsing.