Skip to content
Home
API
Docs
Guides and concepts for the OpenAI API
API reference
Endpoints, parameters, and responses
Codex
ChatGPT
Apps SDK
Build apps to extend ChatGPT
Commerce
Build commerce flows in ChatGPT
Learn
Resources
Assets for developers building with OpenAI
Cookbook
Notebook examples for building with OpenAI models
Blog
Learnings and experiences from developers
API Dashboard
Search the API docs
Close
Primary navigation
Home
API
API Reference
Codex
ChatGPT
Learn
Get started
Overview
Quickstart
Models
Pricing
Libraries
Docs MCP
Latest: GPT-5.2
Core concepts
Text generation
Code generation
Images and vision
Audio and speech
Structured output
Function calling
Responses API
Agents
Overview
Build agents
Agent Builder
Node reference
Safety in building agents
Agents SDK
Deploy in your product
ChatKit
Custom theming
Widgets
Actions
Advanced integration
Optimize
Agent evals
Trace grading
Voice agents
Tools
Using tools
Connectors and MCP
Skills
Shell
Web search
Code interpreter
File search and retrieval
File search
Retrieval
More tools
Image generation
Computer use
Local shell tool
Apply patch
Run and scale
Conversation state
Compaction
Background mode
Streaming
Webhooks
File inputs
Prompting
Overview
Prompt caching
Prompt engineering
Reasoning
Reasoning models
Reasoning best practices
Evaluation
Getting started
Working with evals
Prompt optimizer
External models
Best practices
Realtime API
Overview
Connect
WebRTC
WebSocket
SIP
Usage
Using realtime models
Managing conversations
Webhooks and server-side controls
Managing costs
Realtime transcription
Voice agents
Model optimization
Optimization cycle
Fine-tuning
Supervised fine-tuning
Vision fine-tuning
Direct preference optimization
Reinforcement fine-tuning
RFT use cases
Best practices
Graders
Specialized models
Image generation
Video generation
Text to speech
Speech to text
Deep research
Embeddings
Moderation
Coding agents
Codex cloud
Agent internet access
Codex CLI
Codex IDE
Codex changelog
Going live
Production best practices
Latency optimization
Overview
Predicted Outputs
Priority processing
Cost optimization
Overview
Batch
Flex processing
Accuracy optimization
Safety
Safety best practices
Safety checks
Under 18 API Guidance
Legacy APIs
Assistants API
Migration guide
Deep dive
Tools
Resources
Terms and policies
Changelog
Your data
Permissions
Rate limits
Deprecations
MCP for deep research
Developer mode
ChatGPT Actions
Introduction
Getting started
Actions library
Authentication
Production
Data retrieval
Sending files
Getting Started
Overview
Quickstart
Explore
Pricing
Ambassadors
Concepts
Prompting
Workflows
Models
Using Codex
App
Overview
Features
Settings
Review
Automations
Worktrees
Local Environments
Commands
Troubleshooting
IDE Extension
Overview
Features
Settings
IDE Commands
Slash commands
CLI
Overview
Features
Command Line Options
Slash commands
Web
Overview
Environments
Internet Access
Integrations
GitHub
Slack
Linear
Configuration
Config File
Config Basics
Advanced Config
Config Reference
Sample Config
Rules
AGENTS.md
MCP
Skills
Administration
Authentication
Security
Enterprise
Admin Setup
Governance
Windows
Automation
Non-interactive Mode
Codex SDK
App Server
MCP Server
GitHub Action
Learn
Videos
Blog
Testing Agent Skills Systematically with Evals
Supercharging Codex with JetBrains MCP at Skyscanner
View all
Cookbooks
Codex Prompting Guide
Modernizing your Codebase with Codex
View all
Building AI Teams
Releases
Changelog
Feature Maturity
Open Source
Apps SDK
Commerce
Home
Quickstart
Core Concepts
MCP Apps in ChatGPT
MCP Server
UX principles
UI guidelines
Plan
Research use cases
Define tools
Design components
Build
Set up your server
Build your ChatGPT UI
Authenticate users
Manage state
Monetize your app
Examples
Deploy
Deploy your app
Connect from ChatGPT
Test your integration
Submit your app
Guides
Optimize Metadata
Security & Privacy
Troubleshooting
Resources
App submission guidelines
Reference
Home
Guides
Get started
Key concepts
Production readiness
Commerce specs
Agentic Checkout
Delegated Payment
Product feeds
Overview
Onboarding
Feed spec
Best practices
Resources
Cookbook
Blog
Home
Changelog
Docs MCP
Categories
Code
Cookbooks
Guides
Videos
Topics
Agents
Audio & Voice
Computer use
Codex
Evals
gpt-oss
Fine-tuning
Image generation
Scaling
Tools
Video generation
Home
Topics
Agents
Evals
Multimodal
Text
Guardrails
Optimization
ChatGPT
Codex
gpt-oss
Contribute
Cookbook on GitHub
All posts
Recent
Shell + Skills + Compaction: Tips for long-running agents that do real work
15 lessons learned building ChatGPT Apps
Testing Agent Skills Systematically with Evals
Supercharging Codex with JetBrains MCP at Skyscanner
OpenAI for Developers in 2025
Topics
General
API
Apps SDK
Audio
Codex
API Dashboard
Home
API
API Reference
Codex
ChatGPT
Learn
Go
HTTP
HTTP
TypeScript
TypeScript
Python
Python
Java
Java
Go
Go
Ruby
Ruby
API Reference
API Reference
Introduction
Authentication
Debugging requests
Backwards compatibility
Responses API
Overview
Responses
Create a response
Retrieve a response
Delete a response
List input items
Count input tokens
Cancel a response
Compact a response
Conversations
Create a conversation
Retrieve a conversation
Update a conversation
Delete a conversation
Items
Create an item
Retrieve an item
Delete an item
List items
Streaming events
Webhooks
Events
Unwrap
Platform APIs
Audio
Create a transcription
Create a translation
Create a speech
Videos
Create a video
Retrieve a video
Delete a video
List videos
Download Content
Remix
Images
Generate an Image
Edit an Image
Create Variation
Image generation streaming events
Image edit streaming events
Embeddings
Create an embedding
Fine Tuning
Jobs
Create a job
Retrieve a job
List jobs
List Events
Cancel a job
Pause
Resume
Checkpoints
List checkpoints
Checkpoints
Permissions
Create a permission
Retrieve a permission
Delete a permission
Alpha
Graders
Run
Validate
Batches
Create a batch
Retrieve a batch
List batches
Cancel a batch
Files
List files
Create a file
Retrieve a file
Delete a file
Retrieve file content
Uploads
Create an upload
Cancel an upload
Complete
Parts
Create a part
Models
Retrieve a model
Delete a model
List models
Moderations
Create a moderation
Vector Stores
Vector Stores
Create a vector store
Retrieve a vector store
Update a vector store
Delete a vector store
List vector stores
Search
Files
List files
Create a file
Retrieve a file
Update a file
Delete a file
Retrieve file content
File Batches
Create a file batch
Retrieve a file batch
List Files
Cancel a file batch
ChatKit
Sessions
Create a session
Cancel a session
Threads
Retrieve a thread
Delete a thread
List Items
List threads
Containers
Containers
Create a container
Retrieve a container
Delete a container
List containers
Files
List files
Create a file
Retrieve a file
Delete a file
Content
Retrieve a content
Skills
Skills
Create a skill
Retrieve a skill
Retrieve skill content
Update a skill
Delete a skill
List skills
Versions
Create skill version
Retrieve skill version
Retrieve Skill Version Content
Delete skill version
List skill versions
Realtime
Calls
Accept
Hangup
Refer
Reject
Client Secrets
Create a client secret
Client events
Server events
Administration
Overview
Chat Completions
Chat Completions
Overview
Create a completion
Retrieve a completion
Update a completion
Delete a completion
List completions
List messages
Streaming events
Legacy
Realtime Beta
Overview
Assistants
Threads
Create a thread
Create And Run
Retrieve a thread
Update a thread
Delete a thread
Runs
Create a run
Retrieve a run
Update a run
List runs
Cancel a run
Submit Tool Outputs
Steps
Retrieve a step
List steps
Messages
Create a message
Retrieve a message
Update a message
Delete a message
List messages
Create an assistant
Retrieve an assistant
Update an assistant
Delete an assistant
List assistants
Assistants streaming events
Completions
Create a completion
API Reference
Copy Markdown
Open in
Claude
Open in
ChatGPT
Open in
Cursor
Copy Markdown
View as Markdown
Projects
Projects
Roles
Projects
Groups
Projects
Groups
Roles
Projects
Users
Projects
Users
Roles