OpenAPI 3.1.0MITraw.githubusercontent.com2026-08-1910873311.5 KB

bd583fca5230

Legs

Flush the STT buffer on a leg without stopping STT

Forces the provider to emit a final transcript for the audio buffered so far while the session keeps running, so a caller that knows the speaker has finished does not have to wait for the provider's own endpointing. Only the deepgram provider supports this; deepgram_flux, azure and elevenlabs answer 501 — /v2/listen has no flush message, and Flux reports turn ends itself on stt.turn. The flushed transcript arrives on the usual stt.text event with is_final true — a segment containing no speech produces no event at all, so do not block on one.

post/legs/{id}/stt/finalize

Response

Final transcript requested

instance_idstring

Instance identifier

statusstring required