"numSpeakers": 2
to the body of your request.
This will detect exactly 2 speakers, which typically results in better overall diarization performance.
"exclusive": true
to your request body.
This will include exclusive diarization values in the output (equivalent to diarization but without overlapping speech).
"confidence": true
to your request body. When enabled, the job output will include:
confidence
object containing:
score
, an array with the confidence score for each sampleresolution
, indicating the time interval in seconds between confidence score samplesresolution
is 0.02
, it means each confidence score represents a 20-millisecond interval in the audio.
"confidence": true
in your request.
"turnLevelConfidence": true
to your request body.
When enabled, the job output will include a "confidence"
object for each diarization segment.
The object contains each speaker as the key and a number from 0-100 indicating the confidence score for each speaker assignment.
webhook
param is set, the results will be sent to the provided URL.
The webhook URL is where any update related to the identification job will be sent.
The job output will be sent as a JSON object in the request body.
status
field in the job response to check if the job is completed.
Once the job is completed, you can retrieve the job results by accessing the output
field.
output
field contains the job results and is only available when the job
status is succeeded
. Job results are automatically deleted after 24
hours of job completion.status
field is either succeeded
, failed
, or canceled
.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.