Twin Home β a Digital Twin's week at a glance (twin admins)
curl --request GET \
--url https://pria.praxislxp.com/api/user/twin-home/{institutionId} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/twin-home/{institutionId}"
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/twin-home/{institutionId}', 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/twin-home/{institutionId}",
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/twin-home/{institutionId}"
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/twin-home/{institutionId}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/twin-home/{institutionId}")
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{
"success": true,
"data": {
"twin": {
"_id": "<string>",
"name": "<string>",
"ainame": "RAI",
"picture": "<string>",
"status": "<string>"
},
"activity": {
"days": [
{
"date": "2026-09-28",
"count": 123,
"credits": 123,
"people": 123
}
],
"thisWeek": {
"conversations": 123,
"people": 123,
"credits": 123
},
"lastWeek": {
"conversations": 123,
"people": 123,
"credits": 123
},
"stale": true
},
"credits": {
"pooled": true,
"left": 123,
"burnPerDay": 123,
"runwayDays": 123,
"low": true
},
"satisfaction": {
"up": 123,
"down": 123,
"windowDays": 30
},
"attention": {
"reviewOpen": 123,
"feedbackOpen": 123,
"creditsLow": true
},
"checklist": [
{
"id": "identity",
"label": "<string>",
"done": true,
"section": "identity"
}
],
"seededAt": "2023-11-07T05:31:56Z",
"seeding": true
}
}User
Twin Home β a Digital Twin's week at a glance (twin admins)
Activity (30 UTC days; this week vs last week), credits left and runway, satisfaction (π vs π over 30 days), needs-attention counts and the launch checklist.
- Requires
histories.liston the twin (supers pass). The feedback count additionally needsfeedbacks.list; without itattention.feedbackOpenisnull. - Activity uses the daily rollup (the same source as the Histories charts) plus a live
count for the days the rollup has not reached (at most 3);
activity.staleis true when the rollup is further behind. Weekly people are distinct across the week. - The first request for a twin starts a one-time background collection of its past
ratings and βcouldnβt answerβ replies (last 90 days, newest 5,000 conversations);
seedingis true while it runs.
GET
/
api
/
user
/
twin-home
/
{institutionId}
Twin Home β a Digital Twin's week at a glance (twin admins)
curl --request GET \
--url https://pria.praxislxp.com/api/user/twin-home/{institutionId} \
--header 'x-access-token: <api-key>'import requests
url = "https://pria.praxislxp.com/api/user/twin-home/{institutionId}"
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/twin-home/{institutionId}', 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/twin-home/{institutionId}",
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/twin-home/{institutionId}"
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/twin-home/{institutionId}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/twin-home/{institutionId}")
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{
"success": true,
"data": {
"twin": {
"_id": "<string>",
"name": "<string>",
"ainame": "RAI",
"picture": "<string>",
"status": "<string>"
},
"activity": {
"days": [
{
"date": "2026-09-28",
"count": 123,
"credits": 123,
"people": 123
}
],
"thisWeek": {
"conversations": 123,
"people": 123,
"credits": 123
},
"lastWeek": {
"conversations": 123,
"people": 123,
"credits": 123
},
"stale": true
},
"credits": {
"pooled": true,
"left": 123,
"burnPerDay": 123,
"runwayDays": 123,
"low": true
},
"satisfaction": {
"up": 123,
"down": 123,
"windowDays": 30
},
"attention": {
"reviewOpen": 123,
"feedbackOpen": 123,
"creditsLow": true
},
"checklist": [
{
"id": "identity",
"label": "<string>",
"done": true,
"section": "identity"
}
],
"seededAt": "2023-11-07T05:31:56Z",
"seeding": true
}
}Was this page helpful?