OpenAI API

APIs for sampling from and fine-tuning language models

Claim this API

Are you the operator of OpenAI API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with OpenAI API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Base URL: https://api.openai.com/v1
Auth: unknown
Endpoints: 9
Reachable: unknown
CORS: unknown

Endpoints

Method Path Summary Auth Last Status Latency
GET /engines Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.
GET /engines/{engine_id} Retrieves a model instance, providing basic information about it such as the owner and availability.
POST /engines/{engine_id}/search The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them. To go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores. The similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.
GET /files Returns a list of files that belong to the user's organization.
GET /files/{file_id} Returns information about a specific file.
GET /files/{file_id}/content Returns the contents of the specified file
GET /fine-tunes List your organization's fine-tuning jobs
GET /fine-tunes/{fine_tune_id} Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning)
GET /fine-tunes/{fine_tune_id}/events Get fine-grained status updates for a fine-tune job.
GET /models Lists the currently available models, and provides basic information about each one such as the owner and availability.
GET /models/{model} Retrieves a model instance, providing basic information about the model such as the owner and permissioning.