Calls
Regenerate Transcript
Regenerate transcript for a call from the saved audio recording.
This endpoint allows regenerating the transcript when the original transcription had issues (e.g., speaker misidentification).
Requirements:
- The call must have a saved audio recording in S3
- User must have access to the call
The regeneration process:
For normal calls (not transferred):
- Resets the transcript status to pending
- Resubmits the audio to AssemblyAI with 1-2 expected speakers
- Uses LLM-based speaker identification for better accuracy
- Re-runs grading and summarization after transcription completes
For transferred calls:
- Resets the transcript status to pending
- Downloads the audio and splits it at the transfer point
- Transcribes bot segment (Caller + Assistant) separately
- Transcribes attorney segment (Caller + Attorney) separately
- Merges transcripts with correct speaker labels
- Re-runs grading and summarization after transcription completes
Returns 202 Accepted since the transcription happens asynchronously.
post/calls/{call_id}/transcript/regenerate
Path parameters
call_idstring uuid required
Response
Successful Response
{"stackTrail":"paths:/calls/{call_id}/transcript/regenerate:post:responses:202:content:application/json:schema","oasType":"schema","type":"unknown"}