# Open AI (ChatGPT) ## Docs - [README](https://apidog.com/apidoc/docs-site/370474/en/doc-349095.md): - [Introduction](https://apidog.com/apidoc/docs-site/370474/en/doc-349096.md): - [Authentication](https://apidog.com/apidoc/docs-site/370474/en/doc-349097.md): - [Making requests](https://apidog.com/apidoc/docs-site/370474/en/doc-349098.md): - [Streaming](https://apidog.com/apidoc/docs-site/370474/en/doc-349142.md): - [Debugging requests](https://apidog.com/apidoc/docs-site/370474/en/doc-775837.md): - [Backward compatibility](https://apidog.com/apidoc/docs-site/370474/en/doc-775839.md): - [Administration](https://apidog.com/apidoc/docs-site/370474/en/doc-777904.md): - Files [README](https://apidog.com/apidoc/docs-site/370474/en/doc-349100.md): - Images [README](https://apidog.com/apidoc/docs-site/370474/en/doc-349145.md): ## API Docs - Audio [Create speech](https://apidog.com/apidoc/docs-site/370474/en/api-12346183.md): Creates a model response for the given chat conversation. Learn more in the [text generation](https://platform.openai.com/docs/guides/text-generation), [vision](https://platform.openai.com/docs/guides/vision), and [audio](https://platform.openai.com/docs/guides/audio) guides. - Audio [Create transcription](https://apidog.com/apidoc/docs-site/370474/en/api-3845637.md): Learn how to turn audio into text. - Audio [Create translation](https://apidog.com/apidoc/docs-site/370474/en/api-3845635.md): Transcribes audio into the input language. - Chat [Create chat completion](https://apidog.com/apidoc/docs-site/370474/en/api-3845652.md): Creates a model response for the given chat conversation. Learn more in the [text generation](https://platform.openai.com/docs/guides/text-generation), [vision](https://platform.openai.com/docs/guides/vision), and [audio](https://platform.openai.com/docs/guides/audio) guides. - Embeddings [Create embeddings](https://apidog.com/apidoc/docs-site/370474/en/api-12346295.md): Creates an embedding vector representing the input text. - Fine-tuning [Create fine-tuning job](https://apidog.com/apidoc/docs-site/370474/en/api-12346587.md): Creates a fine-tuning job which begins the process of creating a new model from a given dataset. - Fine-tuning [List fine-tuning jobs](https://apidog.com/apidoc/docs-site/370474/en/api-12346654.md): List your organization's fine-tuning jobs - Fine-tuning [List fine-tuning events](https://apidog.com/apidoc/docs-site/370474/en/api-12346700.md): Get status updates for a fine-tuning job. - Fine-tuning [List fine-tuning checkpoints](https://apidog.com/apidoc/docs-site/370474/en/api-12346718.md): List checkpoints for a fine-tuning job. - Fine-tuning [Retrieve fine-tuning job](https://apidog.com/apidoc/docs-site/370474/en/api-12346731.md): Get info about a fine-tuning job. - Fine-tuning [Cancel fine-tuning](https://apidog.com/apidoc/docs-site/370474/en/api-12346763.md): Immediately cancel a fine-tune job. - Batch [Create batch](https://apidog.com/apidoc/docs-site/370474/en/api-12346777.md): Creates and executes a batch from an uploaded file of requests - Batch [Retrieve batch](https://apidog.com/apidoc/docs-site/370474/en/api-12347265.md): Retrieves a batch. - Batch [Cancel batch](https://apidog.com/apidoc/docs-site/370474/en/api-12347328.md): Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file. - Batch [List batch](https://apidog.com/apidoc/docs-site/370474/en/api-12347336.md): List your organization's batches. - Files [Upload file](https://apidog.com/apidoc/docs-site/370474/en/api-3845640.md): Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit. - Files [List files](https://apidog.com/apidoc/docs-site/370474/en/api-3845646.md): Returns a list of files. - Files [Retrieve file](https://apidog.com/apidoc/docs-site/370474/en/api-3845643.md): Returns information about a specific file. - Files [Delete file](https://apidog.com/apidoc/docs-site/370474/en/api-3845638.md): Delete a file. - Files [Retrieve file content](https://apidog.com/apidoc/docs-site/370474/en/api-3845636.md): Returns the contents of the specified file - Uploads [Create upload](https://apidog.com/apidoc/docs-site/370474/en/api-12348017.md): Creates an intermediate [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object that you can add [Parts](https://platform.openai.com/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it. - Uploads [Add upload part](https://apidog.com/apidoc/docs-site/370474/en/api-12348277.md): Adds a [Part](https://platform.openai.com/docs/api-reference/uploads/part-object) to an [Upload](https://platform.openai.com/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. - Uploads [Complete upload](https://apidog.com/apidoc/docs-site/370474/en/api-12348322.md): Completes the [Upload](https://platform.openai.com/docs/api-reference/uploads/object). - Images [Create image](https://apidog.com/apidoc/docs-site/370474/en/api-3845645.md): Given a prompt and/or an input image, the model will generate a new image. - Images [Create image edit](https://apidog.com/apidoc/docs-site/370474/en/api-3845642.md): Creates an edited or extended image given an original image and a prompt. - Images [Create image variation](https://apidog.com/apidoc/docs-site/370474/en/api-3845639.md): Creates a variation of a given image. - Models [List models](https://apidog.com/apidoc/docs-site/370474/en/api-3845644.md): List and describe the various models available in the API. You can refer to the [Models](https://platform.openai.com/docs/models) documentation to understand what models are available and the differences between them. - Models [Retrieve model](https://apidog.com/apidoc/docs-site/370474/en/api-3845641.md): Retrieves a model instance, providing basic information about the model such as the owner and permissioning. - Models [Delete a fine-tuned model](https://apidog.com/apidoc/docs-site/370474/en/api-12386393.md): Delete a fine-tuned model. You must have the Owner role in your organization to delete a model. - Moderations [Create moderation](https://apidog.com/apidoc/docs-site/370474/en/api-3845656.md): Given a input text, outputs if the model classifies it as violating OpenAI's content policy. - Invites [List invites](https://apidog.com/apidoc/docs-site/370474/en/api-12386469.md): Returns a list of invites in the organization. - Invites [Create invite](https://apidog.com/apidoc/docs-site/370474/en/api-12386502.md): - Invites [Retrieve invite](https://apidog.com/apidoc/docs-site/370474/en/api-12391499.md): Retrieves an invite. - Invites [Delete invite](https://apidog.com/apidoc/docs-site/370474/en/api-12391719.md): Delete an invite. If the invite has already been accepted, it cannot be deleted. - Users [List users](https://apidog.com/apidoc/docs-site/370474/en/api-12391742.md): Lists all of the users in the organization. - Users [Modify user](https://apidog.com/apidoc/docs-site/370474/en/api-12391818.md): Modifies a user's role in the organization. - Users [Retrieve user](https://apidog.com/apidoc/docs-site/370474/en/api-12396454.md): Retrieves a user by their identifier. - Projects [List projects](https://apidog.com/apidoc/docs-site/370474/en/api-12396898.md): Returns a list of projects. - Projects [Create project](https://apidog.com/apidoc/docs-site/370474/en/api-12397610.md): Create a new project in the organization. Projects can be created and archived, but cannot be deleted. - Projects [Retrieve project](https://apidog.com/apidoc/docs-site/370474/en/api-12397613.md): Retrieves a project. - Projects [Modify project](https://apidog.com/apidoc/docs-site/370474/en/api-12397713.md): Modifies a project in the organization. - Projects [Archive project](https://apidog.com/apidoc/docs-site/370474/en/api-12398545.md): Archives a project in the organization. Archived projects cannot be used or updated. - Project users [List project users](https://apidog.com/apidoc/docs-site/370474/en/api-12399308.md): Returns a list of users in the project. - Project users [Create project user](https://apidog.com/apidoc/docs-site/370474/en/api-12399550.md): Adds a user to the project. Users must already be members of the organization to be added to a project. - Project users [Retrieve project user](https://apidog.com/apidoc/docs-site/370474/en/api-12400556.md): Retrieves a user in the project. - Project users [Modify project user](https://apidog.com/apidoc/docs-site/370474/en/api-12400579.md): Modifies a user's role in the project. - Project users [Delete project user](https://apidog.com/apidoc/docs-site/370474/en/api-12400586.md): Deletes a user from the project. - Project users [Create project service account](https://apidog.com/apidoc/docs-site/370474/en/api-12400852.md): - Project service accounts [List project service accounts](https://apidog.com/apidoc/docs-site/370474/en/api-12400716.md): Returns a list of service accounts in the project. - Project service accounts [Create project service account](https://apidog.com/apidoc/docs-site/370474/en/api-12400864.md): Creates a new service account in the project. This also returns an unredacted API key for the service account. - Project service accounts [Retrieve project service account](https://apidog.com/apidoc/docs-site/370474/en/api-12400884.md): Retrieves a service account in the project. - Project service accounts [Delete project service account](https://apidog.com/apidoc/docs-site/370474/en/api-12400887.md): Deletes a service account from the project. - Project API keys [List project API keys](https://apidog.com/apidoc/docs-site/370474/en/api-12400911.md): Returns a list of API keys in the project. - Project API keys [Retrieve project API key](https://apidog.com/apidoc/docs-site/370474/en/api-12400919.md): Retrieves an API key in the project. - Project API keys [Delete project API key](https://apidog.com/apidoc/docs-site/370474/en/api-12400937.md): Deletes an API key from the project. - Project rate limits [List project rate limits](https://apidog.com/apidoc/docs-site/370474/en/api-12400974.md): Returns the rate limits per model for a project. - Project rate limits [Modify project rate limit](https://apidog.com/apidoc/docs-site/370474/en/api-12401003.md): Updates a project rate limit. - Audit logs [List audit logs](https://apidog.com/apidoc/docs-site/370474/en/api-12401047.md): List user actions and configuration changes within this organization. - Usage [Completions](https://apidog.com/apidoc/docs-site/370474/en/api-12401171.md): Get completions usage details for the organization. - Usage [Embeddings](https://apidog.com/apidoc/docs-site/370474/en/api-12401180.md): Get embeddings usage details for the organization. - Usage [Moderations](https://apidog.com/apidoc/docs-site/370474/en/api-12401188.md): Get moderations usage details for the organization. - Usage [Images](https://apidog.com/apidoc/docs-site/370474/en/api-12404942.md): Get images usage details for the organization. - Usage [Audio speeches](https://apidog.com/apidoc/docs-site/370474/en/api-12405831.md): Get audio speeches usage details for the organization. - Usage [Audio transcriptions](https://apidog.com/apidoc/docs-site/370474/en/api-12405839.md): Get audio transcriptions usage details for the organization. - Usage [Vector stores](https://apidog.com/apidoc/docs-site/370474/en/api-12405849.md): Get vector stores usage details for the organization. - Usage [Code interpreter sessions](https://apidog.com/apidoc/docs-site/370474/en/api-12405859.md): Get code interpreter sessions usage details for the organization. - Usage [Costs](https://apidog.com/apidoc/docs-site/370474/en/api-12405880.md): Get costs details for the organization. - Completions [Create completion](https://apidog.com/apidoc/docs-site/370474/en/api-3845651.md): Creates a completion for the provided prompt and parameters. - Assistants (v1) [Create assistant (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12405928.md): Create an assistant with a model and instructions. - Assistants (v1) [Create assistant file (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406008.md): Create an assistant file by attaching a [File](https://platform.openai.com/docs/api-reference/files) to an [assistant](https://platform.openai.com/docs/api-reference/assistants-v1). - Assistants (v1) [List assistants (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406726.md): Returns a list of assistants. - Assistants (v1) [List assistant files (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406795.md): Returns a list of assistant files. - Assistants (v1) [Retrieve assistant (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406806.md): Retrieves an assistant. - Assistants (v1) [Retrieve assistant file (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406814.md): Retrieves an AssistantFile. - Assistants (v1) [Modify assistant (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406830.md): Modifies an assistant. - Assistants (v1) [Delete assistant (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406910.md): Delete an assistant. - Assistants (v1) [Delete assistant file (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12406934.md): Delete an assistant file. - Threads (v1) [Create thread (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12407181.md): Create a thread. - Threads (v1) [Retrieve thread (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12407911.md): Retrieves a thread. - Threads (v1) [Modify thread (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12407919.md): Modifies a thread. - Threads (v1) [Delete thread (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12407978.md): Delete a thread. - Messages (v1) [Create message (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408253.md): - Messages (v1) [List messages (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408274.md): Returns a list of messages for a given thread. - Messages (v1) [List message files (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408389.md): Returns a list of message files. - Messages (v1) [Retrieve message (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408579.md): Retrieve a message. - Messages (v1) [Retrieve message file (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408602.md): Retrieves a message file. - Messages (v1) [Modify message (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408729.md): Modifies a message. - Runs (v1) [Create run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408843.md): Create a run. - Runs (v1) [Create thread and run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12408961.md): Create a thread and run it in one request. - Runs (v1) [List runs (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409299.md): Returns a list of runs belonging to a thread. - Runs (v1) [List run steps (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409318.md): Returns a list of run steps belonging to a run. - Runs (v1) [Retrieve run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409328.md): Retrieves a run. - Runs (v1) [Retrieve run step (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409338.md): Retrieves a run step. - Runs (v1) [Modify run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409387.md): Modifies a run. - Runs (v1) [Submit tool outputs to run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409428.md): When a run has the `status: "requires_action"` and `required_action.type` is `submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request. - Runs (v1) [Cancel a run (v1)](https://apidog.com/apidoc/docs-site/370474/en/api-12409501.md): Cancels a run that is `in_progress`.