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.
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
OpenAI API Key | Your 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.
| Action | What it does | Required inputs |
|---|---|---|
OPENAI_CREATE_ASSISTANT | Tool to create a new assistant with specified parameters. use after finalizing model, tools, and instructions. | model |
OPENAI_CREATE_MESSAGE | Tool 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_THREAD | Tool to create a new thread. use when initializing a conversation with optional starter messages. | - |
OPENAI_DELETE_ASSISTANT | Tool to delete a specific assistant by its id. use when you need to remove an assistant after confirming its id. | assistant_id |
OPENAI_DELETE_FILE | Tool to delete a file. use when you need to remove an uploaded file by its id after confirming the target. | file_id |
OPENAI_LIST_FILES | Tool to retrieve a list of files. use when you need to view all files uploaded to your organization. | - |
OPENAI_LIST_FINE_TUNES | Tool to list your organization's fine-tuning jobs. use when you need to review all fine-tune runs. | - |
OPENAI_LIST_MODELS | Tool 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_STEPS | Tool 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_THREAD | Tool to modify an existing thread's metadata. use after obtaining the thread id when you need to update metadata. | thread_id |
OPENAI_RETRIEVE_ASSISTANT | Tool to retrieve details of a specific assistant. use when you need to confirm assistant metadata before performing further operations. | assistant_id |
OPENAI_RETRIEVE_MODEL | Tool 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_THREAD | Tool 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_FILE | Tool to upload a file for use across openai endpoints. use before referencing the file in tasks like fine-tuning. | file, purpose |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, OpenAI!