API Reference
Explore available endpoints, parameters, and response formats.
POSTCreate response/responses
GETRetrieve response/responses/{response_id}
DELETEDelete response/responses/{response_id}
POSTCreate chat completion/chat/completions
POSTCreate completion/completions
POSTCreate embeddings/embeddings
POSTCreate moderation/moderations
POSTCreate transcription/audio/transcriptions
POSTCreate translation/audio/translations
POSTCreate voice/audio/voices
GETList voices/audio/voices
DELETEDelete voice/audio/voices/{voice_id}
WSRealtime audio (WebSocket)/realtime
POSTCreate speech/audio/speech
GETList models/models
POSTUpload file/files
GETList files/files
GETRetrieve file/files/{file_id}
GETDownload file content/files/{file_id}/content
DELETEDelete file/files/{file_id}
POSTCreate batch/batches
GETList batches/batches
GETRetrieve batch/batches/{batch_id}
POSTCancel batch/batches/{batch_id}/cancel
POSTCreate image/images/generations
POSTEdit image/images/edits
GETDownload image content/images/{image_id}/content
POSTCreate video/videos
POSTExtend video/videos/extensions
GETRetrieve video/videos/{video_id}
GETList videos/videos
GETDownload video content/videos/{video_id}/content
DELETEDelete video/videos/{video_id}
POSTCreate message/messages
POSTCreate vector store/vector-stores
GETList vector stores/vector-stores
GETRetrieve vector store/vector-stores/{store_id}
DELETEDelete vector store/vector-stores/{store_id}
POSTUpload file/vector-stores/{store_id}/files
GETList files/vector-stores/{store_id}/files
DELETEDelete file/vector-stores/{store_id}/files/{file_id}
POSTSearch/vector-stores/{store_id}/search