Single file transcription only
Endpoint for single file request for API
Request Body
Audio data can be processed in 3 different ways:
- audio_file: @<local_audio_file_path> → (note the ‘@’ for multipart upload of a binary file) allows to send a local audio file
- audio_path: <remote_audio_path_url> → points to a URL path to an audio file available online. Make sure the audio file is accessible.
- audio_data: <base64_data_string> → audio data sent as a string, encoded in base64
Possible values: [standard
, premium
, asr
]
Possible values: [true
, false
]
Possible values: Value must match regular expression @<local_audio_file_path>;<remote_audio_path_url> ;<base64_data_string>
- 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"
]
}
}