# Source: https://developers.openai.com/resources/code/structured-outputs-samples.md

# Structured outputs samples

> Sample code demonstrating structured outputs with OpenAI APIs.

- Type: Code
- Tags: structured outputs
- URL: https://github.com/openai/openai-structured-outputs-samples
- Created: 2025-07-18
- Updated: 2025-08-13

## Summary
Examples of producing structured data from model responses. — structured outputs, JSON, schema

## Details
Includes patterns for validating and using structured outputs.