This page explains key functionality provided by the Corti audio file processing via the
/recordings and /transcripts endpoints.API specifications: Upload recording and create transcript.How it Works
- Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60 min in total duration, or 150 MB in total size, may be used.
- By default, the transcripts endpoint operates synchronous-to-asynchronous: requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously.
- In the latter scenario, a partial or empty transcript with
status=processingwill be returned with a location header that can be used to retrieve the completed transcript. - The client can poll the
/transcriptsendpoint (GET /interactions/{id}/transcripts/{transcriptId}/status) for transcript status monitoring:202 OKwith statusprocessing,completed, orfailed404 Not Foundif theinteractionIdortranscriptIdare invalid
- The completed transcript can be retrieved via the Get Transcript request (
GET /interactions/{id}/transcripts/{transcriptId}/)
- In the latter scenario, a partial or empty transcript with
- Set the
asyncparameter to true to receive the location header immediately: client does not need to wait for the sync timeout window, request will process asynchronously.
Using the API
Review supported audio file requirements here.
Corti speech to text supports file transcoding; however, it is recommended to follow the outlined best practices for a consistent and reliable experience.
Create an Interaction:
POST:/interactions/Note the
interactionId included in the response that will be used for aggregating the audio file and transcript assets.Upload an audio file:
POST:/interactions/{id}/recordings/Note the recordingId that will be used for transcript creation
Create the transcript:
POST:/interactions/{id}/transcripts/Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60min in total duration, or 150MB in total size, are supported.
Receive the transcript:
- First, the transcript will process synchronously for a maximum of 25 seconds
- If the audio file transcription takes longer than the 25 second synchronous processing timeout, then it will continue to process asynchronously.
- In this scenario, an empty transcript will be returned with a location header that can be used to retrieve the final transcript via the
transcriptId. - The client can poll the Get Transcript endpoint status (
GET /interactions/{id}/transcripts/{transcriptId}/status) for transcript status (processing,completed,failed).
- In this scenario, an empty transcript will be returned with a location header that can be used to retrieve the final transcript via the
Use the List Transcripts endpoint to view all transcripts associated with an interaction, and completed transcripts can be retrieved via the Get Transcript endpoint.
Features
Languages
Corti speech to text is specifically designed for use in the healthcare domain. A tier system has been introduced to categorize functionality and performance that is available per language and endpoint. Languages in the Enhanced and Premier tiers have the utmost functionality and recognition accuracy - they’re the ones recommended for dictation use.
Audio Configuration
With support for mono or multi-channel audio, with live transcoding and a variety of file formats to choose from, don’t let the complexities fo audio capture and processing inhibit opportunities for real-time intelligence. Read more about our recommendations and best practices.
Punctuation
Punctuation is essential for coherent documentation. Setting the
spokenPunctuation parameter to true in /transcripts requests enables verbalized punctuation (“period” or “comma”) to be converted to symbols (”.” or ”,”). automaticPunctuation is enabled by default.Diarization
Diarization is the process of segmenting an audio recording by speaker, assigning portions of speech to distinct identities (e.g., “Doctor,” “Patient”). This enables accurate transcription, attribution, and analysis of multi-speaker clinical conversations, but is not required for effective AI scribing or workflow speech-enablement.
Formatting
Speech to text can be used to create a verbatim transcript of the audio; however, some content is not documented in the same manner as it is verbalized. The
Server defaults are applied and configuration of formatting preferences is not currently exposed through this endpoint as with
formatting features provide control over how key information should for represented in the textual output.Server defaults are applied and configuration of formatting preferences is not currently exposed through this endpoint as with
/transcribe.Replacements
coming soonAbility to define words or phrases that should be returned in place of the standard output by the speech-to-text model.
Keyterms
Bias speech-to-text output so that new words can be introduced to the system vocabulary (e.g., surnames) or to improve recognition reliability for homophones and words with ambiguous pronunciation.
Please contact us for more information or help.