Read-only funnel diagnostic for a Digital Twin's KAG backfill quote
curl --request GET \
--url https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose', 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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose",
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-access-token: <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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"extractionVersion": "<string>",
"totalUploads": 123,
"uploadStatusBreakdown": {},
"eligibleUploads": 123,
"eligibleWithEmbeddings": 123,
"eligibleWithGraphV2DoneJob": 123,
"pendingWithEmbeddings": 123,
"graphV2JobsForInstitution": 123,
"graphV2JobStatusBreakdown": {}
}User Profile
Read-only funnel diagnostic for a Digital Twin's KAG backfill quote
Explains why the backfill quote is what it is by returning the full funnel (counts only, no mutation): total uploads → eligible (status + user) → embedded (RAG-ready) → with a completed graph-v2 job → pending. Also breaks down upload statuses and graph-v2 job statuses so an admin can reconcile the quote against the status endpoint’s chunk totals.
GET
/
api
/
user
/
institution
/
{id}
/
kag
/
backfill-diagnose
Read-only funnel diagnostic for a Digital Twin's KAG backfill quote
curl --request GET \
--url https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose', 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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose",
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-access-token: <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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/institution/{id}/kag/backfill-diagnose")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"extractionVersion": "<string>",
"totalUploads": 123,
"uploadStatusBreakdown": {},
"eligibleUploads": 123,
"eligibleWithEmbeddings": 123,
"eligibleWithGraphV2DoneJob": 123,
"pendingWithEmbeddings": 123,
"graphV2JobsForInstitution": 123,
"graphV2JobStatusBreakdown": {}
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Institution (Digital Twin) id
Response
Funnel counts
Show child attributes
Show child attributes
Equals backfill-quote.unprocessedFiles
Show child attributes
Show child attributes
Was this page helpful?
Estimate cost of processing a Digital Twin's files through KAG extractionStart (or resume) KAG backfill for a Digital Twin's vault
⌘I