# Structured Output

- **Canonical URL:** https://getaimath.com/dictionary/structured-output/
- **Topics:** [AI APIs, Protocols & Integration](https://getaimath.com/dictionary/category/ai-apis-protocols-and-integration/)
- **Last updated:** 2026-11-25

## What is Structured Output?

**In one sentence:** Structured output means getting an AI's answer in a fixed, machine-readable format, like JSON that follows a schema.

Instead of free text, the model fills in exact fields, which programs can use directly. Many APIs can guarantee the output matches a schema.

![APIs, JSON & MCP: The Drive-Thru Window & Universal Plug — Simple cartoon showing an App handing a neat checklist order slip (JSON) through a drive-thru window (API) to the AI, while a universal USB-C plug (MCP) connects the AI to Google Drive, Slack, and Email.](https://getaimath.com/diagrams/ai-apis-protocols-and-integration.png)
*Napkin Diagram (AI APIs, Protocols & Integration): An API is the drive-thru window apps use to talk to AI; JSON keeps replies neat; MCP is the universal plug for tools.*

## What is an example of Structured Output?

Asking a model to extract {"name", "email", "phone"} from a messy email signature.

## Why does Structured Output matter?

Structured output makes AI reliable enough to plug into software and databases.

## Related Concepts

- [JSON](https://getaimath.com/dictionary/json/): JSON is a simple text format for storing and sending structured data, using keys and values.
- [JSON Schema](https://getaimath.com/dictionary/json-schema/): JSON Schema is a standard way to describe what a piece of JSON data should look like, including its fields and types.
- [SDK](https://getaimath.com/dictionary/sdk/): An SDK, or Software Development Kit, is a ready-made set of code libraries and tools that make it easier to use a platform or API.
- [Tool Calling](https://getaimath.com/dictionary/tool-calling/): Tool calling is when an AI model asks to use an outside tool, like a calculator, search engine or app, by producing a structured request.
- [API Key](https://getaimath.com/dictionary/api-key/): An API key is a secret code that identifies you to an API and gives you permission to use it.
- [Streaming Response](https://getaimath.com/dictionary/streaming-response/): A streaming response sends an AI's answer piece by piece as it is generated, instead of waiting for the whole thing.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/structured-output/)
