OpenAI Integration
WebSocket Responses (OpenAI alias)
WebSocket upgrade endpoint for the Responses API. Mirrors the canonical
GET /v1/responses WS endpoint; the OpenAI-prefixed path is selected
when the request includes an Upgrade: websocket header.
Authentication accepts the same headers as the inference HTTP surface
plus the openai-insecure-api-key.<key> subprotocol fallback.
AuthorizationBearer <token>
Bearer token authentication. Use your MPilot virtual-key JWT or admin JWT.
Virtual keys (prefixed with sk-bf-) can also be passed here.
In: header
Header Parameters
Upgradestring
Value in
"websocket"Sec-WebSocket-Protocol?string
Optional subprotocol; supports openai-insecure-api-key.<key> for
SDK-style auth.
Response Body
curl -X GET "https://loading/{AI_GATEWAY_URL}/openai/v1/responses" \ -H "Upgrade: websocket" \ -H "Sec-WebSocket-Protocol: string"Empty
Empty
Empty