x-portkey-beta header (or the equivalent SDK parameter) in your request with the feature’s version string.
Currently Available Beta Features
Use Responses API for Messages Transforms
Header value:use-responses-api-2026-07-30
Disables the automatic transformation of /v1/messages requests to Chat Completions format for providers that don’t natively support the Messages API. When this flag is set, requests are routed through the Responses API adapter instead.
When to use it
- You want to use the Responses API format internally while still calling the
/v1/messagesendpoint - You need consistency with Responses API behavior across all your requests
- You’re migrating from Messages API to Responses API and want to test the behavior without changing endpoints
/v1/messages request to a provider that doesn’t natively support Anthropic’s Messages format (like OpenAI, Gemini, Bedrock, etc.), Portkey automatically transforms it to the Chat Completions format. With this beta flag enabled, that transformation is skipped and the request is handled by the Responses API adapter instead.
How to send the header
Server-Side MCP Execution
Header value:server-side-mcp-2026-06-01
Enables Portkey to fetch and execute MCP tools on your behalf — directly inside the gateway — rather than delegating execution to the upstream provider. This is required whenever you use the @portkey-mcp prefix in the Responses API or Messages API.
When to use it
- You are routing through a provider that does not natively support remote MCP tool execution (e.g. AWS Bedrock, Google Vertex AI).
- You want MCP credentials and tool invocations to stay within your own VPC and never touch provider infrastructure.
- You need per-user attribution, audit logs, and full observability over every MCP tool call.
SDK Parameter Reference
Thex-portkey-beta HTTP header maps to the following SDK parameters:
Beta features may change before they are promoted to stable. Breaking changes within the same beta version string will not be made, but the stable API may look different. Check the changelog for updates.

