| GET | /assistants | Returns a list of assistants. |
| POST | /assistants | Create an assistant with a model and instructions. |
| DELETE | /assistants/{assistant_id} | Delete an assistant. |
| GET | /assistants/{assistant_id} | Retrieves an assistant. |
| POST | /assistants/{assistant_id} | Modifies an assistant. |
| POST | /audio/speech | Generates audio from the input text. Returns the audio file content, or a stream of audio events. |
| POST | /audio/transcriptions | Transcribes audio into the input language. Returns a transcription object in json, diarized_json, or verbose_json format, or a stream of transcript events. |
| POST | /audio/translations | Translates audio into English. |
| GET | /audio/voice_consents | Returns a list of voice consent recordings. |
| POST | /audio/voice_consents | Upload a voice consent recording. |
| DELETE | /audio/voice_consents/{consent_id} | Deletes a voice consent recording. |
| GET | /audio/voice_consents/{consent_id} | Retrieves a voice consent recording. |
| POST | /audio/voice_consents/{consent_id} | Updates a voice consent recording (metadata only). |
| POST | /audio/voices | Creates a custom voice. |
| GET | /batches | List your organization's batches. |
| POST | /batches | Creates and executes a batch from an uploaded file of requests |
| GET | /batches/{batch_id} | Retrieves a batch. |
| POST | /batches/{batch_id}/cancel | 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. |
| GET | /chat/completions | List stored Chat Completions. Only Chat Completions that have been stored with the store parameter set to true will be returned. |
| POST | /chat/completions | Creates a model response for the given chat conversation. |
| DELETE | /chat/completions/{completion_id} | Delete a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be deleted. |
| GET | /chat/completions/{completion_id} | Get a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned. |
| POST | /chat/completions/{completion_id} | Modify a stored chat completion. |
| GET | /chat/completions/{completion_id}/messages | Get the messages in a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned. |
| POST | /chatkit/sessions | Create a ChatKit session. |
| POST | /chatkit/sessions/{session_id}/cancel | Cancel an active ChatKit session and return its most recent metadata. Cancelling prevents new requests from using the issued client secret. |
| GET | /chatkit/threads | List ChatKit threads with optional pagination and user filters. |
| DELETE | /chatkit/threads/{thread_id} | Delete a ChatKit thread along with its items and stored attachments. |
| GET | /chatkit/threads/{thread_id} | Retrieve a ChatKit thread by its identifier. |
| GET | /chatkit/threads/{thread_id}/items | List items that belong to a ChatKit thread. |
| POST | /completions | Creates a completion for the provided prompt and parameters. Returns a completion object, or a sequence of completion objects if the request is streamed. |
| GET | /containers | List Containers |
| POST | /containers | Create Container |
| DELETE | /containers/{container_id} | Delete Container |
| GET | /containers/{container_id} | Retrieve Container |
| GET | /containers/{container_id}/files | List Container files |
| POST | /containers/{container_id}/files | Create a Container File You can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID. |
| DELETE | /containers/{container_id}/files/{file_id} | Delete Container File |
| GET | /containers/{container_id}/files/{file_id} | Retrieve Container File |
| GET | /containers/{container_id}/files/{file_id}/content | Retrieve Container File Content |
| POST | /conversations | Create a conversation. |
| DELETE | /conversations/{conversation_id} | Delete a conversation. Items in the conversation will not be deleted. |
| GET | /conversations/{conversation_id} | Get a conversation |
| POST | /conversations/{conversation_id} | Update a conversation |
| GET | /conversations/{conversation_id}/items | List all items for a conversation with the given ID. |
| POST | /conversations/{conversation_id}/items | Create items in a conversation with the given ID. |
| DELETE | /conversations/{conversation_id}/items/{item_id} | Delete an item from a conversation with the given IDs. |
| GET | /conversations/{conversation_id}/items/{item_id} | Get a single item from a conversation with the given IDs. |
| POST | /embeddings | Creates an embedding vector representing the input text. |
| GET | /evals | List evaluations for a project. |
| POST | /evals | Create the structure of an evaluation that can be used to test a model's performance. |
| DELETE | /evals/{eval_id} | Delete an evaluation. |
| GET | /evals/{eval_id} | Get an evaluation by ID. |
| POST | /evals/{eval_id} | Update certain properties of an evaluation. |
| GET | /evals/{eval_id}/runs | Get a list of runs for an evaluation. |
| POST | /evals/{eval_id}/runs | Kicks off a new run for a given evaluation, specifying the data source, and what model configuration to use to test. |
| DELETE | /evals/{eval_id}/runs/{run_id} | Delete an eval run. |
| GET | /evals/{eval_id}/runs/{run_id} | Get an evaluation run by ID. |
| POST | /evals/{eval_id}/runs/{run_id} | Cancel an ongoing evaluation run. |
| GET | /evals/{eval_id}/runs/{run_id}/output_items | Get a list of output items for an evaluation run. |