Get persona detail for a user
curl --request GET \
--url https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail \
--header 'X-API-Key: <api-key>'import requests
url = "https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail', 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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail",
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-API-Key: <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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schema_version": "<string>",
"identity_persona": {},
"user_info": {
"name": "<string>",
"job_title": "<string>",
"user_groups": [
{
"group_name": "<string>"
}
],
"top_collaborators": [
{
"name": "<string>",
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"persona_summary": {
"persona_description": "<string>",
"attributes": [
{
"stat_name": "<string>",
"value": "<unknown>",
"type": "tags",
"units": "<string>"
}
]
},
"cluster_spines": [
{
"spine": "<string>",
"cluster_name": "<string>",
"member_count": 123,
"tier": "<string>",
"reasoning": "<string>",
"signals_cited": [
{}
]
}
],
"case_status": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"last_updated": "2023-11-07T05:31:56Z"
},
"watchlist": {
"reason": "<string>",
"group_name": "<string>",
"group_description": "<string>",
"added_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
},
"drift_drivers": {
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_date": "2023-12-25",
"magnitude": 123,
"cume_dist": 123,
"flagged": true,
"cohort_group": "<string>",
"drivers": [
{
"signal": "<string>",
"label": "<string>",
"description": "<string>",
"unit": "<string>",
"unit_label": "<string>",
"category": "<string>",
"pattern": "<string>",
"peer_pct": 123,
"change_pct": 123,
"tempo": "<string>",
"baseline": 123,
"recent": 123,
"cohort_group": "<string>",
"peer_count": 123,
"peer_values": [
123
],
"window_means": {},
"series": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
]
}
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"resource": "<string>",
"message": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}Personas
Get persona detail for a user
What the TOTAL persona page shows for this user: the generated
persona, profile facts, cluster memberships, watchlist status, drift
drivers, and, for keys with cases:read, the open case. Tabs your
domain hides in TOTAL are left out here too.
identity_persona is returned as generated; read its shape from
schema_version.
GET
/
personas
/
{tuid}
/
detail
Get persona detail for a user
curl --request GET \
--url https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail \
--header 'X-API-Key: <api-key>'import requests
url = "https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail', 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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail",
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-API-Key: <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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://eris.platform.total.truu.ai/api/v1/external/personas/{tuid}/detail")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schema_version": "<string>",
"identity_persona": {},
"user_info": {
"name": "<string>",
"job_title": "<string>",
"user_groups": [
{
"group_name": "<string>"
}
],
"top_collaborators": [
{
"name": "<string>",
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
},
"persona_summary": {
"persona_description": "<string>",
"attributes": [
{
"stat_name": "<string>",
"value": "<unknown>",
"type": "tags",
"units": "<string>"
}
]
},
"cluster_spines": [
{
"spine": "<string>",
"cluster_name": "<string>",
"member_count": 123,
"tier": "<string>",
"reasoning": "<string>",
"signals_cited": [
{}
]
}
],
"case_status": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"last_updated": "2023-11-07T05:31:56Z"
},
"watchlist": {
"reason": "<string>",
"group_name": "<string>",
"group_description": "<string>",
"added_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
},
"drift_drivers": {
"tuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_date": "2023-12-25",
"magnitude": 123,
"cume_dist": 123,
"flagged": true,
"cohort_group": "<string>",
"drivers": [
{
"signal": "<string>",
"label": "<string>",
"description": "<string>",
"unit": "<string>",
"unit_label": "<string>",
"category": "<string>",
"pattern": "<string>",
"peer_pct": 123,
"change_pct": 123,
"tempo": "<string>",
"baseline": 123,
"recent": 123,
"cohort_group": "<string>",
"peer_count": 123,
"peer_values": [
123
],
"window_means": {},
"series": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
]
}
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}{
"error": "<string>",
"resource": "<string>",
"message": "<string>"
}{
"error": "<string>",
"details": [
{
"loc": [
"<unknown>"
],
"msg": "<string>",
"type": "<string>"
}
],
"request_id": "<string>"
}Authorizations
Response
Persona detail (persona fields null when none has been generated yet), or a placeholder when the user is unknown
- Option 1
- Option 2
What the TOTAL persona page shows for this user. A tab your domain hides in TOTAL is left out here too: the identity_persona sections only it shows, or drift_drivers for the drift tab.
Was this page helpful?

