curl --request GET \
--url https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyTITLE: JFK at Rice University, 1962
FCM: DROP FRAME
004 001 V C 01:05:23;09 01:05:23;10 01:05:23;09 01:05:23;10
|C:ResolveColorGreen |M:Highlight - John F. Kennedy: Whole sentence; more pitch movement than usual (+3.1 st); Applause follows |D:53
005 001 V C 01:05:26;26 01:05:26;27 01:05:26;26 01:05:26;27
|C:ResolveColorCyan |M:Applause |D:328
006 001 V C 01:06:18;29 01:06:19;00 01:06:18;29 01:06:19;00
|C:ResolveColorCyan |M:Applause |D:206
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Export markers
The analysis as markers your editing system opens, at the recording’s timecode:
avid_markers: a Media Composer marker list. In the Markers window, right-click and choose Import Markers.resolve_edl: DaVinci Resolve timeline markers. Right-click the timeline in the Media Pool: Timelines, Import, Timeline Markers from EDL.markers_csvandmarkers_json: the same markers with seconds, frames and timecode.srtandvtt: captions built from the word timings, to thepreset’s limits (broadcast: two lines of 42 characters, up to 7 s;social: one line of 32, up to 3 s). A new cue starts at each new speaker, and a cue stays up at most half a second after its last word. Caption times count from the start of the file.X-Caption-QCsays how many cues break the limits and how many words the transcript is unsure of. Captions don’t need the analysis.
include picks what becomes a marker: highlights and reactions by default,
and needs_attention (hesitant, flat and unusable takes) when you ask for it.
Pauses and hesitations never do. The recording’s timebase is used unless you
pass frame_rate (with drop_frame and start_timecode) for this export; with
neither, times count at 23.976 from 00:00:00:00. In points round down to their
frame and out points up. Marker files return 409 until the analysis is complete.
curl --request GET \
--url https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eesi.ai/v1/speech/transcriptions/{session_id}/exports/{export_format}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyTITLE: JFK at Rice University, 1962
FCM: DROP FRAME
004 001 V C 01:05:23;09 01:05:23;10 01:05:23;09 01:05:23;10
|C:ResolveColorGreen |M:Highlight - John F. Kennedy: Whole sentence; more pitch movement than usual (+3.1 st); Applause follows |D:53
005 001 V C 01:05:26;26 01:05:26;27 01:05:26;26 01:05:26;27
|C:ResolveColorCyan |M:Applause |D:328
006 001 V C 01:06:18;29 01:06:19;00 01:06:18;29 01:06:19;00
|C:ResolveColorCyan |M:Applause |D:206
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Your EESI API key, sk-eesi-....
Path Parameters
avid_markers, resolve_edl, markers_csv, markers_json, srt, vtt Query Parameters
Comma-separated: highlights, reactions, needs_attention. Default highlights,reactions.
Frame rate for this export, overriding the recording's timebase.
Drop frame, with frame_rate 29.97 or 59.94.
The timecode of the first frame, with frame_rate.
Captions only: broadcast (two lines of 42 characters, up to 7 s) or social (one line of 32, up to 3 s).
broadcast, social Response
The file, as an attachment.