Skip to navigation

Analyze speakers

Matches each transcript speaker to the face that talks during their words. Read GET /v2/transcriptions/{id}/speaker-analysis first, and call this to start an analysis that wasn’t run or to retry one that ended unavailable. Pass the job’s revision and sourceVideoUrl. Supports up to 2 minutes of video and 8 speakers, and 3 requests per minute.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

idstringRequired
Transcription job id.

Request

This endpoint expects an object.
revisionstringRequired
The revision of the transcription job.
sourceVideoUrlstringRequired
The transcription's source video URL.
retrybooleanOptional
Set to true to rerun an analysis that ended unavailable. A completed or running analysis is returned as is.

Response

Speaker analysis started or returned
revisionstring
The transcription revision this analysis belongs to.
sourceStartMsinteger
Start of the analyzed window, in source milliseconds.
statusenum

Status of the speaker analysis. processing is not terminal; completed and unavailable are.

Allowed values:
speakerslist of objects
One entry per transcript speaker, up to 8.
sourceVideoUrlstringOptional
The analyzed source video. Null for jobs created from sourceAudioUrl.
sourcePlaybackUrlstringOptional
A temporary URL for playing the source video.
sourceEndMsintegerOptional
End of the analyzed window, in source milliseconds. Null when the window runs to the end of the source.
reasonstringOptional
Why the analysis is unavailable or wasn't run.
modelstringOptional
The model that ran the analysis.

Errors

401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Speaker Analysis Too Many Requests Error
500
Internal Server Error