Fingerprint Embed
curl --request POST \
--url https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"content_type": "news",
"metadata": {
"author_id": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"source_id": "<string>"
}
}
'import requests
url = "https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed"
payload = {
"url": "<string>",
"content_type": "news",
"metadata": {
"author_id": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"source_id": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
content_type: 'news',
metadata: {
author_id: '<string>',
published_at: '2023-11-07T05:31:56Z',
source_id: '<string>'
}
})
};
fetch('https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed', 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://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>',
'content_type' => 'news',
'metadata' => [
'author_id' => '<string>',
'published_at' => '2023-11-07T05:31:56Z',
'source_id' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"watermarked_content": "<string>",
"fingerprint_id": "<string>",
"tkg_snapshot": {
"entities": [
"<string>"
],
"timeseries": [
"<string>"
],
"relations": [
{
"from": "<string>",
"rel": "<string>",
"to": "<string>"
}
],
"argument_map": [
{
"premise": "<string>",
"evidence": "<string>",
"conclusion": "<string>"
}
]
},
"embed_timestamp": "2023-11-07T05:31:56Z",
"meta": {
"executionTimeMs": 123
}
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}Intelligence APIs
Fingerprint Embed
Extract a temporal knowledge graph (entities, time anchors, causal relations) from the given content and embed a deterministic zero-width Unicode watermark seeded by that TKG. Returns the watermarked content alongside the TKG snapshot and a unique fingerprint id for later detection.
POST
/
api
/
v1
/
fingerprint
/
embed
Fingerprint Embed
curl --request POST \
--url https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"content_type": "news",
"metadata": {
"author_id": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"source_id": "<string>"
}
}
'import requests
url = "https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed"
payload = {
"url": "<string>",
"content_type": "news",
"metadata": {
"author_id": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"source_id": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: '<string>',
content_type: 'news',
metadata: {
author_id: '<string>',
published_at: '2023-11-07T05:31:56Z',
source_id: '<string>'
}
})
};
fetch('https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed', 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://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>',
'content_type' => 'news',
'metadata' => [
'author_id' => '<string>',
'published_at' => '2023-11-07T05:31:56Z',
'source_id' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ca-factagora-search.kindsea-5b0dfb7c.eastus.azurecontainerapps.io/api/v1/fingerprint/embed")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\",\n \"content_type\": \"news\",\n \"metadata\": {\n \"author_id\": \"<string>\",\n \"published_at\": \"2023-11-07T05:31:56Z\",\n \"source_id\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"watermarked_content": "<string>",
"fingerprint_id": "<string>",
"tkg_snapshot": {
"entities": [
"<string>"
],
"timeseries": [
"<string>"
],
"relations": [
{
"from": "<string>",
"rel": "<string>",
"to": "<string>"
}
],
"argument_map": [
{
"premise": "<string>",
"evidence": "<string>",
"conclusion": "<string>"
}
]
},
"embed_timestamp": "2023-11-07T05:31:56Z",
"meta": {
"executionTimeMs": 123
}
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}{
"error": "<string>",
"message": "<string>",
"statusCode": 123
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Fingerprint embedded successfully
Original content with TKG-seeded zero-width Unicode watermark embedded
Unique fingerprint identifier (fp_*)
Show child attributes
Show child attributes
ISO 8601 timestamp of fingerprint embedding
Show child attributes
Show child attributes
Was this page helpful?
⌘I

