POST
/
audio
/
transcriptions
curl --request POST \
  --url https://{controlPlaneURL}/api/llm/api/inference/openai/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<any>' \
  --form 'model=<string>' \
  --form chunking_strategy=auto \
  --form 'include=[
  "<string>"
]' \
  --form 'language=<string>' \
  --form 'prompt=<string>' \
  --form 'response_format=<string>' \
  --form stream=true \
  --form temperature=123 \
  --form 'timestamp_granularities=[
  "word"
]'
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-tfy-metadata
string

Optional metadata for the request

Body

multipart/form-data

Audio file to transcribe and transcription options

The body is of type object.

Response

200
application/json

Audio transcribed successfully

The response is of type object.