Get started free
All integrations

OpenAI integration

AI models API for text generation, embeddings, image generation, video generation, audio processing, realtime audio, and more. Generate text and structured outputs with the Responses API, create embeddings for semantic search, generate and edit images with GPT Image models, generate videos with Sora, transcribe audio with Whisper and GPT-4o models, convert text to speech, create realtime audio sessions, and leverage built-in tools like web search, code interpreter, and file search. Perfect for building AI-powered applications, chatbots, content generation tools, and intelligent automation systems.

78 toolsAPI keyAPI docs

Common OpenAI use cases

  • resource management
  • cleanup
  • storage management
  • debugging
  • document Q&A
  • file management
  • storage cleanup
  • stopping incorrect batches
  • verification
  • error recovery

What you can do with OpenAI

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Vectorstore, 6 operations

  • POSTcreate_vector_store

    Creates a vector store for semantic search with file_search tool.

  • DELETEdelete_vector_store

    Deletes a vector store.

  • GETget_vector_store

    Retrieves details of a specific vector store.

  • GETlist_vector_stores

    Lists all vector stores in your organization.

  • POSTsearch_vector_store

    Searches a vector store for relevant chunks based on a query.

  • POSTupdate_vector_store

    Updates a vector store's name, expiration policy, or metadata.

Assistant, 5 operations

  • POSTcreate_assistant

    Creates a new AI assistant with custom instructions, tools, and capabilities. Defines persistent assistant configurations that can be reused across multiple conversation threads.

  • DELETEdelete_assistant

    Permanently deletes an assistant.

  • GETget_assistant

    Retrieves details of a specific assistant by ID.

  • GETlist_assistants

    Retrieves a paginated list of all assistants created in your OpenAI account. Returns assistant configurations including names, instructions, models, and enabled tools for management purposes.

  • POSTupdate_assistant

    Updates an existing assistant's configuration.

File, 5 operations

  • DELETEdelete_file

    Deletes an uploaded file from your account.

  • GETget_file

    Retrieves information about a specific file by ID.

  • GETget_file_content

    Returns the contents of the specified file for download.

  • GETlist_files

    Lists all files uploaded to your OpenAI account.

  • POSTupload_file

    Uploads a file for assistants, fine-tuning, or batch processing.

Message, 5 operations

  • POSTcreate_message

    Creates a new message in a conversation thread.

  • DELETEdelete_message

    Deletes a message from a thread.

  • GETget_message

    Retrieves a specific message from a thread.

  • GETlist_messages

    Lists all messages in a conversation thread.

  • POSTupdate_message

    Updates message metadata.

Response, 5 operations

  • POSTcancel_response

    Cancels an in-progress model response.

  • POSTcreate_response

    Creates a model response with optional built-in tools (web search, file search, code interpreter, computer use). The primary API for new OpenAI integrations, replacing Chat Completions and Assistants for advanced use cases.

  • DELETEdelete_response

    Deletes a stored model response by ID.

  • GETget_response

    Retrieves a model response by ID with full output, usage stats, and metadata.

  • GETlist_response_input_items

    Lists input items for a response including messages, images, and files provided as input.

Run, 5 operations

  • POSTcancel_run

    Cancels a run that is in progress.

  • GETget_run

    Retrieves details of a specific run.

  • GETlist_runs

    Lists all runs for a conversation thread.

  • POSTrun_assistant

    Runs an assistant on a thread to generate a response.

  • POSTsubmit_tool_outputs

    Submits tool outputs for a run requiring action.

Video, 5 operations

  • POSTcreate_video

    Creates a video generation job from a text prompt using Sora models. Supports size, duration, and input reference images for first-frame control.

  • DELETEdelete_video

    Permanently deletes a video from OpenAI storage.

  • GETdownload_video

    Downloads completed video as MP4, thumbnail as WebP, or spritesheet as JPG.

  • GETget_video

    Retrieves video generation job status including progress percentage, completion state, and any errors.

  • GETlist_videos

    Lists all video generation jobs with pagination and sorting options.

Batch, 4 operations

  • POSTcancel_batch

    Cancels an in-progress batch job.

  • POSTcreate_batch

    Creates a batch job for processing multiple requests asynchronously with 50% cost discount.

  • GETget_batch

    Retrieves details of a specific batch job.

  • GETlist_batches

    Lists all batch jobs in your organization.

Finetuningjob, 4 operations

  • POSTcancel_fine_tuning_job

    Cancels a fine-tuning job that is in progress.

  • POSTcreate_fine_tuning_job

    Creates a fine-tuning job to customize a model on your data.

  • GETget_fine_tuning_job

    Retrieves details of a specific fine-tuning job.

  • GETlist_fine_tuning_jobs

    Lists all fine-tuning jobs in your account.

Thread, 4 operations

  • POSTcreate_thread

    Creates a new conversation thread for multi-turn interactions with assistants. Optionally initializes with messages to provide conversation context or history.

  • DELETEdelete_thread

    Deletes a conversation thread and all its messages.

  • GETget_thread

    Retrieves a conversation thread by ID.

  • POSTupdate_thread

    Updates thread metadata.

Vectorstorefile, 4 operations

  • POSTcreate_vector_store_file

    Adds a file to a vector store for indexing.

  • DELETEdelete_vector_store_file

    Removes a file from a vector store.

  • GETget_vector_store_file

    Retrieves a file from a vector store.

  • GETlist_vector_store_files

    Lists files in a vector store.

Model, 3 operations

  • DELETEdelete_model

    Deletes a fine-tuned model from your organization.

  • GETget_model

    Retrieves detailed information about a specific OpenAI model by its identifier. Returns ownership, permissions, and metadata useful for understanding model capabilities and access rights.

  • GETlist_models

    Retrieves a list of all AI models available to your OpenAI account. Returns model identifiers, ownership information, and capabilities for discovering which models can be used with different API endpoints.

Upload, 3 operations

  • POSTcancel_upload

    Cancels an in-progress Upload.

  • POSTcomplete_upload

    Completes the Upload and creates a usable File object.

  • POSTcreate_upload

    Creates an Upload object for uploading large files in parts (up to 8GB).

Vectorstorefilebatch, 3 operations

  • POSTcancel_vector_store_file_batch

    Cancels an in-progress vector store file batch.

  • POSTcreate_vector_store_file_batch

    Creates a batch to add up to 500 files to a vector store.

  • GETget_vector_store_file_batch

    Retrieves details of a vector store file batch.

Image, 2 operations

  • POSTcreate_image

    Generates original images from text descriptions using GPT Image models. Transforms natural language prompts into visual artwork with control over size, quality, and output format for creative and commercial applications.

  • POSTedit_image

    Modifies existing images based on text instructions using GPT Image models. Allows selective editing of image regions defined by a mask with control over background, quality, and output format.

Chat completion, 1 operation

  • POSTcreate_chat_completion

    Generates conversational AI responses using GPT models with multi-turn dialogue support. Accepts a sequence of messages with roles (system, user, assistant) and returns contextually appropriate completions with fine-tuned control over creativity a...

Completion, 1 operation

  • POSTcreate_completion

    Generates text completions from a prompt using legacy completion models. Provides direct text continuation without conversational structure, useful for simple text generation tasks with customizable sampling parameters.

Embedding, 1 operation

  • POSTcreate_embedding

    Converts text into numerical vector representations (embeddings) for semantic similarity, search, and clustering applications. Returns dense floating-point arrays that capture meaning and context of input text.

Finetuningcheckpoint, 1 operation

  • GETlist_fine_tuning_checkpoints

    Lists checkpoints created during fine-tuning.

Finetuningevent, 1 operation

  • GETlist_fine_tuning_events

    Lists events for a fine-tuning job.

Moderation, 1 operation

  • POSTcreate_moderation

    Analyzes text and image content for policy violations across multiple categories including hate speech, violence, and self-harm. Returns detailed category scores for content filtering and safety applications.

Realtime session, 1 operation

  • POSTcreate_realtime_session

    Creates a Realtime API session for live voice-to-voice conversations with AI. Returns a client secret for WebSocket or WebRTC connection.

Runstep, 1 operation

  • GETget_run_step

    Retrieves details of a specific run step.

Speech, 1 operation

  • POSTcreate_speech

    Converts text to natural-sounding speech audio using OpenAI's TTS models. Offers multiple voice options, controllable speech with gpt-4o-mini-tts, and various output formats for voiceovers and accessibility.

Step, 1 operation

  • GETlist_run_steps

    Lists the steps taken during a run.

Threadrun, 1 operation

  • POSTcreate_thread_and_run

    Creates a thread and runs an assistant in a single request.

Transcription, 1 operation

  • POSTcreate_transcription

    Converts audio files to text using Whisper or GPT-4o transcription models. Supports multiple languages, speaker diarization, and word-level timestamps for accurate speech-to-text conversion.

Translation, 1 operation

  • POSTcreate_translation

    Translates audio in any supported language directly to English text using Whisper. Performs speech recognition and translation in a single step for efficient multilingual audio processing.

Uploadpart, 1 operation

  • POSTadd_upload_part

    Adds a part (chunk up to 64MB) to an Upload.

Vectorstorebatchfile, 1 operation

  • GETlist_vector_store_batch_files

    Lists files in a vector store file batch.

Use OpenAI from Claude Code, Cursor or Codex

Connect OpenAI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its OpenAI operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect OpenAI

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect OpenAI once

    Add your OpenAI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

OpenAI integration FAQ

What can you do with the OpenAI integration?
LiveContext exposes 78 operations on OpenAI, covering vectorstore, assistant, file and message. Common uses include resource management, cleanup and storage management.

Popular integrations

Browse the whole catalog