Media (Audio/Video)

Source transcript of a translated file

Returns the transcript of the original source-language file behind a translated one, so you can read a translation against the text it came from.

Pass the media id of the translated file. Speak AI resolves the original from the translation record, either as the separate media the two-step flow keeps or, when the translation replaced the text in place, by rebuilding the original from the words the transcription engine stored.

When the original cannot be shown, the request still answers 200. Read data.available first: false carries a reason and nothing else, and true carries the transcript. There is no 404 for an unavailable original.

The sentence shape matches GET /media/transcript/{mediaId}. The rebuilt in-place original omits the per-sentence entities array; the two-step original carries whatever the source media holds. confidence on every sentence is the confidence the transcription engine reported for the original, not a measure of the translation.

get/media/transcript/{mediaId}/source

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/media/transcript/{mediaId}/source
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

mediaIdstring required

The id of the translated media. Sending the id of the original returns available false with reason no-link.

Response

OK

statusstring

Changes

No recorded changes to this operation across all 2 revisions of this API.