Join proposals and failed joins (the Seams panel)
Every join Nemotron proposed, the match rate Zetaris SQL measured for it, and whether it was accepted or refused. Failed joins come from Zetaris DQ results (SHOW DQ ALL INVALID TABLE).
GET
/
runs
/
{id}
/
joins
Join proposals and failed joins (the Seams panel)
curl --request GET \
--url https://api.example.com/runs/{id}/joins \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/runs/{id}/joins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/runs/{id}/joins', 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.example.com/runs/{id}/joins",
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.example.com/runs/{id}/joins"
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.example.com/runs/{id}/joins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/runs/{id}/joins")
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{
"proposals": [
{
"id": "<string>",
"from_key": "ccn",
"to_key": "ccn",
"method": "<unknown>",
"status": "proposed",
"from_table": "<string>",
"to_table": "<string>",
"measured_match_rate": 123,
"fan_out": 123,
"threshold": 123,
"seen_before": true,
"query_id": "<string>"
}
],
"failed": [
{
"from_key": "ccn",
"to_key": "ccn",
"method": "<unknown>",
"reason": "address could not be geocoded",
"row_count": 123,
"query_id": "<string>"
}
]
}{
"error": {
"code": "not_found",
"message": "<string>",
"detail": "<unknown>",
"retry_after_ms": 123
}
}Authorizations
⌘I
Join proposals and failed joins (the Seams panel)
curl --request GET \
--url https://api.example.com/runs/{id}/joins \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/runs/{id}/joins"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/runs/{id}/joins', 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.example.com/runs/{id}/joins",
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.example.com/runs/{id}/joins"
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.example.com/runs/{id}/joins")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/runs/{id}/joins")
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{
"proposals": [
{
"id": "<string>",
"from_key": "ccn",
"to_key": "ccn",
"method": "<unknown>",
"status": "proposed",
"from_table": "<string>",
"to_table": "<string>",
"measured_match_rate": 123,
"fan_out": 123,
"threshold": 123,
"seen_before": true,
"query_id": "<string>"
}
],
"failed": [
{
"from_key": "ccn",
"to_key": "ccn",
"method": "<unknown>",
"reason": "address could not be geocoded",
"row_count": 123,
"query_id": "<string>"
}
]
}{
"error": {
"code": "not_found",
"message": "<string>",
"detail": "<unknown>",
"retry_after_ms": 123
}
}