Export an AI Dubbing QC Run
curl --request GET \
--url https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export', 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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyOllang API Reference
Export an AI Dubbing QC Run
Download an XLSX generated from a stored AI Dubbing QC report
GET
/
integration
/
orders
/
{orderId}
/
av-qc
/
{runId}
/
export
Export an AI Dubbing QC Run
curl --request GET \
--url https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export', 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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
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-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-integration.ollang.com/integration/orders/{orderId}/av-qc/{runId}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyDownloads an XLSX workbook for a run with a stored report. The workbook uses the stored result; export does not start a new evaluation or charge credits. A report must exist for the requested run.
AI Dubbing QC covers completed AI Dubbing orders that were paid with AI credits. For an order with visual translation, the translated on-screen text is checked too, as a separate section of the report. Lip-sync accuracy is scored only when LipSync covers every segment. The API key’s user needs the
On success, the response is binary with content type
client_owner, client_view or client_createOrder role; other roles receive 403.
Authorization
Send the integration API key inx-api-key. The order and run must belong to the client identified by the key.
Path parameters
curl --fail-with-body \
"https://api-integration.ollang.com/integration/orders/507f1f77bcf86cd799439011/av-qc/507f1f77bcf86cd799439012/export" \
-H "x-api-key: $OLLANG_API_KEY" \
-o av-qc-507f1f77bcf86cd799439012.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet and a run-ID-based .xlsx filename. Errors are returned as HTTP errors, not as an XLSX workbook.
The workbook has three sheets: Summary (order, languages, overall score, result and dimension scores), Issues (severity, timecodes, description, original and dubbed quotes, suggested correction) and Corrective Actions. Full LipSync is included in the timing and synchronisation dimension. Exporting an outdated report does not refresh it: the summary then carries a note, and the run’s outdated field is true.Was this page helpful?