Latest in AI
OpenAI Prompt Objects Shut Down November 30: How to Replace a Prompt ID
Move saved prompt versions into code and keep model settings, variable roles and response contracts intact during the switch.
If your app calls the Responses API with a saved pmpt_... ID, move that prompt into application code before November 30, 2026. OpenAI's migration guide says the reusable prompt service is scheduled to shut down then. Your app can still call the Responses API with the messages it assembles itself.
Start with the prompt version production uses, not the last one somebody opened in the dashboard.
Find references beyond the obvious SDK call
Search for pmpt_, prompt_id and saved prompt configuration in deployment settings, background jobs and separate scripts. Write down which service uses each ID, whether the service pins a version, and which response fields the rest of the application reads. Check the scheduler and any fallback that rarely runs. This guide is for integrations calling the API directly; if you're using Make, its scenario migration follows different controls.
Copy the effective prompt messages and save any relevant settings the managed object supplied: model, tools, output schema and other behavior you intend to preserve. Don't put credentials or example customer data into source control just because they're visible next to the template.
Replace the object with input messages
OpenAI's guide shows removing the prompt reference, selecting a model explicitly and passing messages through input. Keep trusted application rules in the same instruction role they had before; put external ticket text in user input. Moving a variable into a trusted instruction just because string interpolation is convenient changes the request.
Here's the shape for a simple ticket summarizer. Use the resolved model and versioned instructions from your own app:
response = client.responses.create(
model=config.model,
input=[
{"role": "developer", "content": ticket_summary_instructions},
{"role": "user", "content": ticket_text},
],
)
Treat the code as an illustration. If the rest of your application expects a structured response, recreate the existing schema configuration and check the parser before sending real tickets. Changing the runner and the output format in one deployment makes failures hard to trace.
Test the prompt as a release artifact
Run a small set of synthetic tickets with the old and new paths while the saved object is still accessible. Include a missing field, a multiline ticket and a case that should go to human review. Compare the fields and decisions your application uses rather than asking the text to match word for word. Also inspect the exact input you assembled for unfilled placeholders or omitted messages, without logging private values.
Give the new template a version in application code and attach that version to safe operational metadata. Once the hosted object goes away, rollback has to mean selecting an earlier local prompt revision, not going back to the old ID. That is the part I'd finish before declaring the migration done.
I'm Paras. I work with teams building AI products.
I help turn API changes into migration guides developers can use before their integrations break.