palbaseDocs

Palbase Calls · API

POST/calls/admin/calls/{call_id}/transcription/audio

Transcribe call audio clip

Transcribes a speaker-attributed audio clip via FRD-01 STT, appends the segment to the call's transcript, and emits calls.transcript.segment.

Called by your server, with the project's secret key.

Path

call_idstring (uuid) · requiredThe call's id
curl
curl -X POST "https://<your-ref>.palbase.studio/calls/admin/calls/<call_id>/transcription/audio" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: multipart/form-data" \
  --data-binary @file

Responses

200Audio contained no speech

201Transcript segment appended

400The request is malformed, or a field breaks a rule (the error names which)

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

403Not the project's secret key (`secret_key_required`)

404No such call or transcription (`call_not_found`, `transcription_not_found`)

409The call has ended or transcription is not active (`call_ended`, `transcription_not_active`)

413The request body is too large (`request_too_large`)

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation AdminIngestCallTranscriptionAudio of calls's contract.