sample.wav. The commands work in Bash or zsh. On Windows, use WSL or Git Bash.YOUR_API_KEY with your key and sample.wav with the path to your file.--form. cURL sets the multipart/form-data header and boundary automatically, so leave Content-Type to cURL.{
"language": "en",
"confidence_score": 0.98,
"text": "Hello.",
"words": [
{
"text": "Hello.",
"start_time": 0.0,
"end_time": 0.5,
"confidence_score": 0.98,
"token_type": "word"
}
]
}text. For word-level information, read words. Fields may vary by model and options. See Create a file transcription.number_style and additional_language_codes is echo_v2.language=en. To include Mandarin and Spanish, send additional_language_codes=zh and additional_language_codes=es as separate form fields in the same request. For a hosted recording, replace file with cloud_url.model_id=echo_v2_medical| Symptom | What to check first |
|---|---|
| HTTP 401 | Is the key valid and in the API-Key header? |
missing_input | Was a file uploaded? Does the local path exist? |
HTTP 400 / validation_error | If detail.message contains invalid model_id, check that the endpoint supports the specified model. Example error responses |
HTTP 200 with empty text | Does the recording contain intelligible speech, or mainly silence? |