Subagent efficiency over the turn trace (last 31 days)
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"daterange": [
"<string>"
],
"range": 123
}
'import requests
url = "https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency"
payload = {
"institution": "<string>",
"account": "<string>",
"daterange": ["<string>"],
"range": 123
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
institution: '<string>',
account: '<string>',
daterange: ['<string>'],
range: 123
})
};
fetch('https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency', 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/admin/histories/charts/subagent-efficiency",
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([
'institution' => '<string>',
'account' => '<string>',
'daterange' => [
'<string>'
],
'range' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency"
payload := strings.NewReader("{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"window": {
"start": "<string>",
"end": "<string>",
"clamped": true,
"maxDays": 123,
"rowCap": 123
},
"coverage": {
"tracedTurns": 123,
"conductedTurns": 123
},
"groups": [
{}
],
"roles": [
{}
]
}Admin Histories
Subagent efficiency over the turn trace (last 31 days)
Aggregates history.turnTrace — the timing / effort record of every conducted turn — per conductor model × mode × surface (turns, p50 / p90 turn time, conductor wall and wait ratio, rounds, tool calls, tokens, credits, synthesis source mix, worker counts, refusals / retries / steers / follow-ups) and per worker role (queue, first-token, first-tool and tool-time medians, duration p50 / p90, rounds, outcomes). Same scope rules as user-stats (an institution admin sees their twin); the window is clamped to 31 days; at most 5000 rows feed each aggregation. coverage reports how many conducted turns in the window carried a trace.
POST
/
api
/
admin
/
histories
/
charts
/
subagent-efficiency
Subagent efficiency over the turn trace (last 31 days)
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"daterange": [
"<string>"
],
"range": 123
}
'import requests
url = "https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency"
payload = {
"institution": "<string>",
"account": "<string>",
"daterange": ["<string>"],
"range": 123
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
institution: '<string>',
account: '<string>',
daterange: ['<string>'],
range: 123
})
};
fetch('https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency', 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/admin/histories/charts/subagent-efficiency",
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([
'institution' => '<string>',
'account' => '<string>',
'daterange' => [
'<string>'
],
'range' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency"
payload := strings.NewReader("{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/admin/histories/charts/subagent-efficiency")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"institution\": \"<string>\",\n \"account\": \"<string>\",\n \"daterange\": [\n \"<string>\"\n ],\n \"range\": 123\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"window": {
"start": "<string>",
"end": "<string>",
"clamped": true,
"maxDays": 123,
"rowCap": 123
},
"coverage": {
"tracedTurns": 123,
"conductedTurns": 123
},
"groups": [
{}
],
"roles": [
{}
]
}Authorizations
JWT token passed in x-access-token header
Body
application/json
Was this page helpful?