Legs
Flush the STT buffer on a leg without stopping STT
Changed onForces 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 and speechmatics providers support this; deepgram_flux, azure and elevenlabs answer 501 — /v2/listen has no flush message, and Flux reports turn ends itself on stt.turn. On speechmatics the flush also emits an stt.turn end_of_turn event, because it is a forced end of utterance. 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
Request
- Base URLhttp://localhost:8080/v1
- URLhttp://localhost:8080/v1/legs/{id}/stt/finalize
- Authnone declared
Response
Final transcript requested
Changes
- info
endpoint added
- info