Guide
The Assistants API is gone. Can your gateway handle Responses?
OpenAI’s Assistants API was sunset on 26 August 2026. The documented replacement path is the Responses API with Conversations where persistent state is needed. If your application routes through a gateway, test the full request and response contract through that gateway; an OpenAI-compatible URL does not establish that it supports Responses-specific items, tools, streaming events, or state.
Map the old objects to the new workflow
OpenAI’s migration guide maps Assistants to prompts, Threads to Conversations, Runs to Responses, and Run Steps to typed Items. The migration shifts more orchestration into the application: input history, tool loops, retries, and state management must be deliberately handled. Preserve the behavior your product needs rather than translating object names mechanically.
Run a gateway conformance test
| Area | What to test through the gateway |
|---|---|
| Request shape | `+'`/v1/responses`'+'` routing, input items, instructions, model ID, and request parameters. |
| Typed output | Messages, reasoning items, function calls, function results, and unknown item types. |
| Tool loop | Preserve `+'`call_id`'+'`, arguments, tool output, and subsequent response association. |
| Structured output | Map the Responses `+'`text.format`'+'` shape and enforce the expected schema. |
| Streaming | Handle typed server-sent events and partial tool arguments, not only Chat Completions `+'`delta`'+'` chunks. |
| State | Test Conversations, `+'`previous_response_id`'+'`, and a stateless request with `+'`store:false`'+'`. |
Migrate in small steps
- Inventory Assistants, threads, tool definitions, run-step handling, and application-owned transcripts.
- Move one low-risk flow to Responses and decide whether state lives in your application or OpenAI Conversations.
- Update parsing for typed output items, function calls, structured outputs, and streaming events.
- Replay a fixed set of representative requests through direct provider access and the gateway.
- Compare task success, errors, latency, token use, and stored data before shifting production traffic.
- Keep rollback at the application routing layer, while recognizing the retired Assistants endpoint itself is no longer available.
OpenAI’s current guidance says prior input tokens in a `+'`previous_response_id`'+'` chain remain billed as input. A gateway’s token dashboard may not expose every item or state behavior in a way that makes cost comparison direct. Record provider usage and your own workflow-level measures.
This API migration is a specific case of the broader compatibility problem discussed in the gateway lock-in guide.
Common questions
When did OpenAI retire the Assistants API?
OpenAI’s migration guide states that the Assistants API was sunset on August 26, 2026 and is no longer available.
Does an OpenAI-compatible gateway necessarily support the Responses API?
No. Compatibility must be verified for the endpoint, typed output items, tools, structured outputs, streaming events, and state features used by your application.
Can I migrate by changing only the API URL?
Usually not for agent workflows. Responses uses typed items and a different function-calling and streaming shape, and you must choose how conversation state and tool loops are managed.
Sources and editorial review dates are recorded with this guide. Catalogue-backed blocks use the dated catalogue snapshot. See our methodology.