What Changed
Why
The Responses API is OpenAI’s latest standard and provides several improvements:- Simpler input — pass a plain string for single-turn queries instead of wrapping everything in a messages array
- Dedicated
instructionsparameter — cleanly separates system-level guidance from user input, and appends to the persona’s built-in prompt - Flat tool format — no more nested
functionwrapper; tool properties are top-level - Named SSE events —
response.created,response.output_text.delta,response.completedmake stream parsing more explicit - Cleaner response shape — no
choicesarray; output items are typed (message,function_call)
Migration Path
We’ve published a detailed migration guide that covers every change with before/after code examples in Python, JavaScript, and cURL.Migration Guide
Step-by-step instructions to migrate from Chat Completions to the Responses API
What’s New
instructions Parameter
System messages are replaced by the instructions parameter. Instructions are appended to the persona’s built-in system prompt, so you get persona context plus your task-specific guidance without message array management.
Flat Tool Format
Tool definitions no longer require afunction wrapper. Properties are top-level:
Named SSE Events
Streaming now uses named event types instead of generic data chunks:Backward Compatibility
The Chat Completions endpoint (/api/v1/chat/completions) remains available during the transition period. All new features and documentation target the Responses API exclusively.