Skip to content

SSE Live Progress Stream ​

Instead of polling task endpoints repeatedly, connect to the Server-Sent Events (SSE) progress stream for real-time progress updates and partial chunk output.


HTTP Request ​

http
GET /v1/file-transcription/transcriptions/{task_id}/stream
Authorization: Bearer sk-oneasr-...
Accept: text/event-stream

SSE Event Flow ​

text
event: progress
data: {"progress": 0.25, "processed_seconds": 180.0, "total_seconds": 720.0}

event: chunk
data: {"chunk_id": 1, "text": "In today's engineering sync...", "start": 0.0, "end": 4.5}

event: completed
data: {"status": "completed", "duration": 720.5}