How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AIHubMix OpenAI Compatible API

OpenAI-compatible endpoints (chat, completions, embeddings, images, audio, videos, moderations).

AIHubMix OpenAI Compatible API is one of 4 APIs that AIHubMix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include OpenAI-Compatible. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 6 JSON Schemas.

This API exposes 14 operations across 13 paths, and defines 370 schemas. It is described by OpenAPI 3.2.0, at version 2.1.1.

Requests are made against 2 base URLs: https://aihubmix.com, https://api.inferera.com.

14 operations 13 paths 370 schemas 1 DELETE2 GET11 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.1.1
Servers
https://aihubmix.com
https://api.inferera.com
Authentication
HTTP Bearer, API Key, API Key, API Key
Contact
AIHubMix Team
Resource Areas
1

Authentication & Security 4

AIHubMix OpenAI Compatible API declares 4 security schemes for authenticating requests. It accepts HTTP bearer tokens (API Key) (gatewayBearer). An API key is passed in the header as x-api-key (gatewayAnthropicKey). An API key is passed in the header as x-goog-api-key (gatewayGeminiKey). An API key is passed in the query as key (gatewayGeminiQuery). By default, every request must be authenticated.

  • gatewayBearer — Gateway-issued API key, formatted as sk-gateway-xxxxxxxx. Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).
  • gatewayAnthropicKey — Used by Anthropic-shaped endpoints (/v1/messages). The value is the gateway API key, shared with OpenAI-shaped endpoints. Clients identifying as anthropic-sdk-…
  • gatewayGeminiKey — Used by Gemini-shaped endpoints (/v1beta/...). The value is the gateway API key, shared with other endpoint shapes. The google-genai SDK uses this header by de…
  • gatewayGeminiQuery — Query-parameter fallback for Gemini-shaped endpoints. Some SDKs and tools only support the ?key= form. Value is the same as gatewayGeminiKey.

Paths & Operations 14

Across 13 paths, the API surfaces 14 operations — 1 DELETE, 2 GET, 11 POST. Each is listed below with its method, path, parameters, and response codes.

OpenAI Compatible 14

OpenAI-compatible endpoints (chat, completions, embeddings, images, audio, videos, moderations).

POST
/v1/chat/completions
Create a Chat Completion
createChatCompletion body → 2004004014034044295XX
POST
/v1/responses
Create a Model Response
createResponse body → 2004004014034044295XX
POST
/v1/completions
Create a Completion
createCompletion body → 2004004014034044295XX
POST
/v1/embeddings
Create an Embedding
createEmbedding body → 2004004014034044295XX
POST
/v1/images/generations
Generate Images
createImage body → 2004004014034044295XX
POST
/v1/videos
Create a Video
createVideo body → 2004004014034044295XX
GET
/v1/videos/{video_id}
Retrieve a Video
GetVideo 1 param → 2004004014034044295XX
DELETE
/v1/videos/{video_id}
Delete a Video
DeleteVideo 1 param → 2004004014034044295XX
GET
/v1/videos/{video_id}/content
Download Video Content
RetrieveVideoContent 2 params → 2004004014034044295XX
POST
/v1/videos/{video_id}/remix
Remix a Video
CreateVideoRemix 1 param body → 2004004014034044295XX
POST
/v1/audio/speech
Create Speech
createSpeech body → 2004004014034044295XX
POST
/v1/audio/transcriptions
Create Transcription
createTranscription body → 2004004014034044295XX
POST
/v1/audio/translations
Create Translation
createTranslation body → 2004004014034044295XX
POST
/v1/moderations
Create Moderation
createModeration body → 2004004014034044295XX

Schemas 370

The contract defines 370 schemas that model the data the API accepts and returns. The most detailed are CreateCompletionRequest (18 properties), CreateImageRequest (14 properties), VideoResource (13 properties), ImageGenTool (12 properties). Each schema is shown below with its type and property counts.

CompoundFilter
object
Combine multiple filters using and or or.
2 properties 2 required
CompactionTriggerItemParam
object
Compacts the current context. Must be the final input item.
1 property 1 required
ResponseReasoningSummaryPartDoneEvent
object
Emitted when a reasoning summary part is completed.
6 properties 6 required
ResponseContentPartDoneEvent
object
Emitted when a content part is done.
6 properties 6 required
ContainerNetworkPolicyAllowlistParam
object
3 properties 2 required
CreateImageRequest
object
14 properties 1 required
ChatCompletionRequestSystemMessage
object
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, use developer messages for thi…
3 properties 2 required
ChatCompletionNamedToolChoice
object
Specifies a tool the model should use. Use to force the model to call a specific function.
2 properties 2 required
CompactionBody
object
A compaction item generated by the [v1/responses/compact API](https://developers.openai.com/api/docs/api-reference/responses/compact).
4 properties 3 required
ResponseReasoningSummaryTextDoneEvent
object
Emitted when a reasoning summary text is completed.
6 properties 6 required
FunctionShellCallOutputExitOutcomeParam
object
Indicates that the shell commands finished and returned an exit code.
2 properties 2 required
CodeInterpreterOutputLogs
object
The logs output from the code interpreter.
2 properties 2 required
ChatCompletionRequestUserMessageContentPart
ImageGenStreamEvent
ResponseCodeInterpreterCallCodeDeltaEvent
object
Emitted when a partial code snippet is streamed by the code interpreter.
5 properties 5 required
TranscriptTextSegmentEvent
object
Emitted when a diarized transcription returns a completed segment with speaker information. Only emitted when you [create a transcription](https://developers.o…
6 properties 6 required
KeyPressAction
object
A collection of keypresses the model would like to perform.
2 properties 2 required
CreateChatCompletionStreamResponse
object
Represents a streamed chunk of a chat completion response returned by the model, based on the provided input. [Learn more](https://developers.openai.com/api/do…
8 properties 5 required
HybridSearchOptions
object
2 properties 2 required
ResponseUsage
object
Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used.
5 properties 5 required
ResponseProperties
object
10 properties
FunctionShellToolParam
object
A tool that allows the model to execute shell commands.
2 properties 1 required
ResponseMCPCallInProgressEvent
object
Emitted when an MCP tool call is in progress.
4 properties 4 required
CreateTranscriptionRequest
object
12 properties 2 required
FunctionShellCallOutputTimeoutOutcome
object
Indicates that the shell call exceeded its configured time limit.
1 property 1 required
SpecificFunctionShellParam
object
Forces the model to call the shell tool when a tool call is required.
1 property 1 required
FunctionShellCallItemParam
object
A tool representing a request to execute one or more shell commands.
6 properties 3 required
ResponseWebSearchCallInProgressEvent
object
Emitted when a web search call is initiated.
4 properties 4 required
CodeInterpreterTool
object
A tool that runs Python code to help generate a response to a prompt.
2 properties 2 required
CreateChatCompletionResponse
object
Represents a chat completion response returned by model, based on the provided input.
8 properties 5 required
LocalEnvironmentResource
object
Represents the use of a local environment to perform shell actions.
1 property 1 required
CreateSpeechRequest
object
7 properties 3 required
ChatCompletionMessageCustomToolCall
object
A call to a custom tool created by the model.
3 properties 3 required
ReasoningTextContent
object
Reasoning text from the model.
2 properties 2 required
WebSearchLocation
object
Approximate location parameters for the search.
4 properties
SpecificApplyPatchParam
object
Forces the model to call the applypatch tool when executing a tool call.
1 property 1 required
ContainerFileCitationBody
object
A citation for a container file used to generate a model response.
6 properties 6 required
ResponseFunctionCallArgumentsDoneEvent
object
Emitted when function-call arguments are finalized.
6 properties 6 required
ResponseAudioTranscriptDoneEvent
object
Emitted when the full audio transcript is completed.
2 properties 2 required
ConversationParam
The conversation that this response belongs to. Items from this conversation are prepended to inputitems for this response request. Input items and output item…
ResponseContentPartAddedEvent
object
Emitted when a new content part is added.
6 properties 6 required
FileSearchToolCall
object
The results of a file search tool call. See the [file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.
5 properties 4 required
CreateModelResponseProperties
Image
object
Represents the content or the URL of an image generated by the OpenAI API.
3 properties
ResponseStreamEvent
CompletionUsage
object
Usage statistics for the completion request.
5 properties 3 required
PredictionContent
object
Static predicted output content, such as the content of a text file that is being regenerated.
2 properties 2 required
UrlCitationBody
object
A citation for a web resource used to generate a model response.
5 properties 5 required
FunctionTool
object
Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
7 properties 4 required
ComputerEnvironment
string
ComputerToolCall
object
A tool call to a computer use tool. See the [computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.
7 properties 5 required
InputMessage
object
A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developer or system role take precedence over…
4 properties 2 required
ApplyPatchOperationParam
One of the createfile, deletefile, or updatefile operations supplied to the applypatch tool.
ContainerReferenceResource
object
Represents a container created with /v1/containers.
2 properties 2 required
ContainerMemoryLimit
string
FunctionCallOutputStatusEnum
string
FunctionToolParam
object
6 properties 2 required
DoubleClickAction
object
A double click action.
4 properties 4 required
ClickParam
object
A click action.
5 properties 4 required
ToolSearchExecutionType
string
WebSearchContextSize
string
High level guidance for the amount of context window space to use for the search. One of low, medium, or high. medium is the default.
ImageDetail
string
FunctionShellCallOutputTimeoutOutcomeParam
object
Indicates that the shell call exceeded its configured time limit.
1 property 1 required
ImageRefParam-2
object
2 properties
ChatCompletionRequestMessageContentPartImage
object
Learn about [image inputs](https://developers.openai.com/api/docs/guides/vision).
3 properties 2 required
ResponseOutputItemDoneEvent
object
Emitted when an output item is marked done.
4 properties 4 required
ScreenshotParam
object
A screenshot action.
1 property 1 required
InputImageContentParamAutoParam
object
An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/vision)
4 properties 1 required
TypeParam
object
An action to type in text.
2 properties 2 required
ApplyPatchDeleteFileOperation
object
Instruction describing how to delete a file via the applypatch tool.
2 properties 2 required
WebSearchPreviewTool
object
This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-…
4 properties 1 required
ResponseCustomToolCallInputDoneEvent
object
Event indicating that input for a custom tool call is complete.
5 properties 5 required
ApplyPatchToolCall
object
A tool call that applies file diffs by creating, deleting, or updating files.
6 properties 5 required
ResponseImageGenCallCompletedEvent
object
Emitted when an image generation tool call has completed and the final image is available.
4 properties 4 required
FunctionShellCallOutputContentParam
object
Captured stdout and stderr for a portion of a shell tool call output.
3 properties 3 required
ResponseModalities
ResponseMCPListToolsInProgressEvent
object
Emitted when the system is in the process of retrieving the list of available MCP tools.
4 properties 4 required
FunctionShellAction
object
Execute a shell command.
3 properties 3 required
ResponseStreamOptions
InputFileContentParam
object
A file input to the model.
6 properties 1 required
ResponseReasoningSummaryPartAddedEvent
object
Emitted when a new reasoning summary part is added.
6 properties 6 required
ReasoningEffort
LocalShellToolCall
object
A tool call to run a command on the local shell.
5 properties 5 required
ResponseFailedEvent
object
An event that is emitted when a response fails.
3 properties 3 required
GrammarSyntax1
string
ComputerAction
FileInputDetail
string
TranscriptTextUsageTokens
object
Usage statistics for models billed by token usage.
5 properties 4 required
ImageGenInputUsageDetails
object
The input tokens detailed information for the image generation.
2 properties 2 required
ResponseMCPCallArgumentsDoneEvent
object
Emitted when the arguments for an MCP tool call are finalized.
5 properties 5 required
ReasoningItem
object
A description of the chain of thought used by a reasoning model while generating a response. Be sure to include these items in your input to the Responses API…
6 properties 3 required
OutputMessageContent
WebSearchToolCall
object
The results of a web search tool call. See the [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.
4 properties 4 required
InlineSkillSourceParam
object
Inline skill payload
3 properties 3 required
ToolSearchOutputItemParam
object
6 properties 2 required
Item
Content item used to generate a response.
CreateResponse
object
1 property
ChatCompletionRequestToolMessage
object
3 properties 3 required
WebSearchActionOpenPage
object
Action type "openpage" - Opens a specific URL from search results.
2 properties 1 required
FunctionAndCustomToolCallOutput
ChatCompletionTokenLogprob
object
4 properties 4 required
ResponseImageGenCallInProgressEvent
object
Emitted when an image generation tool call is in progress.
4 properties 4 required
FunctionShellCallOutputOutcomeParam
The exit or timeout outcome associated with this shell call.
ResponseReasoningTextDeltaEvent
object
Emitted when a delta is added to a reasoning text.
6 properties 6 required
DragParam
object
A drag action.
3 properties 2 required
MessagePhase
string
Labels an assistant message as intermediate commentary (commentary) or the final answer (finalanswer). For models like gpt-5.3-codex and beyond, when sending f…
GatewayError
object
OpenAI-compatible error envelope. Top-level error object carrying message / type / param / code. requestid lives in the X-Request-Id response header, not in th…
1 property 1 required
TranscriptTextDeltaEvent
object
Emitted when there is an additional text delta. This is also the first event emitted when the transcription starts. Only emitted when you [create a transcripti…
4 properties 2 required
ResponseImageGenCallPartialImageEvent
object
Emitted when a partial image is available during image generation streaming.
6 properties 6 required
OutputItem
InputTextContent
object
A text input to the model.
3 properties 2 required
ChatCompletionRequestFunctionMessage
object
3 properties 3 required
VideoResource
object
Structured information describing a generated video job.
13 properties 13 required
CreateVideoRemixBody
object
Parameters for remixing an existing generated video.
1 property 1 required
ResponseCodeInterpreterCallCompletedEvent
object
Emitted when the code interpreter call is completed.
4 properties 4 required
ResponseTextDoneEvent
object
Emitted when text content is finalized.
7 properties 7 required
MoveParam
object
A mouse move action.
4 properties 3 required
ApplyPatchDeleteFileOperationParam
object
Instruction for deleting an existing file via the applypatch tool.
2 properties 2 required
MCPListTools
object
A list of tools available on an MCP server.
5 properties 4 required
ModelResponseProperties
object
9 properties
VoiceIdsShared
ContainerAutoParam
object
5 properties 1 required
ResponseErrorEvent
object
Emitted when an error occurs.
5 properties 5 required
ContainerReferenceParam
object
2 properties 2 required
ItemReferenceParam
object
An internal identifier for an item to reference.
2 properties 1 required
ResponseFormatJsonSchema
object
JSON Schema response format. Used to generate structured JSON responses. Learn more about [Structured Outputs](https://developers.openai.com/api/docs/guides/st…
2 properties 2 required
ResponseOutputTextAnnotationAddedEvent
object
Emitted when an annotation is added to output text content.
7 properties 7 required
ApplyPatchToolCallItemParam
object
A tool call representing a request to create, delete, or update files using diff patches.
5 properties 4 required
ChatCompletionRequestMessageContentPartFile
object
Learn about [file inputs](https://developers.openai.com/api/docs/guides/text) for text generation.
3 properties 2 required
ComputerCallOutputItemParam
object
The output of a computer tool call.
6 properties 3 required
WebSearchActionFind
object
Action type "findinpage": Searches for a pattern within a loaded page.
3 properties 3 required
VideoContentVariant
string
ContextManagementParam
object
2 properties 1 required
ChatCompletionResponseMessage
object
A chat completion message generated by the model.
9 properties 3 required
ParallelToolCalls
boolean
Whether to enable [parallel function calling](https://developers.openai.com/api/docs/guides/function-callingconfiguring-parallel-function-calling) during tool…
ChatCompletionRequestSystemMessageContentPart
FunctionShellCallOutputStatusEnum
string
ImageGenOutputTokensDetails
object
The output token details for the image generation.
2 properties 2 required
WebSearchActionSearch
object
Action type "search" - Performs a web search query.
4 properties 2 required
InlineSkillParam
object
4 properties 4 required
FunctionCallStatus
string
CreateCompletionRequest
object
18 properties 2 required
ImageGenTool
object
A tool that generates images using the GPT image models.
12 properties 1 required
ApplyPatchUpdateFileOperationParam
object
Instruction for updating an existing file via the applypatch tool.
3 properties 3 required
ResponseCodeInterpreterCallCodeDoneEvent
object
Emitted when the code snippet is finalized by the code interpreter.
5 properties 5 required
ResponseOutputItemAddedEvent
object
Emitted when a new output item is added.
4 properties 4 required
ChatCompletionRequestDeveloperMessage
object
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, developer messages replace the…
3 properties 2 required
InputFidelity
string
Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for…
ChatCompletionStreamOptions
InputItem
ConversationParam-2
object
The conversation that this response belongs to.
1 property 1 required
ChatCompletionStreamResponseDelta
object
A chat completion delta generated by streamed model responses.
5 properties
ResponseFileSearchCallSearchingEvent
object
Emitted when a file search is currently searching.
4 properties 4 required
ApplyPatchCallOutputStatusParam
string
Outcome values reported for applypatch tool call outputs.
ResponseCustomToolCallInputDeltaEvent
object
Event representing a delta (partial update) to the input of a custom tool call.
5 properties 5 required
FunctionObject
object
4 properties 1 required
TranscriptTextDoneEvent
object
Emitted when the transcription is complete. Contains the complete transcription text. Only emitted when you [create a transcription](https://developers.openai.…
4 properties 2 required
FunctionShellCallOutput
object
The output of a shell tool call that was emitted.
7 properties 6 required
ChatCompletionRequestMessageContentPartRefusal
object
2 properties 2 required
FunctionToolCall
object
A tool call to run a function. See the [function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.
7 properties 4 required
OutputContent
LocalSkillParam
object
3 properties 3 required
ResponseAudioTranscriptDeltaEvent
object
Emitted when there is a partial transcript of audio.
3 properties 3 required
InputTextContentParam
object
A text input to the model.
2 properties 2 required
CreateTranscriptionResponseVerboseJson
object
Represents a verbose json transcription response returned by model, based on the provided input.
6 properties 3 required
ResponseQueuedEvent
object
Emitted when a response is queued and waiting to be processed.
3 properties 3 required
ToolChoiceFunction
object
Use this option to force the model to call a specific function.
2 properties 2 required
FunctionShellCallStatus
string
StopConfiguration
Not supported with latest reasoning models o3 and o4-mini. Up to 4 sequences where the API will stop generating further tokens. The returned text will not cont…
CreateTranslationResponseJson
object
1 property 1 required
ComputerToolCallOutputResource
ResponseWebSearchCallSearchingEvent
object
Emitted when a web search call is executing.
4 properties 4 required
ResponseMCPCallFailedEvent
object
Emitted when an MCP tool call has failed.
4 properties 4 required
ResponseImageGenCallGeneratingEvent
object
Emitted when an image generation tool call is actively generating an image (intermediate state).
4 properties 4 required
CreateEmbeddingResponse
object
4 properties 4 required
RankerVersionType
string
InputImageContent
object
An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/vision).
5 properties 2 required
TranscriptionDiarizedSegment
object
A segment of diarized transcript text with speaker metadata.
6 properties 6 required
ResponseFormatJsonObject
object
JSON object response format. An older method of generating JSON responses. Using jsonschema is recommended for models that support it. Note that the model will…
1 property 1 required
AutoCodeInterpreterToolParam
object
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
4 properties 1 required
ComputerActionList
array
Flattened batched actions for computeruse. Each action includes an type discriminator and action-specific fields.
Embedding
object
Represents an embedding vector returned by embedding endpoint.
3 properties 3 required
ChatCompletionRequestMessage
FunctionShellCallOutputItemParam
object
The streamed output items emitted by a shell tool call.
6 properties 3 required
ApplyPatchToolParam
object
Allows the assistant to create, delete, or update files using unified diffs.
1 property 1 required
ComputerToolCallOutput
object
The output of a computer tool call.
6 properties 3 required
ClickButtonType
string
FunctionShellCall
object
A tool call that executes one or more shell commands in a managed environment.
7 properties 6 required
ComputerTool
object
A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use).
1 property 1 required
FilePath
object
A path to a file.
3 properties 3 required
ComputerCallSafetyCheckParam
object
A pending safety check for the computer call.
3 properties 1 required
CodeInterpreterToolCall
object
A tool call to run code.
6 properties 6 required
CustomGrammarFormatParam
object
A grammar defined by the user.
3 properties 3 required
MCPListToolsTool
object
A tool available on an MCP server.
4 properties 2 required
ToolChoiceCustom
object
Use this option to force the model to call a specific custom tool.
2 properties 2 required
FileDetailEnum
string
ComparisonFilter
object
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
3 properties 3 required
ApplyPatchCallOutputStatus
string
ChatCompletionTool
object
A function tool that can be used to generate a response.
3 properties 2 required
ResponseWebSearchCallCompletedEvent
object
Emitted when a web search call is completed.
4 properties 4 required
CreateModerationRequest
object
2 properties 1 required
ChatCompletionRequestAssistantMessage
object
Messages sent by the model in response to user messages.
9 properties 1 required
ResponseMCPCallCompletedEvent
object
Emitted when an MCP tool call has completed successfully.
4 properties 4 required
SkillReferenceParam
object
3 properties 2 required
TranscriptTextUsageDuration
object
Usage statistics for models billed by audio input duration.
2 properties 2 required
CustomToolChatCompletions
object
A custom tool that processes input using a specified format.
2 properties 2 required
CreateCompletionResponse
object
Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
7 properties 5 required
CreateEmbeddingRequest
object
5 properties 2 required
TranscriptionWord
object
3 properties 3 required
ResponseFunctionCallArgumentsDeltaEvent
object
Emitted when there is a partial function-call arguments delta.
5 properties 5 required
MCPToolCall
object
An invocation of a tool on an MCP server.
9 properties 5 required
ResponseAudioDeltaEvent
object
Emitted when there is a partial audio response.
3 properties 3 required
InputParam
Text, image, or file inputs to the model, used to generate a response. Learn more: - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/te…
ModelIdsResponses
ToolChoiceOptions
string
Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick…
RankingOptions
object
3 properties
SearchContentType
string
AudioResponseFormat
string
The format of the output, in one of these options: json, text, srt, verbosejson, vtt, or diarizedjson. For gpt-4o-transcribe and gpt-4o-mini-transcribe, the on…
ImageGenActionEnum
string
ChatCompletionMessageToolCallChunk
object
4 properties 1 required
ChatCompletionMessageToolCalls
array
The tool calls generated by the model, such as function calls.
FunctionCallOutputItemParam
object
The output of a function tool call.
5 properties 3 required
ResponseCodeInterpreterCallInterpretingEvent
object
Emitted when the code interpreter is actively interpreting the code snippet.
4 properties 4 required
ToolSearchCallItemParam
object
6 properties 2 required
Metadata
ChatCompletionAllowedToolsChoice
object
Constrains the tools available to the model to a pre-defined set.
2 properties 2 required
ApplyPatchToolCallOutput
object
The output emitted by an apply patch tool call.
6 properties 4 required
VideoSeconds
string
CustomTextFormatParam
object
Unconstrained free-form text.
1 property 1 required
CodeInterpreterOutputImage
object
The image output from the code interpreter.
2 properties 2 required
ApproximateLocation
object
5 properties 1 required
MCPToolCallStatus
string
SpeechAudioDoneEvent
object
Emitted when the speech synthesis is complete and all audio has been streamed.
2 properties 2 required
LocalEnvironmentParam
object
2 properties 1 required
TranscriptionInclude
string
ImagesUsage
object
For the GPT image models only, the token usage information for the image generation.
4 properties 4 required
CreateVideoJsonBody
object
JSON parameters for creating a new video generation job.
5 properties 1 required
CreateModerationResponse
object
Represents if a given text input is potentially harmful.
3 properties 3 required
FunctionShellCallOutputContent
object
The content of a shell tool call output that was emitted.
4 properties 3 required
DetailEnum
string
ImagesResponse
object
The response from the image generation endpoint.
7 properties 1 required
Tool
A tool that can be used to generate a response.
ResponseIncompleteEvent
object
An event that is emitted when a response finishes as incomplete.
3 properties 3 required
Error-2
object
An error that occurred while generating the response.
2 properties 2 required
CustomToolCall
object
A call to a custom tool created by the model.
6 properties 4 required
TopLogProb
object
The top log probability of a token.
3 properties 3 required
ResponseErrorCode
string
The error code for the response.
ToolChoiceParam
How the model should select which tool (or tools) to use when generating a response. See the tools parameter to see how to specify which tools the model can ca…
ResponseLogProb
object
A logprob is the logarithmic probability that the model assigns to producing a particular token at a given position in the sequence. Less-negative (higher) log…
3 properties 2 required
ChatCompletionFunctionCallOption
object
Specifying a particular function via {"name": "myfunction"} forces the model to call that function.
1 property 1 required
ChatCompletionAllowedTools
object
Constrains the tools available to the model to a pre-defined set.
2 properties 2 required
OutputTextContent
object
A text output from the model.
4 properties 4 required
ContainerNetworkPolicyDomainSecretParam
object
3 properties 3 required
Conversation-2
object
The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.
1 property 1 required
ResponseCompletedEvent
object
Emitted when the model response is complete.
3 properties 3 required
ChatCompletionRequestMessageContentPartAudio
object
Learn about [audio inputs](https://developers.openai.com/api/docs/guides/audio).
3 properties 2 required
ToolChoiceMCP
object
Use this option to force the model to call a specific tool on a remote MCP server.
3 properties 2 required
Response
CreateVideoMultipartBody
object
Multipart parameters for creating a new video generation job.
5 properties 1 required
ResponseMCPCallArgumentsDeltaEvent
object
Emitted when there is a delta (partial update) to the arguments of an MCP tool call.
5 properties 5 required
ApplyPatchCreateFileOperation
object
Instruction describing how to create a file via the applypatch tool.
3 properties 3 required
ImageGenUsage
object
For gpt-image-1 only, the token usage information for the image generation.
5 properties 4 required
ChatCompletionRequestToolMessageContentPart
ResponseReasoningSummaryTextDeltaEvent
object
Emitted when a delta is added to a reasoning summary text.
6 properties 6 required
ResponseFileSearchCallInProgressEvent
object
Emitted when a file search call is initiated.
4 properties 4 required
CompactionSummaryItemParam
object
A compaction item generated by the [v1/responses/compact API](https://developers.openai.com/api/docs/api-reference/responses/compact).
3 properties 2 required
WebSearchTool
object
Search the Internet for sources related to the prompt. Learn more about the [web search tool](https://developers.openai.com/api/docs/guides/tools-web-search).
4 properties 1 required
ImageGenCompletedEvent
object
Emitted when image generation has completed and the final image is available.
8 properties 8 required
ToolChoiceTypes
object
Indicates that the model should use a built-in tool to generate a response. [Learn more about built-in tools](https://developers.openai.com/api/docs/guides/too…
1 property 1 required
ApplyPatchCallStatus
string
ServiceTier
ResponseCreatedEvent
object
An event that is emitted when a response is created.
3 properties 3 required
CoordParam
object
An x/y coordinate pair, e.g. { x: 100, y: 200 }.
2 properties 2 required
FileSearchTool
object
A tool that searches for relevant content from uploaded files. Learn more about the [file search tool](https://platform.openai.com/docs/guides/tools-file-searc…
5 properties 2 required
ChatCompletionFunctions
object
3 properties 1 required
ToolsArray
array
An array of tools the model may call while generating a response. You can specify which tool to use by setting the toolchoice parameter. We support the followi…
WaitParam
object
A wait action.
1 property 1 required
ChatCompletionMessageToolCall
object
A call to a function tool created by the model.
3 properties 3 required
MCPApprovalResponseResource
object
A response to an MCP approval request.
5 properties 4 required
WebSearchApproximateLocation
RefusalContent
object
A refusal from the model.
2 properties 2 required
VideoSize
string
ResponseFormatJsonSchemaSchema
object
The schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas [here](https://json-schema.org/).
ResponseCodeInterpreterCallInProgressEvent
object
Emitted when a code interpreter call is in progress.
4 properties 4 required
LocalShellToolCallOutput
object
The output of a local shell tool call.
4 properties 3 required
NamespaceToolParam
object
Groups function/custom tools under a shared namespace.
4 properties 4 required
ComputerCallOutputStatus
string
TextResponseFormatJsonSchema
object
JSON Schema response format. Used to generate structured JSON responses. Learn more about [Structured Outputs](https://developers.openai.com/api/docs/guides/st…
5 properties 3 required
VideoStatus
string
SpeechAudioDeltaEvent
object
Emitted for each chunk of audio data generated during speech synthesis.
2 properties 2 required
ChatCompletionNamedToolChoiceCustom
object
Specifies a tool the model should use. Use to force the model to call a specific custom tool.
2 properties 2 required
MCPApprovalResponse
object
A response to an MCP approval request.
5 properties 3 required
LogProb
object
The log probability of a token.
4 properties 4 required
ResponseMCPListToolsCompletedEvent
object
Emitted when the list of available MCP tools has been successfully retrieved.
4 properties 4 required
TextResponseFormatConfiguration
An object specifying the format that the model must output. Configuring { "type": "jsonschema" } enables Structured Outputs, which ensures the model will match…
CustomToolCallOutput
object
The output of a custom tool call from your code, being sent back to the model.
4 properties 3 required
FunctionToolCallOutput
object
The output of a function tool call.
5 properties 3 required
FunctionCallItemStatus
string
VectorStoreFileAttributes
ResponseTextDeltaEvent
object
Emitted when there is an additional text delta.
7 properties 7 required
CreateTranslationResponseVerboseJson
object
4 properties 3 required
ChatCompletionRequestMessageContentPartText
object
Learn about [text inputs](https://developers.openai.com/api/docs/guides/text-generation).
3 properties 2 required
Reasoning
object
gpt-5 and o-series models only Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
3 properties
ComputerScreenshotImage
object
A computer screenshot image used with the computer use tool.
3 properties 1 required
FunctionShellCallOutputExitOutcome
object
Indicates that the shell commands finished and returned an exit code.
2 properties 2 required
VoiceIdsOrCustomVoice
A built-in voice name or a custom voice reference.
ImageGenPartialImageEvent
object
Emitted when a partial image is available during image generation streaming.
8 properties 8 required
ModelIdsShared
SummaryTextContent
object
A summary text from the model.
2 properties 2 required
Annotation
An annotation that applies to a span of output text.
ToolSearchToolParam
object
Hosted or BYOT tool search configuration for deferred tools.
4 properties 1 required
SearchContextSize
string
ResponseRefusalDoneEvent
object
Emitted when refusal text is finalized.
6 properties 6 required
IncludeEnum
string
Specify additional output data to include in the model response. Currently supported values are: - websearchcall.results: Include the search results of the web…
ApplyPatchCreateFileOperationParam
object
Instruction for creating a new file via the applypatch tool.
3 properties 3 required
CreateTranscriptionResponseJson
object
Represents a transcription response returned by model, based on the provided input.
3 properties 1 required
LocalShellToolParam
object
A tool that allows the model to execute shell commands in a local environment.
1 property 1 required
CreateTranscriptionResponseStreamEvent
ApplyPatchUpdateFileOperation
object
Instruction describing how to update a file via the applypatch tool.
3 properties 3 required
ToolChoiceAllowed
object
Constrains the tools available to the model to a pre-defined set.
3 properties 3 required
ChatCompletionRequestUserMessage
object
Messages sent by an end user, containing prompts or additional context information.
3 properties 2 required
FunctionShellCallItemStatus
string
Status values reported for shell tool calls.
ResponseInProgressEvent
object
Emitted when the response is in progress.
3 properties 3 required
CreateSpeechResponseStreamEvent
CreateTranscriptionResponseDiarizedJson
object
Represents a diarized transcription response returned by the model, including the combined transcript and speaker-segment annotations.
5 properties 4 required
VideoModel
ApplyPatchCallStatusParam
string
Status values reported for applypatch tool calls.
CustomToolCallOutputResource
PartialImages
InputContent
Filters
ToolSearchOutput
object
7 properties 6 required
ResponseReasoningTextDoneEvent
object
Emitted when a reasoning text is completed.
6 properties 6 required
ResponseAudioDoneEvent
object
Emitted when the audio response is complete.
2 properties 2 required
LocalShellExecAction
object
Execute a shell command on the server.
6 properties 3 required
MCPApprovalRequest
object
A request for human approval of a tool invocation.
5 properties 5 required
CreateChatCompletionRequest
object
1 property
ResponseTextParam
object
Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more: - [Text inputs and outputs](https://developers…
2 properties
ImageGenToolCall
object
An image generation request made by the model.
4 properties 4 required
EmptyModelParam
object
InputFileContent
object
A file input to the model.
7 properties 1 required
Verbosity
CustomToolParam
object
A custom tool that processes input using a specified format. Learn more about [custom tools](https://developers.openai.com/api/docs/guides/function-callingcust…
5 properties 2 required
FunctionParameters
object
The parameters the functions accepts, described as a JSON Schema object. See the [guide](https://developers.openai.com/api/docs/guides/function-calling) for ex…
ResponsePromptVariables
ResponseFormatText
object
Default response format. Used to generate text responses.
1 property 1 required
MCPToolFilter
object
A filter object to specify which tools are allowed.
2 properties
MCPTool
object
Give the model access to additional tools via remote Model Context Protocol (MCP) servers. [Learn more about MCP](https://developers.openai.com/api/docs/guides…
10 properties 2 required
CreateTranslationRequest
object
5 properties 2 required
ResponseRefusalDeltaEvent
object
Emitted when there is a partial refusal text.
6 properties 6 required
ScrollParam
object
A scroll action.
6 properties 5 required
ToolSearchCall
object
7 properties 6 required
ComputerUsePreviewTool
object
A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use).
4 properties 4 required
ApplyPatchToolCallOutputItemParam
object
The streamed output emitted by an apply patch tool call.
5 properties 3 required
Prompt
ResponseError
TranscriptionSegment
object
10 properties 10 required
FileCitationBody
object
A citation to a file.
4 properties 4 required
InputMessageContentList
array
A list of one or many input items to the model, containing different content types.
FunctionToolCallOutputResource
ResponseMCPListToolsFailedEvent
object
Emitted when the attempt to list available MCP tools has failed.
4 properties 4 required
ChatCompletionRequestAssistantMessageContentPart
DeletedVideoResource
object
Confirmation payload returned after deleting a video.
3 properties 3 required
ChatCompletionToolChoiceOption
Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick…
ContainerNetworkPolicyDisabledParam
object
1 property 1 required
OutputMessage
object
An output message from the model.
6 properties 5 required
EasyInputMessage
object
A message input to the model with a role indicating instruction following hierarchy. Instructions given with the developer or system role take precedence over…
4 properties 2 required
FunctionShellActionParam
object
Commands and limits describing how to run the shell tool call.
3 properties 1 required
VadConfig
object
4 properties 1 required
ResponseFileSearchCallCompletedEvent
object
Emitted when a file search call is completed (results found).
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aihubmix-openai-compatible-api-openapi.yml Raw ↑

Other APIs AIHubMix publishes across the network.

AIHubMix AIHubMix Unified API
AIHubMix Anthropic Compatible API
AIHubMix Google Vertex AI Compatible API
Where this information came from

This is an independent, third-party profile of AIHubMix OpenAI Compatible API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.