Summary
When migrating from OpenAI's deprecated Assistants API (threads.runs.create) to the Responses API (responses.create), production apps often break with 400 Unknown parameter: 'assistant_id', missing tool-output payloads, or broken conversation state.
If you want this migrated cleanly, SazM repairs broken OpenAI Assistants/Responses API integrations for a fixed $99, delivered within 48 hours, 100% in writing with zero calls. See our AI integration services or request the $99 fix.
1. Replace threads & runs Polling with previous_response_id
- The Responses API removes manual
threads.runs.retrievepolling loops. - Pass
previous_response_idto continue a multi-turn conversation or manage your own message array explicitly.
2. Update Tool-Call & File-Search Payloads
- Map
tool_outputssubmissions tofunction_call_outputitems in theinputarray, and updatefile_searchvector-store IDs to the Responses APItoolsschema.
Need It Fixed?
We debug production OpenAI, Anthropic, and Cloudflare Workers AI integrations—plus our 5-tool MCP server (sazm.in/mcp)—for a fixed $99 within 48 hours, verified before you pay and 100% async. Start your $99 fix or explore our AI integration services.