## 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](/ai-integration-services) or [request the $99 fix](/contact?offer=emergency).

## 1. Replace `threads` & `runs` Polling with `previous_response_id`

- The Responses API removes manual `threads.runs.retrieve` polling loops.
- Pass `previous_response_id` to continue a multi-turn conversation or manage your own message array explicitly.

## 2. Update Tool-Call & File-Search Payloads

- Map `tool_outputs` submissions to `function_call_output` items in the `input` array, and update `file_search` vector-store IDs to the Responses API `tools` schema.

## 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](/contact?offer=emergency) or explore our [AI integration services](/ai-integration-services).
