Skip to main content

Overview

Stream text deltas in (for example, LLM tokens), get audio chunks back live.
The WSS endpoint is rolling out. If the upgrade returns 500, the route is not yet enabled for your account. The HTTP fallback is Stream Speech.

Authentication

In order of precedence:
  • ?token=<JWT> query parameter (recommended for browsers). Mint via Mint Stream Input Token.
  • Authorization: Bearer <api_key> header (server-side).
  • Sec-WebSocket-Protocol: bland.api_key.<key> subprotocol.
  • ?api_key=<key> query (deprecated, logged).

Protocol

All messages are JSON.

Client → Server messages

Server → Client messages

Limits


Docs for agents: llms.txt