Integration
Connect OpenAI to MLB Records and Stats
When something happens in OpenAI, your agent does the next thing in MLB Records and Stats. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want OpenAI and MLB Records and Stats to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with OpenAI and MLB Records and Stats
Triggers and actions 5 triggers ยท 88 actions
Trigger
New batchList your organization's batches.
Trigger
New fileReturns a list of files.
Trigger
New modelLists the currently available models.
Trigger
New vector storeReturns a list of vector stores.
Trigger
New videoList recently generated videos for the current project.
Action
Cancel batchCancels an in-progress batch.
Action
Cancel runCancels a run that is in_progress.
Action
Cancel vector store file batchCancel a vector store file batch.
Action
Content moderationClassifies text for hate, harassment, self-harm, sexual, and violence categories using the Moderations API.
Action
Count input tokensReturns input token counts of the request.
Action
Create assistantCreate an assistant with a model and instructions.
Action
Create chat completionSends a list of chat messages to a model via the Chat Completions API and returns the assistant's reply.
Action
Create completionCreates a completion for the provided prompt and parameters.
Action
Create embeddingGenerates a vector embedding for input text using an embeddings model (e.g. text-embedding-3-small).
Action
Create messageCreate a message.
Action
Create runCreate a run.
Action
Creates and executes a batch from an uploaded file of requestsCreates and executes a batch from an uploaded file of requests
Action
Create threadCreate a thread.
Action
Create thread and runCreate a thread and run it in one request.
Action
Create vector storeCreate a vector store.
Action
Create vector store fileCreate a vector store file by attaching a File to a vector store.
Action
Create vector store file batchCreate a vector store file batch.
Action
Create video edit jobCreate a new video generation job by editing a source or existing generated video.
Action
Create video extensionCreate an extension of a completed video.
Action
Create video generation jobCreate a new video generation job from a prompt and optional reference assets.
Action
Create video remixCreate a remix of a completed video using a refreshed prompt.
Action
Delete assistantDelete an assistant.
Action
Delete eval runDelete an eval run.
Action
Delete fileDelete a file and remove it from all vector stores.
Action
Delete messageDeletes a message.
Action
Delete threadDelete a thread.
Action
Delete vector storeDelete a vector store.
Action
Delete vector store fileDelete a vector store file (removes from store, file itself not deleted).
Action
Delete videoPermanently delete a completed or failed video and its stored assets.
Action
Download video contentDownload the generated video bytes or a derived preview asset.
Action
Edit imageCreates an edited or extended image given one or more source images and a prompt.
Action
Generate imageGenerates an image from a text prompt using gpt-image-1 / DALL-E and returns the image URL or base64 data.
Action
Generate speechConverts text into spoken audio using a TTS model and the selected voice. Returns audio bytes.
Action
Get assistantRetrieves an assistant.
Action
Get batchRetrieves a batch.
Action
Get fileReturns information about a specific file.
Action
Get file contentReturns the contents of the specified file.
Action
Get messageRetrieve a message.
Action
Get modelRetrieves a model instance.
Action
Get runRetrieves a run.
Action
Get run stepRetrieves a run step.
Action
Get threadRetrieves a thread.
Action
Get vector storeRetrieves a vector store.
Action
Get vector store fileRetrieves a vector store file.
Action
Get vector store file batchRetrieves a vector store file batch.
Action
Get vector store file contentRetrieve the parsed contents of a vector store file.
Action
Get videoFetch the latest metadata for a generated video.
Action
List conversation itemsList all items for a conversation with the given ID.
Action
List filesLists files that have been uploaded to your OpenAI account.
Action
List messagesReturns a list of messages for a given thread.
Action
List modelsLists the models currently available to your account.
Action
List runsReturns a list of runs belonging to a thread.
Action
List run stepsReturns a list of run steps belonging to a run.
Action
List vector store file batch filesReturns a list of vector store files in a batch.
Action
List vector store filesReturns a list of vector store files.
Action
OpenAI agent messageRuns one AI agent turn on OpenAI and returns the model's reply. The turn is billed to the OpenAI account connected on this step, and the agent can call the account's AI tool automations.
Action
Retrieve responseRetrieves a previously created model response by its Response ID.
Action
Search vector storeSearch a vector store for relevant chunks based on a query and filter.
Action
Send model a messageSends a message to an OpenAI model via the Responses API and emits its response. Returns a Response ID usable as previous_response_id for multi-turn conversations.
Action
Submit tool outputs to runSubmit tool outputs when a run requires action.
Action
Transcribe audioTranscribes audio into the input language.
Action
Translate audioTranslates audio into English.
Action
Update assistantModifies an assistant.
Action
Update messageModifies a message.
Action
Update runModifies a run.
Action
Update threadModifies a thread.
Action
Update vector storeModifies a vector store.
Action
Update vector store file attributesUpdate attributes on a vector store file.
Action
Upload fileUpload a file that can be used across various endpoints.
Action
Find scheduleQuery the game schedule by sportId, teamId, date range, or gamePk(s). GET https://statsapi.mlb.com/api/v1/schedule
Action
Find statsQuery player/team stats by stat type, group, season, and sortStat. GET https://statsapi.mlb.com/api/v1/stats
Action
Find transactionsQuery player transactions (trades, signings, DFA, etc.) by teamId, playerId, or date range. GET https://statsapi.mlb.com/api/v1/transactions
Action
Get attendanceGet attendance figures by teamId, leagueId, or season/date. GET https://statsapi.mlb.com/api/v1/attendance
Action
Get draftGet MLB amateur draft picks by year, optionally filtered to prospects or the latest pick. GET https://statsapi.mlb.com/api/v1/draft/{year}
Action
Get game boxscoreGet a game's full boxscore by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/boxscore
Action
Get game linescoreGet a game's linescore (inning-by-inning) by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/linescore
Action
Get game live feedGet a game's full live feed (plays, boxscore, linescore combined) by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/feed/live
Action
Get game play by playGet all plays for a game by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/playByPlay
Action
Get personGet a single player/person's bio info by personId. GET https://statsapi.mlb.com/api/v1/people/{personId}
Action
Get person statsGet a player's stats for a specific game by personId and gamePk (or "current"). GET https://statsapi.mlb.com/api/v1/people/{personId}/stats/game/{gamePk}
Action
Get standingsGet division/league standings by leagueId and season. GET https://statsapi.mlb.com/api/v1/standings
Action
Get stats leadersGet statistical leaders by leaderCategories, season, and league/sport. GET https://statsapi.mlb.com/api/v1/stats/leaders
Action
Get teamGet a single MLB team's info by teamId. GET https://statsapi.mlb.com/api/v1/teams/{teamId}
Action
Get team rosterGet a team's player roster by teamId. GET https://statsapi.mlb.com/api/v1/teams/{teamId}/roster
Action
Get team statsGet a team's season stats by teamId, season, and stat group. GET https://statsapi.mlb.com/api/v1/teams/{teamId}/stats
Action
Get venueGet venue info by venueIds. GET https://statsapi.mlb.com/api/v1/venues
Action
List divisionsList MLB divisions, optionally filtered by leagueId/sportId/season. GET https://statsapi.mlb.com/api/v1/divisions
Action
List leaguesList MLB leagues by sportId/leagueIds/seasons. GET https://statsapi.mlb.com/api/v1/league
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.