1# Upgrade your API integration | Codex use cases1# Upgrade your API integration | Codex use cases
2 2
3Codex use cases
4
5
6
7
8
9Codex use case
10
11# Upgrade your API integration
12
13Upgrade your app to the latest OpenAI API models.
14
15Difficulty **Intermediate**
16
17Time horizon **1h**
18
19Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
20
21## Best for
22
23 - Teams upgrading from older models or API surfaces
24 - Repos that need behavior-preserving migrations with explicit validation
25
26# Contents
27
3[← All use cases](https://developers.openai.com/codex/use-cases)28[← All use cases](https://developers.openai.com/codex/use-cases)
4 29
30Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf)
31
5Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.32Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.
6 33
7Intermediate34Intermediate
23 50
24 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.51 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.
25 52
53| Skill | Why use it |
54| --- | --- |
55| [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. |
56
26## Starter prompt57## Starter prompt
27 58
28Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.59Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
34 - Update prompts using the latest model prompt guidance. 65 - Update prompts using the latest model prompt guidance.
35- Call out any prompt, tool, or response-shape changes we need to review manually.66- Call out any prompt, tool, or response-shape changes we need to review manually.
36 67
68[Open in the Codex app](codex://new?prompt=Use+%24openai-docs+to+upgrade+this+OpenAI+integration+to+the+latest+recommended+model+and+API+features.%0A%0ASpecifically%2C+look+for+the+latest+model+and+prompt+guidance+for+this+specific+model.%0A%0ARequirements%3A%0A-+Start+by+inventorying+the+current+models%2C+endpoints%2C+and+tool+assumptions+in+the+repo.%0A-+Identify+the+smallest+migration+plan+that+gets+us+onto+the+latest+supported+path.%0A-+Preserve+behavior+unless+a+change+is+required+by+the+new+API+or+model.%0A-+Update+prompts+using+the+latest+model+prompt+guidance.+%0A-+Call+out+any+prompt%2C+tool%2C+or+response-shape+changes+we+need+to+review+manually. "Open in the Codex app")
69
70Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features.
71Specifically, look for the latest model and prompt guidance for this specific model.
72 Requirements:
73- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
74- Identify the smallest migration plan that gets us onto the latest supported path.
75 - Preserve behavior unless a change is required by the new API or model.
76 - Update prompts using the latest model prompt guidance.
77- Call out any prompt, tool, or response-shape changes we need to review manually.
78
37## Introduction79## Introduction
38 80
39As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.81As we release new models and API features, we recommend upgrading your integration to benefit from the latest improvements.