Skip to main content
POST
Transcribe a call recording

Authorizations

Authorization
string
header
required

Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.

Body

multipart/form-data
file
file
required

The call recording.

language
string

Optional hint, up to 32 characters: hi, en, Hinglish…

Example:

"hi"

Response

The transcript

cost
object
required

What the wallet was charged: the provider-reported cost × ₹88 × 1.2, rounded up to a paisa.

duration_secs
number
required

The recording's length, to a tenth of a second.

Required range: 0 <= x <= 900
id
string
required

The transcription id: the reference of its wallet transaction (kind flow_generation). Quote it in a support request.

Pattern: ^ftr_[0-9A-Z]{26}$
model
any
required

The model that transcribed it.

object
any
required
transcript
string
required

One turn per line, each starting AGENT: (the business's side) or CALLER:. Personal data is replaced with [NAME], [PHONE], [ADDRESS] or [NUMBER]. Pass it as an examples[].transcript to POST /v2/agents/flow/generate.

usage
object
required

The tokens the model reported (the audio counts as prompt tokens; completion includes the model's reasoning).