2 2
3[← All use cases](https://developers.openai.com/codex/use-cases)3[← All use cases](https://developers.openai.com/codex/use-cases)
4 4
5Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)
6
5Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.7Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
6 8
7Intermediate9Intermediate
23 25
24 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.26 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.
25 27
28| Skill | Why use it |
29| --- | --- |
30| [OpenAI Docs](https://github.com/openai/skills/tree/main/skills/.curated/openai-docs) | Pull the current model, migration, and API guidance before Codex makes edits to your implementation. |
31
26## Starter prompt32## Starter prompt
27 33
28Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.34Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
34 - Update prompts using the latest model prompt guidance. 40 - Update prompts using the latest model prompt guidance.
35- Call out any prompt, tool, or response-shape changes we need to review manually.41- Call out any prompt, tool, or response-shape changes we need to review manually.
36 42
43Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
44Specifically, look for the latest model and prompt guidance for this specific model.
45 Requirements:
46- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
47- Identify the smallest migration plan that gets us onto the latest supported path.
48 - Preserve behavior unless a change is required by the new API or model.
49 - Update prompts using the latest model prompt guidance.
50- Call out any prompt, tool, or response-shape changes we need to review manually.
51
37## Introduction52## Introduction
38 53
39As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.54As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.