11# Upgrade your API integration | Codex use cases---
22 name: Upgrade your API integration
33[← All use cases](https://developers.openai.com/codex/use-cases)tagline: Upgrade your app to the latest OpenAI API models.
44 summary: Use Codex to update your existing OpenAI API integration to the latest
55Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/api-integration-migrations/?export=pdf) recommended models and API features, while checking for regressions before you
66 ship.
77Use Codex to update your existing OpenAI API integration to the latest recommended models and API features, while checking for regressions before you ship.skills:
88 - token: $openai-docs
99Intermediate url: https://github.com/openai/skills/tree/main/skills/.curated/openai-docs
1010 description: Pull the current model, migration, and API guidance before Codex
11111h makes edits to your implementation.
1212 bestFor:
13Related links
14
15[Latest model guide](https://developers.openai.com/api/docs/guides/latest-model) [Prompt guidance](https://developers.openai.com/api/docs/guides/prompt-guidance) [OpenAI Docs MCP](/learn/docs-mcp) [Evals guide](https://developers.openai.com/api/docs/guides/evals)
16
17## Best for
18
19 - Teams upgrading from older models or API surfaces13 - Teams upgrading from older models or API surfaces
20 - Repos that need behavior-preserving migrations with explicit validation14 - Repos that need behavior-preserving migrations with explicit validation
15starterPrompt:
16 title: Upgrade the Integration Safely
17 body: >-
18 Use $openai-docs to upgrade this OpenAI integration to the latest
19 recommended model and API features.
21 20
22## Skills & Plugins
23 21
2422- [OpenAI Docs](https://github.com/openai/skills/tree/main/skills/.curated/openai-docs) Specifically, look for the latest model and prompt guidance for this
23 specific model.
25 24
26 Pull the current model, migration, and API guidance before Codex makes edits to your implementation.
27 25
2826| Skill | Why use it | Requirements:
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 27
3228## Starter prompt - Start by inventorying the current models, endpoints, and tool assumptions
29 in the repo.
33 30
3431Use $openai-docs to upgrade this OpenAI integration to the latest recommended model and API features. - Identify the smallest migration plan that gets us onto the latest
3532Specifically, look for the latest model and prompt guidance for this specific model. supported path.
36 Requirements:
37- Start by inventorying the current models, endpoints, and tool assumptions in the repo.
38- Identify the smallest migration plan that gets us onto the latest supported path.
39 - Preserve behavior unless a change is required by the new API or model.
40 - Update prompts using the latest model prompt guidance.
41- Call out any prompt, tool, or response-shape changes we need to review manually.
42 33
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.34 - Preserve behavior unless a change is required by the new API or model.
35
49 - Update prompts using the latest model prompt guidance. 36 - Update prompts using the latest model prompt guidance.
5037- Call out any prompt, tool, or response-shape changes we need to review manually.
38 - Call out any prompt, tool, or response-shape changes we need to review
39 manually.
40relatedLinks:
41 - label: Latest model guide
42 url: /api/docs/guides/latest-model
43 - label: Prompt guidance
44 url: /api/docs/guides/prompt-guidance
45 - label: OpenAI Docs MCP
46 url: /learn/docs-mcp
47 - label: Evals guide
48 url: /api/docs/guides/evals
49---
51 50
52## Introduction51## Introduction
53 52
73Make sure to build an evals pipeline that you can run every time you make changes to your integration, to verify there is no regression in behavior.72Make sure to build an evals pipeline that you can run every time you make changes to your integration, to verify there is no regression in behavior.
74 73
75This [cookbook guide](https://developers.openai.com/cookbook/examples/evaluation/building_resilient_prompts_using_an_evaluation_flywheel) covers in detail how to do this using our [Evals API](https://developers.openai.com/api/docs/guides/evals).74This [cookbook guide](https://developers.openai.com/cookbook/examples/evaluation/building_resilient_prompts_using_an_evaluation_flywheel) covers in detail how to do this using our [Evals API](https://developers.openai.com/api/docs/guides/evals).
76
77## Related use cases
78
79[
80
81### Add Mac telemetry
82
83Use Codex and the Build macOS Apps plugin to add a few high-signal `Logger` events around...
84
85macOS Code](https://developers.openai.com/codex/use-cases/macos-telemetry-logs)[
86
87### Create a CLI Codex can use
88
89Ask Codex to create a composable CLI it can run from any folder, combine with repo scripts...
90
91Engineering Code](https://developers.openai.com/codex/use-cases/agent-friendly-clis)[
92
93### Create browser-based games
94
95Use Codex to turn a game brief into first a well-defined plan, and then a real browser-based...
96
97Engineering Code](https://developers.openai.com/codex/use-cases/browser-games)