Speech Analytics

Upload a file

Uploads an audio file for transcription. Transcription is asynchronous; Wavix sends a POST callback to callback_url when it completes, including the request_id returned by this request.

Callback body:

   {
        "request_id": "e865ea07-25af-4fdd-876e-04b0d41d5ebd",
        "status": "completed",
        "error": null
   }
  • request_id: ID of the transcription request.
  • status: One of completed (transcription succeeded) or failed (transcription encountered an error).
  • error: Error description, or null when the transcription succeeded.
post/v1/speech-analytics

Response

Returns the transcription request_id for the uploaded file.

filestring required

Uploaded file name.

request_idstring required

Transcription request ID.

successboolean required

Indicates whether the request was successful.

Example response

{
  "file": "file.mp3",
  "request_id": "e865ea07-25af-4fdd-876e-04b0d41d5ebd",
  "success": true
}

Changes

Changed in 3 of the 50 revisions of this API.5

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api operation id Submitafilefortranscription removed and replaced with speech_analytics_create

      api-operation-id-removed

    • added SubmitFileTranscriptionResponse to the response body allOf list for the response status 200

      response-body-all-of-added

    • removed SubmitaFileforTranscriptionResponse from the response body allOf list for the response status 200

      response-body-all-of-removed

    This revision also has 163 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added