Discover the power of ChatGPT's APIs, unified and streamlined with a single Swagger file in this repository.
https://platform.openai.com/docs/api-reference
In this Swagger you find these endpoints:
- GET https://api.openai.com/v1/models
- GET https://api.openai.com/v1/models/{model}
- POST https://api.openai.com/v1/completions
- POST https://api.openai.com/v1/edits
- POST https://api.openai.com/v1/images/generations
- POST https://api.openai.com/v1/images/edits
- POST https://api.openai.com/v1/images/variations
- POST https://api.openai.com/v1/embeddings
- GET https://api.openai.com/v1/files
- POST https://api.openai.com/v1/files
- DELETE https://api.openai.com/v1/files/{file_id}
- GET https://api.openai.com/v1/files/{file_id}
- GET https://api.openai.com/v1/files/{file_id}/content
- POST https://api.openai.com/v1/fine-tunes
- GET https://api.openai.com/v1/fine-tunes
- GET https://api.openai.com/v1/fine-tunes/{fine_tune_id}
- POST https://api.openai.com/v1/fine-tunes/{fine_tune_id}/cancel
- GET https://api.openai.com/v1/fine-tunes/{fine_tune_id}/events
- DELETE https://api.openai.com/v1/models/{model}
- POST https://api.openai.com/v1/moderations
In this Swagger you DON’T find these endpoints(Deprecated):