OpenAI Responses API (POST /v1/responses)—migration from Chat Completions, Items vs messages, instructions/input, output_text, previous_response_id, store and ZDR, tools, structured text.format, and function tool shapes. Use when building or migrating to client.responses, agentic flows, or comparing Responses to chat.completions.
OpenAI Structured Outputs (JSON Schema) for the Responses API and Chat Completions, including Pydantic/Zod helpers, refusals, edge cases, streaming events, and schema constraints. Use when implementing structured LLM responses with the OpenAI Python/JS SDKs (text.format / response_format), parsing with Pydantic or Zod, or handling refusals and incomplete responses.