Realtime

Connect to realtime WebSocket

Returns realtime endpoint metadata for normal HTTP GET requests. WebSocket clients use the same path with ?model={model} and Bearer API key authentication to open realtime speech or multimodal sessions. This public surface is a TokenLab WebSocket subset of OpenAI Realtime; it does not expose its REST helper endpoints such as client secrets, translation client secrets, Calls, or legacy beta session creation.

get/v1/realtime

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1/realtime
  • Auth: HTTP bearer

Query parameters

modelstring

Realtime model ID to route the WebSocket session. Required for WebSocket upgrade requests; optional for plain HTTP metadata checks.

Response

Realtime endpoint metadata returned for non-WebSocket GET requests

objectstring required
websocket_urlstring required
protocolstring required

Example response

{
  "object": "realtime.endpoint",
  "websocket_url": "/v1/realtime?model={model}",
  "protocol": "tokenlab_realtime_proxy"
}

Changes

No recorded changes to this operation across all 1 revision of this API.