Batch Results
curl --request GET \
--url https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results', 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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results",
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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results"
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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results")
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_body{
"data": [
{
"batch_id": "<string>",
"item_id": "<string>",
"ordinal": 123,
"reused": true,
"result": {
"schema_version": "1.1",
"result_id": "<string>",
"asset_id": "<string>",
"source_asset_id": "<string>",
"source_version": "<string>",
"status": "succeeded",
"duration_ms": 123,
"analysis_profile": "context_av_v1",
"profile_revision": "<string>",
"safety_policy_id": "<string>",
"policy_revision": "<string>",
"engine_revision": "<string>",
"outputs": [
"transcript"
],
"coverage": {
"audio": "complete",
"video": "complete",
"video_sample_interval_ms": 123,
"analyzed_ranges": [
{
"start_ms": 1,
"end_ms": 1
}
],
"missing_ranges": [
{
"start_ms": 1,
"end_ms": 1,
"reason": "<string>"
}
]
},
"overall_suitability": "eligible",
"segments": [
{
"start_ms": 1,
"end_ms": 1,
"segment_id": "<string>",
"topics": [
{
"label": "<string>",
"taxonomy": "il_topics_v1",
"confidence": 0.5
}
],
"suitability": "eligible",
"reason_codes": [
"<string>"
],
"safety_assessments": [
{
"category": "<string>",
"modality": "audio",
"decision": "detected",
"confidence": 0.5,
"evidence_refs": [
"<string>"
]
}
],
"evidence_modalities": [
"audio"
],
"evidence_refs": [
"<string>"
]
}
],
"opportunities": [
{
"start_ms": 1,
"end_ms": 1,
"opportunity_id": "<string>",
"format": "overlay_super",
"status": "candidate",
"segment_ids": [
"<string>"
],
"suitability": "eligible"
}
],
"artifacts": [
{
"artifact_id": "<string>",
"kind": "transcript_json",
"content_type": "<string>",
"size_bytes": "<string>",
"sha256": "<string>",
"expires_at": "<string>"
}
],
"models": [
{
"role": "<string>",
"provider": "<string>",
"model": "<string>",
"revision": "<string>"
}
],
"created_at": "<string>",
"expires_at": "<string>"
}
}
],
"next_cursor": "<string>",
"has_more": true
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}Batch Results
GET
/
v1
/
processing-batches
/
{batch_id}
/
results
Batch Results
curl --request GET \
--url https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results', 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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results",
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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results"
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://console.interactivelayers.com/v1/processing-batches/{batch_id}/results")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.interactivelayers.com/v1/processing-batches/{batch_id}/results")
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_body{
"data": [
{
"batch_id": "<string>",
"item_id": "<string>",
"ordinal": 123,
"reused": true,
"result": {
"schema_version": "1.1",
"result_id": "<string>",
"asset_id": "<string>",
"source_asset_id": "<string>",
"source_version": "<string>",
"status": "succeeded",
"duration_ms": 123,
"analysis_profile": "context_av_v1",
"profile_revision": "<string>",
"safety_policy_id": "<string>",
"policy_revision": "<string>",
"engine_revision": "<string>",
"outputs": [
"transcript"
],
"coverage": {
"audio": "complete",
"video": "complete",
"video_sample_interval_ms": 123,
"analyzed_ranges": [
{
"start_ms": 1,
"end_ms": 1
}
],
"missing_ranges": [
{
"start_ms": 1,
"end_ms": 1,
"reason": "<string>"
}
]
},
"overall_suitability": "eligible",
"segments": [
{
"start_ms": 1,
"end_ms": 1,
"segment_id": "<string>",
"topics": [
{
"label": "<string>",
"taxonomy": "il_topics_v1",
"confidence": 0.5
}
],
"suitability": "eligible",
"reason_codes": [
"<string>"
],
"safety_assessments": [
{
"category": "<string>",
"modality": "audio",
"decision": "detected",
"confidence": 0.5,
"evidence_refs": [
"<string>"
]
}
],
"evidence_modalities": [
"audio"
],
"evidence_refs": [
"<string>"
]
}
],
"opportunities": [
{
"start_ms": 1,
"end_ms": 1,
"opportunity_id": "<string>",
"format": "overlay_super",
"status": "candidate",
"segment_ids": [
"<string>"
],
"suitability": "eligible"
}
],
"artifacts": [
{
"artifact_id": "<string>",
"kind": "transcript_json",
"content_type": "<string>",
"size_bytes": "<string>",
"sha256": "<string>",
"expires_at": "<string>"
}
],
"models": [
{
"role": "<string>",
"provider": "<string>",
"model": "<string>",
"revision": "<string>"
}
],
"created_at": "<string>",
"expires_at": "<string>"
}
}
],
"next_cursor": "<string>",
"has_more": true
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"request_id": "<string>",
"retryable": true,
"errors": [
{
"pointer": "<string>",
"code": "<string>",
"message": "<string>"
}
]
}