Skip to Content
Docs

Transcribe a chunk for a live speech-to-text session

POST
/api/stt/live/chunk

Transcribe a chunk for a live speech-to-text session.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
chunk_index*integer

Sequential chunk index

file*

Audio chunk

is_silence?boolean

Whether the latest capture window was mostly silence

session_id*string

Live transcription session ID

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/stt/live/chunk' \  -H 'Content-Type: application/json' \  -d '{  "chunk_index": 0,  "file": {},  "session_id": "string"}'
Example Response200
Empty