Streaming events
Legacy
Realtime Beta
Overview
Sessions
Create a session
Transcription Sessions
Create a transcription session
Completions
Create a completion
API Reference
Copy Markdown
Open in
Claude
Open in
ChatGPT
Open in
Cursor
Copy Markdown
View as Markdown
API Overview
Use this reference to look up OpenAI API endpoints, request and response schemas, streaming events, client library methods, and shared behavior such as authentication, errors, rate limits, and request IDs.
Start here
Section titled “Start here”
Choose the API surface for your application:
Responses
for direct model requests, tool use, audio, image, and text inputs, and stateful interactions.
Realtime API
for low-latency voice or audio sessions over WebRTC, WebSocket, or SIP.
