capabilities.work

Balance-Gated Transcription

A 3-step recipe with Deepgram. We can help you get access.

Recipe · 3 steps

Balance-Gated Transcription

Gate a transcription on the project having a positive billing balance.

  1. List the project's billing balances to confirm a balance exists before inspecting its detail.
  2. Read the chosen balance detail and branch on whether credit remains: a positive amount proceeds to transcription, a depleted balance ends the workflow.
  3. Submit the hosted audio file for transcription now that the project has a positive billing balance.
What you'll need to have ready
  • apiKey: Deepgram API key used to authenticate requests.
  • projectId: The project whose balance gates the transcription.
  • balanceId: The billing balance to inspect before transcribing.
  • audioUrl: Publicly accessible URL of the audio file to transcribe.
  • model: Speech-to-text model to use for transcription.
For your developer

Arazzo workflow deepgram:balance-gated-transcription, 3 operations: listProjectBalances → getProjectBalance → transcribePreRecordedAudio. Specs on APIs.io.