openai.com

APIs for sampling from and fine-tuning language models

28 endpoints machine_learning
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (2 total)

openai-cs-agents-demo ✓ Official
pip install openai-cs-agents-demo
npm install openai-apps-sdk-examples
curl examples
Returns a list of files that belong to the user's organization.
curl \
  https://api.openai.com/v1/files
Lists the currently available models, and provides basic information about ea…
curl \
  https://api.openai.com/v1/models
Lists the currently available (non-finetuned) models, and provides basic info…
curl \
  https://api.openai.com/v1/engines
Endpoints (28 total)
GET
/files
Returns a list of files that belong to the user's organization.
GET
/models
Lists the currently available models, and provides basic information about ea…
GET
/engines
Lists the currently available (non-finetuned) models, and provides basic info…
GET
/fine-tunes
List your organization's fine-tuning jobs
GET
/models/{model}
Retrieves a model instance, providing basic information about the model such …
GET
/files/{file_id}
Returns information about a specific file.
GET
/engines/{engine_id}
Retrieves a model instance, providing basic information about it such as the …
GET
/files/{file_id}/content
Returns the contents of the specified file
GET
/fine-tunes/{fine_tune_id}
Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guid…
GET
/fine-tunes/{fine_tune_id}/events
Get fine-grained status updates for a fine-tune job.
POST
/edits
Creates a new edit for the provided input, instruction, and parameters.
POST
/files
Upload a file that contains document(s) to be used across various endpoints/f…
Language coverage
Python
1
TypeScript
1
At a glance
Total SDKs2
Languages2
Endpoints28
Categories1
https://api.openai.com/v1