Skip to content
For the complete documentation index, see
llms.txt
. Markdown versions of documentation pages are available by appending
.md
to the page URL.
ChatGPT
Start searching
API Dashboard
Try ChatGPT
Home
API
Overview
Get started with the OpenAI API
Models
Explore models and compare capabilities
Agents
Build persistent agents on hosted infrastructure
Tools
Connect models to tools and data
Audio & voice
Build speech and realtime voice experiences
Production
Deploy and scale your API integrations
API reference
Explore endpoints, parameters, and responses
ChatGPT
Plugins
Extend ChatGPT and Codex
Sign in with ChatGPT
Apps powered by your user's ChatGPT plan
Commerce
Build commerce flows in ChatGPT
Ads
Publish and measure ads in ChatGPT
Workspace Agents
Trigger published ChatGPT workspace agents
ChatGPT + Codex user docs
Guides and product docs for ChatGPT and Codex
Use cases
Example workflows and tasks teams can take on with ChatGPT or Codex
Docs
Use cases
Resources
Resources
Showcase
Demo apps to get inspired
Blog
Learnings and experiences from developers
Cookbook
Notebook examples for building with OpenAI models
Learn
Docs, videos, and demo apps for building with OpenAI
Community
Programs, meetups, and support for builders
Overview
Models
Agents
Tools
Audio & voice
Production
API reference
Search the API docs
Search docs
Suggested
responses create
reasoning_effort
realtime
prompt caching
Primary navigation
API
ChatGPT
Docs
Use cases
Resources
Resources
Search docs
Suggested
responses create
reasoning_effort
realtime
prompt caching
Overview
Models
Agents
Tools
Audio & voice
Production
API reference
Docs
API reference
Overview
Plugins
Sign in with ChatGPT
Commerce
Ads
Workspace Agents
ChatGPT + Codex user docs
Use cases
Docs
Overview
Showcase
Blog
Cookbook
Learn
Community
Docs
Select...
API Dashboard
Try ChatGPT
API
ChatGPT
Docs
Use cases
Resources
Resources
Overview
Models
Agents
Tools
Audio & voice
Production
API reference
API Reference
Introduction
Authentication
Workload identity tokens
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
WebSocket events
Beta APIs
Decisions
Responses (Multi-agent)
Create a responses (multi-agent)
Retrieve a responses (multi-agent)
Delete a responses (multi-agent)
Cancel a responses (multi-agent)
Compact a responses (multi-agent)
Input Items
List input items
Input Tokens
Count input tokens
Streaming events
WebSocket events
Webhooks
Events
Create a webhook
Retrieve a webhook
Update a webhook
Delete a webhook
List webhooks
Rotate Secret
Test
Platform APIs
Live
Create session
Primary WebSocket
Sideband WebSocket
Fork WebSocket
Sessions
Accept session
Download Recording
Fork
Hangup
Refer
Reject
Audio
Create a speech
Create a transcription
Transcription streaming events
Create a translation
Create a voice
Voice Consents
Create a voice consent
Retrieve a voice consent
Update a voice consent
Delete a voice consent
List voice consents
Images
Generate an Image
Edit an Image
Create Variation
Image generation streaming events
Image edit streaming events
Embeddings
Create an embedding
Evals
Create an eval
Retrieve an eval
Update an eval
Delete an eval
List evals
Runs
Create a run
Retrieve a run
Delete a run
List runs
Cancel a run
Output Items
Retrieve an output item
List output items
Fine Tuning
Alpha
Graders
Run
Validate
Checkpoints
Permissions
Create a permission
Retrieve a permission
Delete a permission
List permissions
Jobs
Create a job
Retrieve a job
List jobs
List Events
Cancel a job
Pause
Resume
Checkpoints
List checkpoints
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
Safety
Safety Alerts
Retrieve a safety alert
Cases
Retrieve a case
Content Provenance Checks
Create a content provenance check
Agents API
Create an agent
Retrieve an agent
Update an agent
Delete an agent
List agents
Environments
Create an environment
Retrieve an environment