SpeechRelay Docs

Limits

The bounds a session is admitted and held under, and what the service does when one is reached.

API access is not open yet. It is opening gradually; join the waitlist.

Audio format

Audio is 16 kHz, mono, signed 16-bit little-endian PCM. The protocol_version is "1.0".

Session bounds

These are the shipped defaults. An operator configures them independently, so a deployment may differ. Separately, and not operator-configurable, the server holds at most 128 undelivered events per session; a client that stops reading is subject to the backpressure described on the errors page.

Request fields

Quotas

A quota is expressed in audio seconds and is checked when a session is admitted, not continuously. A session that was admitted runs to its own end, so a caller can finish slightly past a quota boundary. This is deliberate: refusing mid-stream would end an established session.

Consumption is written back when a session ends. Billing counts audio the service processed, not audio submitted.

A key with no quota set is unlimited, not zero. A key with no scopes set is unrestricted, not unauthorized.

Exceeding a quota is quota_exhausted, and it is not retryable — retrying will not succeed until more quota exists.

When a limit is reached

The errors page covers ordering and cancellation behaviour; the authentication page covers credentials.