Single file transcription only - Upload via Data Stream
Endpoint for single file request for API.This endpoint supports MP3, WAV, and FLAC formats.
Audio files must be provided using the audio_data parameter:
- audio_data: <base64_encoded_audio_string> (the audio file must be encoded in Base64 format before being sent)
This method is useful for direct API requests where sending raw binary files is not possible. Ensure that the encoded string correctly represents the entire audio file to avoid errors.
Request Body
Possible values: [standard, premium, asr]
Possible values: [true, false]
Base64 encoded audio data
- 200
- 400
- 401
- 403
- 404
- 500
Records match query criteria.
Schema
- Array [
- Array [
- ]
- ]
utterances object[]
words object[]
{
"utterances": [
{
"index": 0,
"interval": [
0
],
"speaker_id": 0,
"words": [
{
"word": "string",
"end_time": 0,
"confidence": 0,
"am_confidence": 0,
"lm_confidence": 0,
"start_index": 0,
"end_index": 0
}
],
"confidence": 0,
"transcript": "string"
}
]
}
Invalid arguments. Analyze the response error details.
Schema
error object
Example: {"message": "Not Found"}
{
"error": {
"code": 0,
"message": "string",
"errors": [
"string"
]
}
}
Request did not used the correct credentials, check weather the token is valid, or you Authorization header may be malformed.
Schema
error object
Example:{"message":"Not Found"}
{
"error": {
"code": 0,
"message": "string",
"errors": [
"string"
]
}
}
Not authorized to view the request resource. Despite the valid authorization, the authenticated user or token does not have permission to perform this action.
Schema
error object
Example:{"message":"Not Found"}
{
"error": {
"code": 0,
"message": "string",
"errors": [
"string"
]
}
}
The resources were not found.
Schema
error object
Example:{"message":Resources not found}
{
"error": {
"code": 0,
"message": "string",
"errors": [
"string"
]
}
}
Internal Server Error the ELSA API experienced an error.
Schema
error object
Example: {"message":"Internal Error"}
{
"error": {
"code": 0,
"message": "string",
"errors": [
"string"
]
}
}