speech_to_text.completed

Gửi khi job Speech to Text (POST /stt) xử lý xong. Để nhận sự kiện này, đăng ký webhook với events chứa mã AI_STT:COMPLETED (xem Danh sách sự kiện hỗ trợ). data giống hệt response của endpoint đồng bộ tương ứng (SttResponse).

1{
2 "event": "speech_to_text.completed",
3 "data": {
4 "trackingId": "018f8b3c-5e2a-7c1a-9b3e-3a2c1e4f5a6b",
5 "transcript": "Xin chào, đây là bản ghi âm từ OMICX",
6 "audioDuration": 5,
7 "fileSizeBytes": 245760,
8 "inputAudioFileName": "recording.wav",
9 "inputAudioUrl": "https://storage.omicall.com/stt-input/xyz789.wav?X-Amz-Expires=300",
10 "processingTimeMs": 842
11 }
12}

Lưu ý: inputAudioUrl là presigned URL tạm thời — có thể đã hết hạn vào thời điểm bạn nhận được webhook.