curl --request GET \
--url https://api.simli.ai/transparency/detections/{detection_id}import requests
url = "https://api.simli.ai/transparency/detections/{detection_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.simli.ai/transparency/detections/{detection_id}', 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.simli.ai/transparency/detections/{detection_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.simli.ai/transparency/detections/{detection_id}"
req, _ := http.NewRequest("GET", url, nil)
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.simli.ai/transparency/detections/{detection_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.simli.ai/transparency/detections/{detection_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"queue_position": 123,
"result": {
"verdict": "generated_by_simli",
"generated_by_simli": true,
"summary": "<string>",
"details": {
"provider": "Simli",
"model": "Trinity-2"
},
"scope": "<string>",
"contact": "<string>",
"techniques": {
"watermark": {
"checked": true,
"found": true,
"frames_checked": 123
},
"metadata": {
"checked": true,
"found": true,
"status": "valid"
}
},
"content_sha256": "<string>",
"detector": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"failure": {
"reason": "file_refused",
"detail": "<string>",
"retryable": true
}
}Read a detection's result
The state of a detection: pending, processing, completed or failed. A completed result says whether Simli generated the file (generated_by_simli) and what each technique found: the watermark in the pixels, and the signed metadata in the file (valid, content_changed when the video was re-encoded or edited after Simli made it or the metadata came from another file, invalid_signature when it is not signed by Simli, or absent). When Simli generated it, details names the provider and the model, and nothing else: not the avatar, the account or the session. scope states that the check covers the video only, never the audio, which Simli neither generates nor marks. For a request about a particular file, contact points to privacy@simli.com. One poll per minute per detection. Results are kept 48 hours; the uploaded file is deleted as soon as it has been read.
curl --request GET \
--url https://api.simli.ai/transparency/detections/{detection_id}import requests
url = "https://api.simli.ai/transparency/detections/{detection_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.simli.ai/transparency/detections/{detection_id}', 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.simli.ai/transparency/detections/{detection_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.simli.ai/transparency/detections/{detection_id}"
req, _ := http.NewRequest("GET", url, nil)
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.simli.ai/transparency/detections/{detection_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.simli.ai/transparency/detections/{detection_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"queue_position": 123,
"result": {
"verdict": "generated_by_simli",
"generated_by_simli": true,
"summary": "<string>",
"details": {
"provider": "Simli",
"model": "Trinity-2"
},
"scope": "<string>",
"contact": "<string>",
"techniques": {
"watermark": {
"checked": true,
"found": true,
"frames_checked": 123
},
"metadata": {
"checked": true,
"found": true,
"status": "valid"
}
},
"content_sha256": "<string>",
"detector": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"failure": {
"reason": "file_refused",
"detail": "<string>",
"retryable": true
}
}