At Stack AI, security and privacy of our customer's data is our top priority. Today, we are thrilled to announce that Stack AI is now SOC 2 Type II and HIPAA compliant.
Connect to OpenAI's API to access GPT models, ChatGPT, DALL-E, Whisper, and other AI capabilities.
The following parameters are required to set up a connection to OpenAI.
Your OpenAI API key. You can create one in your OpenAI account settings. Found in: https://platform.openai.com/api-keys
Create a chat completion using OpenAI's Chat API with support for conversations, function calling, and advanced generation parameters.
List stored chat completions. Only chat completions that were created with the 'store' parameter set to true will be returned.
Get a specific stored chat completion by its ID. Only chat completions that were created with the 'store' parameter set to true can be retrieved.
Update a stored chat completion's metadata. Only chat completions that were created with created with 'store': true can be updated. If you get a 'Server overloaded' error, the completion was likely not stored during creation.
Delete a stored chat completion. Only chat completions that were created with the 'store' parameter set to true can be deleted.
Get the messages from a stored chat completion. Only chat completions that were created with the 'store' parameter set to true will have accessible messages.
Returns a list of assistants from OpenAI.
Create a new OpenAI assistant with specified configuration.
Retrieve a specific OpenAI assistant by its ID.
Modify an existing OpenAI assistant's configuration.
Delete an OpenAI assistant permanently.
Create a new OpenAI thread for organizing a conversation between an assistant and users.
Retrieve a specific OpenAI thread by its ID to see its configuration and metadata.
Modify a specific OpenAI thread's metadata and tool resources by its ID.
Delete a specific OpenAI thread by its ID to permanently remove it and all its messages.
Create a response using OpenAI's unified Responses API with support for multimodal inputs, web search, file search, function calling, and stateful conversations.
Retrieve a previously created response from OpenAI's Responses API by its unique ID.
Delete a stored response from OpenAI's Responses API to free up storage and remove data.
Cancel an in-progress background response from OpenAI's Responses API.
Edit images using OpenAI's image editing capabilities. Upload an image and describe the changes you want to make. The edited image will be automatically uploaded to your storage.