Skip to main content
OpenAI logo

OpenAI

Toolkit for OpenAI APIs: manage Assistants, Threads/Messages; upload/list/delete Files; list/retrieve Models (including vision/multimodal); and view fine-tune listings and events.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

OpenAI authenticates with an API key. Generate the credential in your OpenAI account, then paste it into FlyMyAI the first time an agent uses an OpenAI action.

Get your OpenAI credential →

Fields to fill in FlyMyAI

FieldDetails
OpenAI API KeyYour secret OpenAI API key, starting with 'sk-' or 'sk-proj-'. Create or copy one at platform.openai.com/api-keys and keep it private. (required)
OpenAI Organization ID (optional)Only needed if you're in multiple OpenAI organizations. Looks like 'org-AbC123xyz' - find it under Settings → Organization → General. Most users can leave this blank.

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
OPENAI_CREATE_ASSISTANTTool to create a new assistant with specified parameters. use after finalizing model, tools, and instructions.model
OPENAI_CREATE_MESSAGETool to create a new message in a specific thread. use when adding messages to an existing conversation after confirming the thread id.thread_id, role, content
OPENAI_CREATE_THREADTool to create a new thread. use when initializing a conversation with optional starter messages.-
OPENAI_DELETE_ASSISTANTTool to delete a specific assistant by its id. use when you need to remove an assistant after confirming its id.assistant_id
OPENAI_DELETE_FILETool to delete a file. use when you need to remove an uploaded file by its id after confirming the target.file_id
OPENAI_LIST_FILESTool to retrieve a list of files. use when you need to view all files uploaded to your organization.-
OPENAI_LIST_FINE_TUNESTool to list your organization's fine-tuning jobs. use when you need to review all fine-tune runs.-
OPENAI_LIST_MODELSTool to list available models. use when you need to discover which models you can call. use after confirming your api key is valid.-
OPENAI_LIST_RUN_STEPSTool to retrieve all steps of a specific run. use when you need to inspect each step's details after initiating a run.thread_id, run_id
OPENAI_MODIFY_THREADTool to modify an existing thread's metadata. use after obtaining the thread id when you need to update metadata.thread_id
OPENAI_RETRIEVE_ASSISTANTTool to retrieve details of a specific assistant. use when you need to confirm assistant metadata before performing further operations.assistant_id
OPENAI_RETRIEVE_MODELTool to retrieve details of a specific model. use when you have a model id and need to confirm its metadata before using it.model
OPENAI_RETRIEVE_THREADTool to retrieve details of a specific thread by its id. use when you need to fetch thread metadata before listing messages.thread_id
OPENAI_UPLOAD_FILETool to upload a file for use across openai endpoints. use before referencing the file in tasks like fine-tuning.file, purpose
We love our partners - FlyMy.AI builds with the best. Thanks, OpenAI!