list_files
List Files
List files uploaded to OpenAI, optionally filtered by purpose (e.g. "fine-tune", "assistants"). Returns file metadata including ID, name, size, and purpose.
list_files
List files uploaded to OpenAI, optionally filtered by purpose (e.g. "fine-tune", "assistants"). Returns file metadata including ID, name, size, and purpose.
list_models
List all available OpenAI models, or retrieve details about a specific model. Useful for discovering available model IDs, owners, and capabilities before making API calls.
delete_vector_store
Delete a vector store by its ID. This permanently removes the store and its indexed data.
create_embeddings
Generate vector embeddings for text input using OpenAI embedding models (text-embedding-3-small, text-embedding-3-large). Useful for search, RAG, clustering, and semantic similarity. Supports configurable output dimensions.
generate_text
Generate text using OpenAI chat completion models (GPT-5, GPT-4o, etc.). Supports multi-turn conversations, system instructions, structured JSON output, and configurable generation parameters.
create_batch
Submit a batch of API requests for asynchronous processing at reduced cost. Supports Responses, chat completions, embeddings, completions, and moderations endpoints. The input must be a JSONL file uploaded via the Files API.
create_response
Generate a response using the OpenAI Responses API, the primary gateway for all model families. Supports text generation, built-in tools (web search, file search, code interpreter), function calling, structured output, and reasoning models with configurable effort levels.
moderate_content
Classify text against OpenAI's content policy categories. Returns flagged status and per-category scores for hate, harassment, self-harm, sexual, and violence content. Useful for filtering harmful content in user-generated input.
get_file
Retrieve metadata for a specific file by its ID. Returns file details including name, size, purpose, and status.
get_fine_tuning_job
Retrieve the status and details of a fine-tuning job, or list all fine-tuning jobs. Includes training metrics, timestamps, and the resulting fine-tuned model name.
cancel_batch
Cancel a batch processing job that is in progress. Already-completed requests within the batch will still be available.
create_vector_store
Create a managed vector store for uploading, chunking, and searching files. Vector stores power file search in the Responses API and support hybrid search (semantic + keyword).
search_vector_store
Search a vector store using natural language queries. Returns ranked results with relevance scores. Supports configurable result limits and score thresholds.
list_vector_stores
List all vector stores in your OpenAI project. Returns store metadata, file counts, and status information.
delete_file
Delete a file from your OpenAI account by its ID. The file will no longer be available for use with fine-tuning, vector stores, or other features.
create_fine_tuning_job
Create a new fine-tuning job to customize an OpenAI model on your training data. Supports supervised fine-tuning and direct preference optimization (DPO). Configure hyperparameters such as epochs, batch size, and learning rate.
get_batch
Retrieve the status and details of a batch processing job, or list all batches. Returns processing progress, output file IDs, and error information.
cancel_fine_tuning_job
Cancel a running fine-tuning job. The job must be in a cancellable state (e.g. "validating_files" or "running").
generate_image
Generate images from text prompts using OpenAI's image generation models (e.g. DALL·E 3, gpt-image-1). Returns generated image content as Slate attachments when the API returns base64 data. Supports configurable size, quality, and style.
list_response_input_items
List the input items used to create a stored OpenAI response.
add_vector_store_file
Attach an uploaded OpenAI file to a vector store so it can be indexed for file search.
translate_audio
Translate speech from an uploaded audio file into English text.
get_vector_store_file_content
Retrieve parsed content chunks for a file attached to a vector store.
delete_response
Delete a stored OpenAI response by ID.
remove_vector_store_file
Detach a file from a vector store. This removes it from the vector store index but does not delete the uploaded file.
get_vector_store_file
Retrieve status and metadata for one file attached to a vector store.
get_file_content
Retrieve the raw content of an uploaded OpenAI file, such as JSONL batch output, fine-tuning data, or uploaded text.
list_vector_store_files
List files attached to a vector store, optionally filtered by processing status.
upload_file
Upload a file to OpenAI for use with batch processing, fine-tuning, vector stores, vision, or user data workflows. Accepts plain text content or base64-encoded bytes.
get_response
Retrieve a stored OpenAI response by ID, including status, model output items, and token usage.
get_vector_store
Retrieve details for a specific OpenAI vector store, including processing status and file counts.
synthesize_speech
Generate spoken audio from text using OpenAI text-to-speech models.
update_vector_store
Update a vector store name, expiration policy, or metadata.
transcribe_audio
Transcribe speech from an uploaded audio file into the source language text.
Generate text, images, audio, and video using large language models and multimodal AI. Create chat completions, generate and edit images from text prompts, convert text to speech, transcribe and translate audio, generate video, and create text embeddings for search and retrieval. Fine-tune models on custom training data, run evaluations to measure model performance, and moderate content against policy categories. Manage vector stores for semantic file search, upload and organize files, and submit batch processing jobs for asynchronous bulk requests. Conduct real-time speech-to-speech conversations via WebRTC or SIP. Administer organizations, projects, users, API keys, and audit logs programmatically. Receive webhook notifications for background responses, batch jobs, fine-tuning jobs, eval runs, and incoming realtime calls.
Common questions about connecting Openai to AI agents with Metorial.