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 Anthropic Compatible API

Anthropic-native endpoints (messages with Anthropic protocol).

AIHubMix Anthropic 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 Anthropic Compatible. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 6 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 156 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.

1 operations 1 paths 156 schemas 1 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 Anthropic 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 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Anthropic Compatible 1

Anthropic-native endpoints (messages with Anthropic protocol).

POST
/v1/messages
Create a Message
messages_post 1 param body → 2004004014034044295XX

Schemas 156

The contract defines 156 schemas that model the data the API accepts and returns. The most detailed are AnthropicCreateMessageParams (18 properties), AnthropicWebFetchTool_20260309 (12 properties), AnthropicWebFetchTool_20250910 (11 properties), AnthropicWebFetchTool_20260209 (11 properties). Each schema is shown below with its type and property counts.

AnthropicRequestMidConvSystemBlock
object
System instructions that appear mid-conversation. Use this block to provide or update system-level instructions at a specific point in the conversation, rather…
3 properties 2 required
AnthropicResponseWebFetchToolResultError
object
2 properties 2 required
AnthropicCreateMessageParams
object
18 properties 3 required
AnthropicContentBlock
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
AnthropicRequestRedactedThinkingBlock
object
2 properties 2 required
AnthropicResponseRedactedThinkingBlock
object
2 properties 2 required
AnthropicToolSearchToolRegex_20251119
object
6 properties 2 required
AnthropicServerToolCaller
object
Tool invocation generated by a server-side tool.
2 properties 2 required
AnthropicURLPDFSource
object
2 properties 2 required
AnthropicRequestWebSearchResultLocationCitation
object
5 properties 5 required
AnthropicRequestImageBlock
object
3 properties 2 required
AnthropicCodeExecutionTool_20250522
object
6 properties 2 required
AnthropicMessageStartEvent
object
2 properties 2 required
AnthropicTextContentBlockDelta
object
2 properties 2 required
AnthropicThinkingConfigParam
Configuration for enabling Claude's extended thinking. When enabled, responses include thinking content blocks showing Claude's thinking process before the fin…
AnthropicResponsePageLocationCitation
object
7 properties 7 required
AnthropicRequestCodeExecutionToolResultBlock
object
4 properties 3 required
AnthropicInputSchema
object
3 properties 1 required
AnthropicTextEditor_20250728
object
8 properties 2 required
AnthropicMessageDeltaEvent
object
3 properties 3 required
AnthropicResponseTextEditorCodeExecutionViewResultBlock
object
6 properties 6 required
AnthropicResponseWebSearchToolResultError
object
2 properties 2 required
AnthropicWebFetchTool_20260209
object
11 properties 2 required
AnthropicMessageStreamEvent
AnthropicRequestBashCodeExecutionResultBlock
object
5 properties 5 required
AnthropicResponseServerToolUseBlock
object
5 properties 5 required
AnthropicToolSearchToolBM25_20251119
object
6 properties 2 required
AnthropicToolChoiceTool
object
The model will use the specified tool with toolchoice.name.
3 properties 2 required
AnthropicJsonValue
AnthropicJsonOutputFormat
object
2 properties 2 required
AnthropicResponseCodeExecutionToolResultBlock
object
3 properties 3 required
AnthropicResponseToolSearchToolResultBlock
object
3 properties 3 required
AnthropicResponseTextEditorCodeExecutionStrReplaceResultBlock
object
6 properties 6 required
AnthropicRequestToolResultBlock
object
5 properties 2 required
AnthropicBase64PDFSource
object
3 properties 3 required
AnthropicRequestCodeExecutionResultBlock
object
5 properties 5 required
AnthropicWebFetchToolResultErrorCode
string
AnthropicWebSearchTool_20260209
object
10 properties 2 required
AnthropicTextEditor_20250429
object
7 properties 2 required
AnthropicSignatureContentBlockDelta
object
2 properties 2 required
AnthropicResponseDocumentBlock
object
4 properties 4 required
AnthropicRequestWebFetchToolResultBlock
object
5 properties 3 required
AnthropicOutputTokensDetails
object
1 property 1 required
AnthropicResponseBashCodeExecutionToolResultError
object
2 properties 2 required
AnthropicResponseToolReferenceBlock
object
2 properties 2 required
AnthropicInputMessage
object
2 properties 2 required
AnthropicInputJsonContentBlockDelta
object
2 properties 2 required
AnthropicContentBlockStartEvent
object
3 properties 3 required
AnthropicRequestTextBlock
object
4 properties 2 required
AnthropicResponseWebSearchToolResultBlock
object
4 properties 4 required
AnthropicResponseToolSearchToolSearchResultBlock
object
2 properties 2 required
AnthropicMessageStopEvent
object
1 property 1 required
AnthropicRequestCodeExecutionOutputBlock
object
2 properties 2 required
AnthropicRequestBashCodeExecutionToolResultBlock
object
4 properties 3 required
AnthropicTextEditor_20250124
object
7 properties 2 required
AnthropicCacheControlEphemeral
object
2 properties 1 required
AnthropicRequestCitationsConfig
object
1 property
AnthropicRequestTextEditorCodeExecutionToolResultError
object
3 properties 2 required
AnthropicMemoryTool_20250818
object
7 properties 2 required
AnthropicRequestContentBlockLocationCitation
object
6 properties 6 required
AnthropicCacheCreation
object
2 properties 2 required
AnthropicResponseContentBlockLocationCitation
object
7 properties 7 required
AnthropicRequestTextEditorCodeExecutionStrReplaceResultBlock
object
6 properties 1 required
AnthropicCitationsDelta
object
2 properties 2 required
AnthropicResponseContainerUploadBlock
object
Response model for a file uploaded to the container.
2 properties 2 required
AnthropicContainer
object
Information about the container used in the request (for the code execution tool)
2 properties 2 required
AnthropicBashCodeExecutionToolResultErrorCode
string
AnthropicRequestSearchResultBlock
object
6 properties 4 required
AnthropicResponseBashCodeExecutionToolResultBlock
object
3 properties 3 required
AnthropicEffortLevel
string
All possible effort levels.
AnthropicResponseBashCodeExecutionResultBlock
object
5 properties 5 required
AnthropicRequestBashCodeExecutionOutputBlock
object
2 properties 2 required
AnthropicUserLocation
object
5 properties 1 required
AnthropicServerToolUsage
object
2 properties 2 required
AnthropicResponseCitationsConfig
object
1 property 1 required
AnthropicThinkingConfigEnabled
object
3 properties 2 required
AnthropicThinkingConfigAdaptive
object
2 properties 1 required
AnthropicContentBlockSource
object
2 properties 2 required
AnthropicResponseCodeExecutionOutputBlock
object
2 properties 2 required
AnthropicRefusalStopDetails
object
Structured information about a refusal.
3 properties 3 required
AnthropicResponseBashCodeExecutionOutputBlock
object
2 properties 2 required
AnthropicWebFetchTool_20250910
object
11 properties 2 required
AnthropicModel
The model that will complete your prompt. See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
AnthropicResponseToolUseBlock
object
5 properties 5 required
AnthropicResponseEncryptedCodeExecutionResultBlock
object
Code execution result with encrypted stdout for PFC + websearch results.
5 properties 5 required
AnthropicResponseCodeExecutionResultBlock
object
5 properties 5 required
AnthropicRequestWebSearchToolResultError
object
2 properties 2 required
AnthropicInputContentBlock
AnthropicRequestCharLocationCitation
object
6 properties 6 required
AnthropicOutputConfig
object
2 properties
AnthropicServerToolCaller_20260120
object
2 properties 2 required
AnthropicRequestToolSearchToolResultBlock
object
4 properties 3 required
AnthropicRequestToolSearchToolResultError
object
2 properties 2 required
AnthropicRequestSearchResultLocationCitation
object
7 properties 7 required
AnthropicRequestToolSearchToolSearchResultBlock
object
2 properties 2 required
AnthropicToolChoice
How the model should use the provided tools. The model can use a specific tool, any available tool, decide by itself, or not use tools at all.
AnthropicRequestWebSearchToolResultBlock
object
5 properties 3 required
AnthropicRequestTextEditorCodeExecutionViewResultBlock
object
6 properties 3 required
AnthropicResponseWebFetchResultBlock
object
4 properties 4 required
AnthropicToolSearchToolResultErrorCode
string
AnthropicRequestServerToolUseBlock
object
6 properties 4 required
AnthropicResponseCharLocationCitation
object
7 properties 7 required
AnthropicRequestBashCodeExecutionToolResultError
object
2 properties 2 required
AnthropicUsage
object
9 properties 9 required
AnthropicRequestWebFetchToolResultError
object
2 properties 2 required
AnthropicCodeExecutionToolResultErrorCode
string
AnthropicRequestWebSearchResultBlock
object
5 properties 4 required
AnthropicResponseTextEditorCodeExecutionToolResultError
object
3 properties 3 required
AnthropicRequestCodeExecutionToolResultError
object
2 properties 2 required
AnthropicResponseSearchResultLocationCitation
object
7 properties 7 required
AnthropicWebFetchTool_20260309
object
Web fetch tool with usecache parameter for bypassing cached content.
12 properties 2 required
AnthropicResponseTextEditorCodeExecutionCreateResultBlock
object
2 properties 2 required
AnthropicThinkingConfigDisabled
object
1 property 1 required
AnthropicMessageDeltaUsage
object
6 properties 6 required
AnthropicAllowedCaller
string
Specifies who can invoke a tool. Values: direct: The model can call this tool directly. codeexecution20250825: The tool can be called from the code execution e…
AnthropicToolChoiceAuto
object
The model will automatically decide whether to use tools.
2 properties 1 required
AnthropicRequestWebFetchResultBlock
object
4 properties 3 required
AnthropicThinkingDisplayMode
string
AnthropicTool
object
10 properties 2 required
AnthropicResponseWebSearchResultBlock
object
5 properties 5 required
AnthropicCodeExecutionTool_20260120
object
Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
6 properties 2 required
AnthropicRequestContainerUploadBlock
object
A content block that represents a file to be uploaded to the container Files uploaded via this block will be available in the container's input directory.
3 properties 2 required
AnthropicMetadata
object
1 property
AnthropicTextEditorCodeExecutionToolResultErrorCode
string
AnthropicResponseWebSearchResultLocationCitation
object
5 properties 5 required
AnthropicBase64ImageSource
object
3 properties 3 required
AnthropicRequestToolReferenceBlock
object
Tool reference block that can be included in toolresult content.
3 properties 2 required
AnthropicToolChoiceNone
object
The model will not be allowed to use tools.
1 property 1 required
AnthropicResponseWebFetchToolResultBlock
object
4 properties 4 required
AnthropicResponseThinkingBlock
object
3 properties 3 required
AnthropicContentBlockStopEvent
object
2 properties 2 required
AnthropicContentBlockDeltaEvent
object
3 properties 3 required
AnthropicWebSearchTool_20250305
object
10 properties 2 required
AnthropicDirectCaller
object
Tool invocation directly from the model.
1 property 1 required
AnthropicURLImageSource
object
2 properties 2 required
AnthropicRequestTextEditorCodeExecutionToolResultBlock
object
4 properties 3 required
AnthropicToolChoiceAny
object
The model will use any available tools.
2 properties 1 required
AnthropicResponseToolSearchToolResultError
object
3 properties 3 required
AnthropicRequestDocumentBlock
object
6 properties 2 required
AnthropicPlainTextSource
object
3 properties 3 required
AnthropicCodeExecutionTool_20250825
object
6 properties 2 required
AnthropicRequestThinkingBlock
object
3 properties 3 required
AnthropicWebSearchToolResultErrorCode
string
AnthropicRequestTextEditorCodeExecutionCreateResultBlock
object
2 properties 2 required
AnthropicMessage
object
10 properties 10 required
AnthropicResponseCodeExecutionToolResultError
object
2 properties 2 required
AnthropicRequestToolUseBlock
object
6 properties 4 required
AnthropicResponseTextBlock
object
3 properties 3 required
AnthropicBashTool_20250124
object
7 properties 2 required
AnthropicResponseTextEditorCodeExecutionToolResultBlock
object
3 properties 3 required
AnthropicRequestPageLocationCitation
object
6 properties 6 required
AnthropicThinkingContentBlockDelta
object
2 properties 2 required
AnthropicMessageDelta
object
4 properties 4 required
AnthropicStopReason
string
AnthropicRequestEncryptedCodeExecutionResultBlock
object
Code execution result with encrypted stdout for PFC + websearch results.
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs AIHubMix publishes across the network.

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

This is an independent, third-party profile of AIHubMix Anthropic 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.