Transcripts
Export a transcript
Downloads a completed transcript as plain text, or as SRT or WebVTT subtitles.
Serverhttps://api.eu.vatis.tech
GET/v1/transcripts/{id}/export
Needs batch transcription
Transcripts are the results of files, so this works once batch is open on your workspace (Batch transcription). A live session keeps no transcript.
id (required)
The transcript: the
id of the answer to Create a transcript.Valuesa transcript id,
tr_...txt only: each paragraph starts with its time, [01:05], or [1:02:03] past the first hour.Values
true, falseDefaulttrueName the speaker:
Speaker 1 for speaker_0, Channel 1 for channel_0. A transcript without speakers has none to name.Values
true, falseDefaulttruetext/plain
The file, in UTF-8, with
Content-Disposition: attachment; filename="<id>.<format>" and the Content-Type text/plain; charset=utf-8, application/x-subrip; charset=utf-8 or text/vtt; charset=utf-8. Here, format=txt.400 invalid_parameter
A parameter unknown, sent twice, out of range, or not one the format takes (
lines with txt, timestamps with srt); or subtitles of a transcript made with timestamps=none (param format).application/json
No
format.application/json
No key, or a wrong, revoked or expired one.
404 not_found
An id that is unknown, deleted or past its 7 days; one sent with
store=false; or another key's transcript, to a Member key.409 not_completed
The transcript is still
queued or processing, or it failed. Wait until it is completed.- Booleans are
trueorfalse(also1or0). An empty value counts as not sent. - To save the file under the name the API gives,
<id>.<format>:curl -sS -H "Authorization: Bearer $VATIS_KEY" -OJ "https://api.eu.vatis.tech/v1/transcripts/$ID/export?format=srt". - What the files look like, and how their captions are cut: What the files look like.
- With
store=falsenothing is kept to export: ask for the files with the request, inexports(Create a transcript).